Rev 21 | Rev 41 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 25 | ||
---|---|---|---|
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. |
10 | #define PROGRAM_VERSION L"2.4" |
11 | #define PROGRAM_COPYRIGHT L"© 2010-2014" |
11 | #define PROGRAM_COPYRIGHT L"© 2010-2014" |
12 | #define PROGRAM_URL L"http://www.pmbaty.com/chess" |
12 | #define PROGRAM_URL L"http://www.pmbaty.com/chess" |
13 | #define AUTHOR_NAME L"Pierre-Marie Baty" |
13 | #define AUTHOR_NAME L"Pierre-Marie Baty" |
14 | #define AUTHOR_EMAIL L"pm@pmbaty.com" |
14 | #define AUTHOR_EMAIL L"pm@pmbaty.com" |
15 | /////////////////////// |
15 | /////////////////////// |
Line 20... | Line 20... | ||
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 |
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" |
21 | #define NOPAYPAL_URL PROGRAM_URL L"/nopaypal.php" |
22 | // PayPal stuff - END |
22 | // PayPal stuff - END |
23 | ///////////////////// |
23 | ///////////////////// |
24 | #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" |
25 | #define MAX_STACKABLE_PARTS |
25 | #define MAX_STACKABLE_PARTS 7 |
26 | #define MAX_PITCH_FOR_FLAT_ICONS 75.0f |
26 | #define MAX_PITCH_FOR_FLAT_ICONS 75.0f |
27 | #define ANIMATION_DURATION 1.0f |
27 | #define ANIMATION_DURATION 1.0f |
28 | #define WCHAR_SIZEOF(a) (sizeof (a) / sizeof (wchar_t)) |
28 | #define WCHAR_SIZEOF(a) (sizeof (a) / sizeof (wchar_t)) |
29 | #define LOCALIZE(a) LocalizedTexts_GetLocalizedTextFor (a) |
29 | #define LOCALIZE(a) LocalizedTexts_GetLocalizedTextFor (a) |
30 | #define IS_VALID_POSITION(pos) (((pos)[0] >= 0) && ((pos)[0] < 8) && ((pos)[1] >= 0) && ((pos)[1] < 8)) |
30 | #define IS_VALID_POSITION(pos) (((pos)[0] >= 0) && ((pos)[0] < 8) && ((pos)[1] >= 0) && ((pos)[1] < 8)) |