Diff for games/_shared/my-graph.h between version 1.1 and 1.2
| version 1.1, 2003/05/11 18:50:43 |
version 1.2, 2003/06/22 18:40:34 |
|
|
| * |
* |
| */ |
*/ |
| |
|
| /* $Platon$ */ |
/* $Platon: games/_shared/my-graph.h,v 1.1.1.1 2003/05/11 18:50:43 nepto Exp $ */ |
| |
|
| #ifndef _MY_GRAPH_H |
#ifndef _MY_GRAPH_H |
| # define _MY_GRAPH_H |
# define _MY_GRAPH_H |
|
|
| #if PLATON_SYSTEM_MSDOS |
#if PLATON_SYSTEM_MSDOS |
| # include <graphics.h> |
# include <graphics.h> |
| #endif |
#endif |
| #if PLATON_SYSTEM_LINUX |
#if PLATON_SYSTEM_SVGALIB |
| # include <vga.h> |
# include <vga.h> |
| # include <vgagl.h> |
# include <vgagl.h> |
| #endif |
#endif |
| Line 30 int my_graph_init(int pagging); |
|
| Line 30 int my_graph_init(int pagging); |
|
| void my_graph_refresh(void); |
void my_graph_refresh(void); |
| void my_graph_close(void); |
void my_graph_close(void); |
| |
|
| #if PLATON_SYSTEM_LINUX |
#if PLATON_SYSTEM_SVGALIB |
| |
|
| struct BGIimage { |
struct BGIimage { |
| short width; |
short width; |
| Line 116 void getpalette(struct palettetype *pale |
|
| Line 116 void getpalette(struct palettetype *pale |
|
| void setpalette(int colornum, int color); |
void setpalette(int colornum, int color); |
| void setallpalette(const struct palettetype *palette); |
void setallpalette(const struct palettetype *palette); |
| |
|
| #endif /* #if PLATON_SYSTEM_LINUX */ |
#endif /* #if PLATON_SYSTEM_SVGALIB */ |
| |
|
| #endif /* ifndef _MY_GRAPH_H */ |
#endif /* ifndef _MY_GRAPH_H */ |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|