Rev 10 | Rev 19 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10 | Rev 14 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | #ifndef DEFINES_H |
3 | #ifndef DEFINES_H |
4 | #define DEFINES_H |
4 | #define DEFINES_H |
5 | 5 | ||
6 | 6 | ||
7 | // common definitions |
7 | // common definitions |
8 | #ifndef DEMO |
- | |
9 | #define PROGRAM_NAME L"Chess Giants" |
8 | #define PROGRAM_NAME L"Chess Giants" |
10 | #else |
- | |
11 | #define PROGRAM_NAME L"Chess Giants (Evaluation version)" |
- | |
12 | #define DEMO_TIMEOUT (6.0f * 60.0f) |
9 | #define DEMO_TIMEOUT (6.0f * 60.0f) |
13 | #endif // DEMO |
- | |
14 | #define PROGRAM_VERSION L"2.2" |
10 | #define PROGRAM_VERSION L"2.2" |
15 | #define PROGRAM_COPYRIGHT L"© 2010-2014" |
11 | #define PROGRAM_COPYRIGHT L"© 2010-2014" |
16 | #define PROGRAM_URL L"http://www.pmbaty.com/chess" |
12 | #define PROGRAM_URL L"http://www.pmbaty.com/chess" |
17 | #define AUTHOR_NAME L"Pierre-Marie Baty" |
13 | #define AUTHOR_NAME L"Pierre-Marie Baty" |
18 | #define AUTHOR_EMAIL L"pm@pmbaty.com" |
14 | #define AUTHOR_EMAIL L"pm@pmbaty.com" |
- | 15 | /////////////////////// |
|
- | 16 | // PayPal stuff - BEGIN |
|
- | 17 | #define PAYPAL_BUTTONID L"DC5JKRXQQFNKQ" |
|
- | 18 | #define PAYPAL_NOTIFYURL PROGRAM_URL L"/notify.php" |
|
- | 19 | #define PAYPAL_RETURNURL PROGRAM_URL L"/thankyou.php" |
|
- | 20 | #define PAYPAL_URL L"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=" PAYPAL_BUTTONID L"¬ify_url=" PAYPAL_NOTIFYURL L"&return=" PAYPAL_RETURNURL |
|
- | 21 | #define NOPAYPAL_URL PROGRAM_URL L"/nopaypal.php" |
|
- | 22 | // PayPal stuff - END |
|
- | 23 | ///////////////////// |
|
19 | #define ACCOUNTCREATION_URL L"http://www.freechess.org/cgi-bin/Register/FICS_register.cgi?Language=%s" |
24 | #define ACCOUNTCREATION_URL L"http://www.freechess.org/cgi-bin/Register/FICS_register.cgi?Language=%s" |
20 | #define MAX_STACKABLE_PARTS 8 |
25 | #define MAX_STACKABLE_PARTS 8 |
21 | #define MAX_PITCH_FOR_FLAT_ICONS 75.0f |
26 | #define MAX_PITCH_FOR_FLAT_ICONS 75.0f |
22 | #define ANIMATION_DURATION 1.0f |
27 | #define ANIMATION_DURATION 1.0f |
23 | #define WCHAR_SIZEOF(a) (sizeof (a) / sizeof (wchar_t)) |
28 | #define WCHAR_SIZEOF(a) (sizeof (a) / sizeof (wchar_t)) |