OpenTTD GameScript API 20241221-master-g2176d49a39
|
Class to switch current mode to Execute Mode. More...
#include <script_execmode.hpp>
Public Member Functions | |
GSExecMode () | |
Creating instance of this class switches the build mode to Execute. | |
Class to switch current mode to Execute Mode.
If you create an instance of this class, the mode will be switched to Execute. The original mode is stored and recovered from when ever the instance is destroyed. In Execute mode all commands you do are executed for real.
GSExecMode::GSExecMode | ( | ) |
Creating instance of this class switches the build mode to Execute.