mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
MacOS platform support.
This commit is contained in:
parent
57dfeb829a
commit
dd64004eaf
89 changed files with 1228 additions and 5098 deletions
|
|
@ -43,17 +43,6 @@ extern void createFontShutdown(void);
|
|||
|
||||
static HashTable<StringTableEntry,StringTableEntry> gSecureScript;
|
||||
|
||||
#ifdef TORQUE_OS_MAC
|
||||
|
||||
// ObjC hooks for shared library support
|
||||
// See: macMain.mm
|
||||
|
||||
void torque_mac_engineinit(S32 argc, const char **argv);
|
||||
void torque_mac_enginetick();
|
||||
void torque_mac_engineshutdown();
|
||||
|
||||
#endif
|
||||
|
||||
extern bool LinkConsoleFunctions;
|
||||
|
||||
extern "C" {
|
||||
|
|
@ -78,10 +67,6 @@ extern "C" {
|
|||
createFontInit();
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef TORQUE_OS_MAC
|
||||
torque_mac_engineinit(argc, argv);
|
||||
#endif
|
||||
// Initialize the subsystems.
|
||||
StandardMainLoop::init();
|
||||
|
||||
|
|
@ -113,11 +98,6 @@ extern "C" {
|
|||
__try {
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef TORQUE_OS_MAC
|
||||
torque_mac_enginetick();
|
||||
#endif
|
||||
|
||||
bool ret = StandardMainLoop::doMainLoop();
|
||||
return ret;
|
||||
|
||||
|
|
@ -159,10 +139,6 @@ extern "C" {
|
|||
createFontShutdown();
|
||||
#endif
|
||||
|
||||
#ifdef TORQUE_OS_MAC
|
||||
torque_mac_engineshutdown();
|
||||
#endif
|
||||
|
||||
#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue