mirror of https://github.com/OpenTTD/OpenTTD
Fix: remove ScriptController constructor from API documentation
parent
67a4c5e0db
commit
e06a666fa2
|
@ -48,6 +48,7 @@ class ScriptController {
|
||||||
friend class ScriptInstance;
|
friend class ScriptInstance;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
#ifndef DOXYGEN_API
|
||||||
/**
|
/**
|
||||||
* Initializer of the ScriptController.
|
* Initializer of the ScriptController.
|
||||||
* @param company The company this Script is normally serving.
|
* @param company The company this Script is normally serving.
|
||||||
|
@ -59,6 +60,7 @@ public:
|
||||||
*/
|
*/
|
||||||
~ScriptController();
|
~ScriptController();
|
||||||
|
|
||||||
|
#else
|
||||||
/**
|
/**
|
||||||
* This function is called to start your script. Your script starts here. If you
|
* This function is called to start your script. Your script starts here. If you
|
||||||
* return from this function, your script dies, so make sure that doesn't
|
* return from this function, your script dies, so make sure that doesn't
|
||||||
|
@ -67,7 +69,6 @@ public:
|
||||||
*/
|
*/
|
||||||
void Start();
|
void Start();
|
||||||
|
|
||||||
#ifdef DOXYGEN_API
|
|
||||||
/**
|
/**
|
||||||
* Save the state of the script.
|
* Save the state of the script.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue