]> Dogcows Code - chaz/thecheat/blob - cheat_globals.h
The Cheat 1.1.1
[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 (51835)
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 (100)
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 TCGlobalUpdateCheck;
30 char extern TCGlobalAllowRemote;
31 int extern TCGlobalListenPort;
32 #define TCGlobalBroadcastName ([[NSUserDefaults standardUserDefaults] objectForKey:TCBroadcastNamePref])
33 int extern TCGlobalHitsDisplayed;
34
35 NSString extern *TCPlaySoundsPref;
36 NSString extern *TCWindowsOnTopPref;
37 NSString extern *TCUpdateCheckPref;
38 NSString extern *TCAllowRemotePref;
39 NSString extern *TCListenPortPref;
40 NSString extern *TCBroadcastNamePref;
41 NSString extern *TCHitsDisplayedPref;
42
43 #endif
44
This page took 0.030633 seconds and 4 git commands to generate.