Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/kicklib/src/OrxonoxMac.mm @ 8129

Last change on this file since 8129 was 8129, checked in by rgrieder, 13 years ago

Merged new revisions (8083 - 8125) from mac_osx to kicklib branch.

File size: 520 bytes
Line 
1//
2//  OrxonoxMac.mm
3//  Orxonox
4//
5//  Created by Kevin Jonas Young on 14.03.11.
6//  Copyright 2011 -. All rights reserved.
7//
8
9#import "OrxonoxMac.h"
10
11static int argc_s = 0;
12static char** argv_s = 0;
13
14int main(int argc, char** argv)
15{
16    argc_s = argc;
17    argv_s = argv;
18   
19    int retVal = NSApplicationMain(argc, (const char**)argv);
20   
21    return retVal;
22}
23
24@implementation OrxonoxAppDelegate
25
26- (void)applicationDidFinishLaunching:(NSNotification *)notification
27{
28    exit(main_mac(argc_s, argv_s));
29}
30
31@end
Note: See TracBrowser for help on using the repository browser.