Diff for games/_shared/x11-bgi.c between version 1.2 and 1.3
| version 1.2, 2003/09/07 20:26:30 |
version 1.3, 2003/09/12 08:55:22 |
|
|
| |
|
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <string.h> |
#include <string.h> |
| |
#if defined(DEBUG) && DEBUG |
| |
# include <stdio.h> |
| |
#endif |
| |
|
| /* TurboC-source/TurboX.c */ |
/* TurboC-source/TurboX.c */ |
| |
|
| Line 1088 initgraph (int *graphdriver, int *graphm |
|
| Line 1091 initgraph (int *graphdriver, int *graphm |
|
| TcGraphResult = *graphdriver = grInvalidMode; |
TcGraphResult = *graphdriver = grInvalidMode; |
| return; |
return; |
| } |
} |
| |
#if defined(DEBUG) && DEBUG |
| |
fprintf(stderr, "x11-bgi.c: initgraph(): Xres = %d, Yres = %d, Pcnt = %d\n", |
| |
Xres, Yres, Pcnt); |
| |
#endif |
| White = WhitePixel (TcDisplay, TcScreen); |
White = WhitePixel (TcDisplay, TcScreen); |
| Black = BlackPixel (TcDisplay, TcScreen); |
Black = BlackPixel (TcDisplay, TcScreen); |
| SizeHints = XAllocSizeHints (); |
SizeHints = XAllocSizeHints (); |
Platon Group <platon@platon.org> http://platon.org/
|
|