mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
Get rid of applicationDidFinishLaunching()
SDL already implements this for us and the assert()s are already part of idlib.
This commit is contained in:
parent
ec0f836f41
commit
23752a2cd2
1 changed files with 0 additions and 11 deletions
|
@ -81,17 +81,6 @@ FPU_EXCEPTION_DIVIDE_BY_ZERO | \
|
|||
|
||||
#define MAX_ARGC 1024
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)notification;
|
||||
{
|
||||
NS_DURING {
|
||||
NSAssert(sizeof(bool) == 1, @"sizeof(bool) should equal 1 byte");
|
||||
[self quakeMain];
|
||||
} NS_HANDLER {
|
||||
Sys_Error( (const char *)[ [ localException reason ] cString ] );
|
||||
} NS_ENDHANDLER;
|
||||
Sys_Quit();
|
||||
}
|
||||
|
||||
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender
|
||||
{
|
||||
common->Quit();
|
||||
|
|
Loading…
Reference in a new issue