Important: always custom code should be added to disable error sounds because of SDL_ENABLEAPPEVENTS - after keys pressing (see code below "ADDED SO IT DOESN'T BEEP BECAUSE WE ENABLE SDL_ENABLEAPPEVENTS" comment).
17 lines
374 B
Objective-C
17 lines
374 B
Objective-C
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
|
|
Initial Version: Darrell Walisser <[email protected]>
|
|
Non-NIB-Code & other changes: Max Horn <[email protected]>
|
|
|
|
Feel free to customize this file to suit your needs
|
|
*/
|
|
|
|
#ifndef _SDLMain_h_
|
|
#define _SDLMain_h_
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface SDLMain : NSObject
|
|
@end
|
|
|
|
#endif /* _SDLMain_h_ */
|