hedgewars/SDLMain.h
author nemo
Mon, 24 Dec 2012 12:52:14 -0500
changeset 8326 023a71940f26
parent 2565 54296af65fe9
permissions -rw-r--r--
Don't play sounds in chat if sound is disabled, try to prevent sound crashes by checking for audio init failure.
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_ */