Diff for games/_shared/stshared.c between version 1.1 and 1.2
| version 1.1, 2003/05/11 18:50:35 |
version 1.2, 2003/06/27 21:58:29 |
|
|
| /* $Platon: $ */ |
/* $Platon: games/_shared/stshared.c,v 1.1.1.1 2003/05/11 18:50:35 nepto Exp $ */ |
| |
|
| static void wait_clocks(clock_t clocks, void (*user_fnc)()) |
static void wait_clocks(clock_t clocks, void (*user_fnc)()) |
| { |
{ |
| Line 17 void endstring(const char *s) |
|
| Line 17 void endstring(const char *s) |
|
| BYTE __copyright[] = { |
BYTE __copyright[] = { |
| 0x89,0x9a,0x8d,0x8c,0x96,0x90,0x91,0xaf,0x8d,0x90,0x98,0x8d,0x9e,0x92,0x92, |
0x89,0x9a,0x8d,0x8c,0x96,0x90,0x91,0xaf,0x8d,0x90,0x98,0x8d,0x9e,0x92,0x92, |
| 0x9a,0x9b,0xdf,0x9d,0x86,0xdf,0xb0,0x91,0x9b,0x8d,0x9a,0x95,0xdf,0xb5,0x90, |
0x9a,0x9b,0xdf,0x9d,0x86,0xdf,0xb0,0x91,0x9b,0x8d,0x9a,0x95,0xdf,0xb5,0x90, |
| 0x92,0x9d,0x5e,0x94,0xf2,0xf5,0xd7,0x9c,0xd6,0xdf,0xbc,0x90,0x8f,0x86,0x8d, |
0x92,0x9d,0x5e,0x94,0xf2,0xf5,0xbc,0x90,0x8f,0x86,0x8d,0x96,0x98,0x97,0x8b, |
| 0x96,0x98,0x97,0x8b,0xdf,0xbc,0x90,0x91,0x9b,0x86,0xdf,0x8c,0x90,0x99,0x8b, |
0xdf,0xd7,0x9c,0xd6,0xdf,0xbc,0x90,0x91,0x9b,0x86,0xdf,0x8c,0x90,0x99,0x8b, |
| 0x88,0x9e,0x8d,0x9a,0xdf,0x96,0x91,0x9c,0xd1,0xf2,0xf5,0xbe,0x93,0x93,0xdf, |
0x88,0x9e,0x8d,0x9a,0xdf,0x96,0x91,0x9c,0xd1,0xf2,0xf5,0xbe,0x93,0x93,0xdf, |
| 0x8d,0x96,0x98,0x97,0x8b,0x8c,0xdf,0x8d,0x9a,0x8c,0x9a,0x8d,0x89,0x9a,0x9b, |
0x8d,0x96,0x98,0x97,0x8b,0x8c,0xdf,0x8d,0x9a,0x8c,0x9a,0x8d,0x89,0x9a,0x9b, |
| 0xd1,0x00 |
0xd1,0x00 |
| }; |
}; |
| register int k, len = strlen((char *) __copyright); |
register int k, len = strlen((char *) __copyright); |
| |
const char *appname = strcmp(__APPNAME__, __APPNAMEDEFAULT__) ? __APPNAME__ : s; |
| |
|
| for (k = 0; k < len; k++) |
for (k = 0; k < len; k++) |
| __copyright[k] ^= 0xff; |
__copyright[k] ^= 0xff; |
| /* TODO: ucfirst() on __APPNAME__ */ |
|
| printf("\n%s %.7s %s / %s (%s)\n%s\n", |
printf("\n%c%s %.7s %s / %s (%s)\n%s\n", |
| strcmp(__APPNAME__, __APPNAMEDEFAULT__) ? __APPNAME__ : s, |
toupper(*appname), appname + 1, |
| __copyright, __APPVERSION__, __DATE__, __TIME__, |
__copyright, __APPVERSION__, __DATE__, __TIME__, |
| __copyright + 7); |
__copyright + 7); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|