Diff for games/_shared/my-graph.c between version 1.10 and 1.11
| version 1.10, 2003/08/15 16:18:42 |
version 1.11, 2003/09/12 13:03:01 |
|
|
| * |
* |
| */ |
*/ |
| |
|
| /* $Platon: games/_shared/my-graph.c,v 1.9 2003/08/12 20:50:59 nepto Exp $ */ |
/* $Platon: games/_shared/my-graph.c,v 1.10 2003/08/15 16:18:42 nepto Exp $ */ |
| |
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
|
|
| |
|
| int my_graph_init(int pagging) /* {{{ */ |
int my_graph_init(int pagging) /* {{{ */ |
| { |
{ |
| #if PLATON_SYSTEM_WIN32 |
int gdriver = VGA, gmode = VGAHI, errorcode; |
| int gdriver = 9 /* VGAMAX */, gmode = 2, errorcode; |
|
| #else /* PLATON_SYSTEM_MSDOS */ |
|
| /* request auto detection */ |
|
| int gdriver = 9 /* DETECT */, gmode = 2, errorcode; |
|
| #endif |
|
| |
|
| #if PLATON_SYSTEM_MSDOS /* Win32 does not link EGAVGA.BGI into executable */ |
#if PLATON_SYSTEM_MSDOS /* Win32 does not link EGAVGA.BGI into executable */ |
| /* register a driver that was added into graphics.lib |
/* register a driver that was added into graphics.lib |
Platon Group <platon@platon.org> http://platon.org/
|
|