Diff for games/_shared/my-graph.c between version 1.8 and 1.9
| version 1.8, 2003/08/03 21:34:18 |
version 1.9, 2003/08/12 20:50:59 |
|
|
| * |
* |
| * Changelog: |
* Changelog: |
| * 10/05/2003 - created |
* 10/05/2003 - created |
| |
* 12/08/2003 - X11 adaptations |
| * |
* |
| */ |
*/ |
| |
|
| /* $Platon: games/_shared/my-graph.c,v 1.7 2003/07/20 12:15:56 nepto Exp $ */ |
/* $Platon: games/_shared/my-graph.c,v 1.8 2003/08/03 21:34:18 nepto Exp $ */ |
| |
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <system.h> /* target operating system type */ |
#include <system.h> /* target operating system type */ |
| |
|
| |
#if PLATON_SYSTEM_MSDOS |
| |
# include <graphics.h> |
| |
#endif |
| |
|
| |
#if PLATON_SYSTEM_WIN32 |
| |
# include <winbgim.h> |
| |
#endif |
| |
|
| #if PLATON_SYSTEM_SVGALIB |
#if PLATON_SYSTEM_SVGALIB |
| # include <dos2linux.h> |
# include <dos2linux.h> |
| # include <vga.h> |
# include <vga.h> |
|
|
| # include "fontlib.c" |
# include "fontlib.c" |
| #endif |
#endif |
| |
|
| #if PLATON_SYSTEM_WIN32 |
#if PLATON_SYSTEM_X11 |
| # include <winbgim.h> |
# include <x11-bgi.h> |
| #endif |
|
| |
|
| #if PLATON_SYSTEM_MSDOS |
|
| # include <graphics.h> |
|
| #endif |
#endif |
| |
|
| #include "my-graph.h" |
#include "my-graph.h" |
| |
|
| #if PLATON_SYSTEM_MSDOS || PLATON_SYSTEM_WIN32 |
#if PLATON_SYSTEM_MSDOS || PLATON_SYSTEM_WIN32 || PLATON_SYSTEM_X11 |
| |
|
| int my_graph_init(int pagging) /* {{{ */ |
int my_graph_init(int pagging) /* {{{ */ |
| { |
{ |
Platon Group <platon@platon.org> http://platon.org/
|
|