Subversion Repositories Games.Chess Giants

Rev

Rev 140 | Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 140 Rev 147
Line 5... Line 5...
5
 
5
 
6
 
6
 
7
// common definitions
7
// common definitions
8
#define PROGRAM_NAME L"Chess Giants"
8
#define PROGRAM_NAME L"Chess Giants"
9
#define DEMO_TIMEOUT (6.0f * 60.0f)
9
#define DEMO_TIMEOUT (6.0f * 60.0f)
10
//#define PROGRAM_VERSION L"2.8" // no longer used. Version comes in the form YYYYMMDD and is built in dialog_about.cpp
-
 
11
#define PROGRAM_COPYRIGHT L"© 2010-2015"
-
 
12
#define PROGRAM_URL L"http://www.pmbaty.com/chess"
10
#define PROGRAM_URL L"http://www.pmbaty.com/chess"
13
#define AUTHOR_NAME L"Pierre-Marie Baty"
-
 
14
#define AUTHOR_EMAIL L"pm@pmbaty.com"
11
#define AUTHOR_EMAIL L"pm@pmbaty.com"
15
///////////////////////
-
 
16
// PayPal stuff - BEGIN
-
 
17
#define PAYPAL_BUTTONID_FR L"DC5JKRXQQFNKQ" // french version of the button
12
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
18
#define PAYPAL_BUTTONID_XX L"XEQFUPRM5WN68" // english and other languages
13
// PayPal stuff - BEGIN                                                                      <-button ID->            <--------notify URL------->        <---------return URL-------->
19
#define PAYPAL_NOTIFYURL PROGRAM_URL L"/notify.php"
-
 
20
#define PAYPAL_RETURNURL PROGRAM_URL L"/thankyou.php"
-
 
21
#define PAYPAL_URL_FR L"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=" PAYPAL_BUTTONID_FR L"&notify_url=" PAYPAL_NOTIFYURL L"&return=" PAYPAL_RETURNURL
14
#define PAYPAL_URL_FR L"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DC5JKRXQQFNKQ&notify_url=" PROGRAM_URL L"/notify.php&return=" PROGRAM_URL L"/thankyou.php" // french
22
#define PAYPAL_URL_XX L"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=" PAYPAL_BUTTONID_XX L"&notify_url=" PAYPAL_NOTIFYURL L"&return=" PAYPAL_RETURNURL
15
#define PAYPAL_URL_XX L"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XEQFUPRM5WN68&notify_url=" PROGRAM_URL L"/notify.php&return=" PROGRAM_URL L"/thankyou.php" // rest of the world
23
#define NOPAYPAL_URL PROGRAM_URL L"/nopaypal.php"
-
 
24
// PayPal stuff - END
16
// PayPal stuff - END
25
/////////////////////
17
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
26
#define ACCOUNTCREATION_URL L"http://www.freechess.org/cgi-bin/Register/FICS_register.cgi?Language=%s"
18
#define ACCOUNTCREATION_URL L"http://www.freechess.org/cgi-bin/Register/FICS_register.cgi?Language=%s"
27
#define MAX_STACKABLE_PARTS 7
19
#define MAX_STACKABLE_PARTS 7
28
#define MAX_PITCH_FOR_FLAT_ICONS 75.0f
20
#define MAX_PITCH_FOR_FLAT_ICONS 75.0f
29
#define CLOSEUP_VIEW_DISTANCE 40.0f
21
#define CLOSEUP_VIEW_DISTANCE 40.0f
30
#define CLOSEUP_VIEW_PITCH 6.0f
22
#define CLOSEUP_VIEW_PITCH 6.0f