Add support for replacing the main.tscript file with a specified Console Function

This commit is contained in:
Lukas Aldershaab 2023-10-08 23:16:43 +02:00 committed by Brian Roberts
parent bcea9bfc3a
commit df8041e689
3 changed files with 11 additions and 1 deletions

View file

@ -87,6 +87,9 @@
/// Define the default extension to be used for TorqueScript files
#cmakedefine TORQUE_SCRIPT_EXTENSION "@TORQUE_SCRIPT_EXTENSION@"
/// Specify a console function to execute instead of looking for a main.tscript file
#cmakedefine TORQUE_ENTRY_FUNCTION "@TORQUE_ENTRY_FUNCTION@"
// Define me if this build is a tools build
#cmakedefine TORQUE_PLAYER