2 // **********************************************************************
3 // The Cheat - A universal game cheater for Mac OS X
4 // (C) 2003-2005 Chaz McGarvey (BrokenZipper)
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)
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.
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.
21 #ifndef _cheat_shared_H
22 #define _cheat_shared_H
26 #define TCDefaultListenPort ( 51835 )
27 #define TCUpdateCheckURL ( @"http://www.brokenzipper.com/software.plist" )
29 #define TCDefaultFadeAnimation (0.15)
33 float extern gFadeAnimationDuration
;
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
;
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
;
66 NSString
*ApplicationVersion( NSString
*appPath
);