]> Dogcows Code - chaz/thecheat/blob - cheat_globals.h
The Cheat 1.0b4
[chaz/thecheat] / cheat_globals.h
1
2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 // Project: The Cheat
4 //
5 // File: cheat_globals.h
6 // Created: Fri Sep 19 2003
7 //
8 // Copyright: 2003 Chaz McGarvey. All rights reserved.
9 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
11 #ifndef _cheat_globals_H
12 #define _cheat_globals_H
13
14 #import <Cocoa/Cocoa.h>
15
16 #define TCDefaultListenPort (5007)
17 //#define TCDefaultListenPath "/tmp/com.brokenzipper.TheCheat"
18 // this path alone would work, but it *should* go in the user's home directory
19 char extern TCDefaultListenPath[104];
20
21 #define TCMaxSearchResults (100000)
22
23 int extern TCGlobalDocumentCount;
24 int extern TCGlobalAlternateBroadcastNameCount;
25 char extern TCGlobalListening;
26
27 char extern TCGlobalPlaySounds;
28 char extern TCGlobalWindowsOnTop;
29 char extern TCGlobalAllowRemote;
30 int extern TCGlobalListenPort;
31 #define TCGlobalBroadcastName ([[NSUserDefaults standardUserDefaults] objectForKey:TCBroadcastNamePref])
32
33 NSString extern *TCPlaySoundsPref;
34 NSString extern *TCWindowsOnTopPref;
35 NSString extern *TCAllowRemotePref;
36 NSString extern *TCListenPortPref;
37 NSString extern *TCBroadcastNamePref;
38
39 #endif
40
This page took 0.031462 seconds and 4 git commands to generate.