hedgewars/SDLMain.h
author koda
Sat, 06 Aug 2011 07:09:30 +0200
changeset 5505 a55aab592950
parent 2565 54296af65fe9
permissions -rw-r--r--
Ditch the renderer system in sdl1.3 and use the 'old fashioned' sdl/opengl context. This gives us more flexibility and less problem in receiving video events (expecially on mobile platform) as well as not having to care to reset the gl context every time sdl interferes. This is a major sdl1.3 update so it should be tested with care (working great on ios)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1999
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     1
/*   SDLMain.m - main entry point for our Cocoa-ized SDL app
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     2
       Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     3
       Non-NIB-Code & other changes: Max Horn <max@quendi.de>
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     4
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     5
    Feel free to customize this file to suit your needs
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     6
*/
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
     7
2565
54296af65fe9 update sdlmain files to 1.2.14
koda
parents: 1999
diff changeset
     8
#ifndef _SDLMain_h_
54296af65fe9 update sdlmain files to 1.2.14
koda
parents: 1999
diff changeset
     9
#define _SDLMain_h_
54296af65fe9 update sdlmain files to 1.2.14
koda
parents: 1999
diff changeset
    10
1999
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
    11
#import <Cocoa/Cocoa.h>
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
    12
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
    13
@interface SDLMain : NSObject
a28dcfe658e3 Commit part of koda's patch which applies cleanly:
unc0rr
parents:
diff changeset
    14
@end
2565
54296af65fe9 update sdlmain files to 1.2.14
koda
parents: 1999
diff changeset
    15
54296af65fe9 update sdlmain files to 1.2.14
koda
parents: 1999
diff changeset
    16
#endif /* _SDLMain_h_ */