shutdown the engine
| 126 | |
| 127 | // shutdown the engine |
| 128 | S32 torque_engineshutdown() |
| 129 | { |
| 130 | |
| 131 | #if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE ) |
| 132 | __try { |
| 133 | #endif |
| 134 | |
| 135 | // Clean everything up. |
| 136 | StandardMainLoop::shutdown(); |
| 137 | |
| 138 | #if !defined(TORQUE_OS_XENON) && !defined(TORQUE_OS_PS3) && defined(_MSC_VER) |
| 139 | createFontShutdown(); |
| 140 | #endif |
| 141 | |
| 142 | #if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE ) |
| 143 | } |
| 144 | |
| 145 | __except( CreateMiniDump(GetExceptionInformation()) ) |
| 146 | { |
| 147 | _exit(0); |
| 148 | } |
| 149 | #endif |
| 150 | |
| 151 | // Return. |
| 152 | return true; |
| 153 | |
| 154 | } |
| 155 | |
| 156 | bool torque_isdebugbuild() |
| 157 | { |
no test coverage detected