Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 24, 2026

Diff for games/_shared/dos2linux.c between version 1.4 and 1.5

version 1.4, 2003/08/03 21:34:18 version 1.5, 2003/08/12 20:50:59
Line 8 
Line 8 
  *   *
  * Changelog:   * Changelog:
  * 03/05/2003 - created   * 03/05/2003 - created
    * 12/08/2003 - X11 adaptations
  *   *
  */   */
   
 /* $Platon: games/_shared/dos2linux.c,v 1.3 2003/07/20 12:15:56 nepto Exp $ */  /* $Platon: games/_shared/dos2linux.c,v 1.4 2003/08/03 21:34:18 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 <vga.h>
   #include <system.h>
   
 #include "dos2linux.h"  #include "dos2linux.h"
   
   #if PLATON_SYSTEM_SVGALIB
   
   static int getch_next_ret = 0;
   
 int kbhit(void) /* {{{ */  int kbhit(void) /* {{{ */
 {  {
         register int ret;          register int ret;
Line 32  int kbhit(void) /* {{{ */
Line 38  int kbhit(void) /* {{{ */
         return ret > 0 ? 1 : 0;          return ret > 0 ? 1 : 0;
 } /* }}} */  } /* }}} */
   
 static int getch_next_ret = 0;  
   
 int getch(void) /* {{{ */  int getch(void) /* {{{ */
 {  {
         register int ret;          register int ret;
Line 71  int getch(void) /* {{{ */
Line 75  int getch(void) /* {{{ */
         return ret;          return ret;
 } /* }}} */  } /* }}} */
   
   #endif
   
   #if PLATON_SYSTEM_X11
   
   int kbhit(void) /* {{{ */
   {
           return 0;
   } /* }}} */
   
   int getch(void) /* {{{ */
   {
           return 0;
   } /* }}} */
   
   #endif
   
 void getdate(struct date *datep) /* {{{ */  void getdate(struct date *datep) /* {{{ */
 {  {
         time_t secs;          time_t secs;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top