Diff for games/_shared/dos2linux.c between version 1.5 and 1.6
| version 1.5, 2003/08/12 20:50:59 |
version 1.6, 2003/10/07 12:21:33 |
|
|
| * |
* |
| */ |
*/ |
| |
|
| /* $Platon: games/_shared/dos2linux.c,v 1.4 2003/08/03 21:34:18 nepto Exp $ */ |
/* $Platon: games/_shared/dos2linux.c,v 1.5 2003/08/12 20:50:59 nepto Exp $ */ |
| |
|
| #include <string.h> |
#include <string.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <time.h> |
#include <time.h> |
| #include <typedef.h> |
#include <typedef.h> |
| #include <vga.h> |
|
| #include <system.h> |
#include <system.h> |
| |
|
| #include "dos2linux.h" |
#include "dos2linux.h" |
| |
|
| #if PLATON_SYSTEM_SVGALIB |
#if PLATON_SYSTEM_SVGALIB |
| |
|
| |
#include <vga.h> |
| |
|
| static int getch_next_ret = 0; |
static int getch_next_ret = 0; |
| |
|
| int kbhit(void) /* {{{ */ |
int kbhit(void) /* {{{ */ |
| Line 79 int getch(void) /* {{{ */ |
|
| Line 80 int getch(void) /* {{{ */ |
|
| |
|
| #if PLATON_SYSTEM_X11 |
#if PLATON_SYSTEM_X11 |
| |
|
| |
#include <x11-bgi.h> |
| |
|
| int kbhit(void) /* {{{ */ |
int kbhit(void) /* {{{ */ |
| { |
{ |
| |
X11_BGI_update_IO(); |
| return 0; |
return 0; |
| } /* }}} */ |
} /* }}} */ |
| |
|
| int getch(void) /* {{{ */ |
int getch(void) /* {{{ */ |
| { |
{ |
| |
X11_BGI_update_IO(); |
| return 0; |
return 0; |
| } /* }}} */ |
} /* }}} */ |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|