]> Dogcows Code - chaz/thecheat/blobdiff - cheat_globals.h
The Cheat 1.0b3
[chaz/thecheat] / cheat_globals.h
diff --git a/cheat_globals.h b/cheat_globals.h
new file mode 100644 (file)
index 0000000..03bad61
--- /dev/null
@@ -0,0 +1,40 @@
+
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+// Project:   The Cheat
+//
+// File:      cheat_globals.h
+// Created:   Fri Sep 19 2003
+//
+// Copyright: 2003 Chaz McGarvey.  All rights reserved.
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+#ifndef _cheat_globals_H
+#define _cheat_globals_H
+
+#import <Cocoa/Cocoa.h>
+
+#define                                        TCDefaultListenPort (5007)
+//#define                                      TCDefaultListenPath "/tmp/com.brokenzipper.TheCheat"
+// this path alone would work, but it *should* go in the user's home directory
+char extern                            TCDefaultListenPath[104];
+
+#define                                        TCMaxSearchResults (100000)
+
+int extern                             TCGlobalDocumentCount;
+int extern                             TCGlobalAlternateBroadcastNameCount;
+char extern                            TCGlobalListening;
+
+char extern                            TCGlobalPlaySounds;
+char extern                            TCGlobalWindowsOnTop;
+char extern                            TCGlobalAllowRemote;
+int extern                             TCGlobalListenPort;
+#define                                        TCGlobalBroadcastName ([[NSUserDefaults standardUserDefaults] objectForKey:TCBroadcastNamePref])
+
+NSString extern                        *TCPlaySoundsPref;
+NSString extern                        *TCWindowsOnTopPref;
+NSString extern                        *TCAllowRemotePref;
+NSString extern                        *TCListenPortPref;
+NSString extern                        *TCBroadcastNamePref;
+
+#endif
+
This page took 0.017819 seconds and 4 git commands to generate.