mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge pull request #788 from eightyeight/return-status-code
Allow return status to be specified using quitWithStatus
This commit is contained in:
commit
2f416290ab
13 changed files with 52 additions and 18 deletions
|
|
@ -366,6 +366,7 @@ extern "C"
|
|||
{
|
||||
bool torque_engineinit(S32 argc, const char **argv);
|
||||
S32 torque_enginetick();
|
||||
S32 torque_getreturnstatus();
|
||||
bool torque_engineshutdown();
|
||||
};
|
||||
|
||||
|
|
@ -381,7 +382,7 @@ S32 TorqueMain(int argc, const char **argv)
|
|||
|
||||
torque_engineshutdown();
|
||||
|
||||
return 0;
|
||||
return torque_getreturnstatus();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue