summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/SDLMain.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-09-20 18:30:16 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-09-25 14:32:30 -0700
commit531755379b3126dd9526efeb4e078f6548389e7d (patch)
treefd728f234c13ed0b34a4c335b202aa8a61ca0083 /crawl-ref/source/SDLMain.h
parente5dc9d539523e4efa596ec74e5ac471c188b1f26 (diff)
downloadcrawl-ref-531755379b3126dd9526efeb4e078f6548389e7d.tar.gz
crawl-ref-531755379b3126dd9526efeb4e078f6548389e7d.zip
SDLMain.{h,m}: added for Xcode builds
Mac OS X gets really cranky if you don't use this. Crashes, memory leaks, etc. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/SDLMain.h')
-rw-r--r--crawl-ref/source/SDLMain.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/SDLMain.h b/crawl-ref/source/SDLMain.h
new file mode 100644
index 0000000000..4683df57a5
--- /dev/null
+++ b/crawl-ref/source/SDLMain.h
@@ -0,0 +1,11 @@
+/* SDLMain.m - main entry point for our Cocoa-ized SDL app
+ Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
+ Non-NIB-Code & other changes: Max Horn <max@quendi.de>
+
+ Feel free to customize this file to suit your needs
+*/
+
+#import <Cocoa/Cocoa.h>
+
+@interface SDLMain : NSObject
+@end