]> Dogcows Code - chaz/thecheat/blob - cheat_global.h
The Cheat 1.2
[chaz/thecheat] / cheat_global.h
1
2 // **********************************************************************
3 // The Cheat - A universal game cheater for Mac OS X
4 // (C) 2003-2005 Chaz McGarvey (BrokenZipper)
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 1, or (at your option)
9 // any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 //
20
21 #ifndef _cheat_shared_H
22 #define _cheat_shared_H
23
24
25 // constants
26 #define TCDefaultListenPort ( 51835 )
27 #define TCUpdateCheckURL ( @"http://www.brokenzipper.com/software.plist" )
28
29 #define TCDefaultFadeAnimation (0.15)
30
31
32 // globals
33 float extern gFadeAnimationDuration;
34
35
36 // user default constants
37 NSString extern *TCFirstLaunchPref;
38 NSString extern *TCWindowsOnTopPref;
39 NSString extern *TCUpdateCheckPref;
40 NSString extern *TCDisplayValuesPref;
41 NSString extern *TCValueUpdatePref;
42 NSString extern *TCHitsDisplayedPref;
43 NSString extern *TCRunServerPref;
44 NSString extern *TCBroadcastNamePref;
45 NSString extern *TCListenPortPref;
46 NSString extern *TCFadeAnimationPref;
47 NSString extern *TCAskForSavePref;
48 NSString extern *TCSwitchVariablesPref;
49 NSString extern *TCAutoStartEditingVarsPref;
50
51 // notification constants
52 NSString extern *TCServiceFoundNote;
53 NSString extern *TCServiceRemovedNote;
54 NSString extern *TCServerStartedNote;
55 NSString extern *TCServerStoppedNote;
56 NSString extern *TCServerConnectionsChangedNote;
57 NSString extern *TCWindowsOnTopChangedNote;
58 NSString extern *TCDisplayValuesChangedNote;
59 NSString extern *TCHitsDisplayedChangedNote;
60
61
62 void LaunchWebsite();
63 void LaunchEmail();
64
65 int MacOSXVersion();
66 NSString *ApplicationVersion( NSString *appPath );
67
68
69 #endif
This page took 0.035129 seconds and 5 git commands to generate.