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

Diff for games/mines/mines.c between version 1.3 and 1.4

version 1.3, 2003/05/21 13:58:30 version 1.4, 2003/06/22 18:40:34
Line 1 
Line 1 
 /* $Platon: games/mines/mines.c,v 1.2 2003/05/18 22:51:41 nepto Exp $ */  /* $Platon: games/mines/mines.c,v 1.3 2003/05/21 13:58:30 nepto Exp $ */
   
 /* CONSTS */  /* CONSTS */
 #define EXENAME     "mines.exe"  #define EXENAME     "mines.exe"
Line 61 
Line 61 
   
 #include <system.h>  #include <system.h>
   
 #if PLATON_SYSTEM_LINUX  #if PLATON_SYSTEM_SVGALIB
 #  include <dos2linux.h>  #  include <dos2linux.h>
 #endif  #endif
   
Line 84 
Line 84 
 #  define RAND_INT(__lo, __hi)  (__lo + random(__hi - __lo + 1))  #  define RAND_INT(__lo, __hi)  (__lo + random(__hi - __lo + 1))
 #endif  #endif
   
 #if PLATON_SYSTEM_LINUX  #if PLATON_SYSTEM_SVGALIB
 #  define RAND_INT(__lo, __hi)  (__lo + (random() % (__hi - __lo + 1)))  #  define RAND_INT(__lo, __hi)  (__lo + (random() % (__hi - __lo + 1)))
 #endif  #endif
   
Line 213  int main(int argc,char*argv[])
Line 213  int main(int argc,char*argv[])
 #if PLATON_SYSTEM_MSDOS  #if PLATON_SYSTEM_MSDOS
         hiscore_init(argv[0], HISCORE_AUTODETECT);          hiscore_init(argv[0], HISCORE_AUTODETECT);
 #endif  #endif
 #if PLATON_SYSTEM_LINUX  #if PLATON_SYSTEM_SVGALIB
         hiscore_init("/var/lib/games/mines/hiscore.dat", 0L);          hiscore_init("/var/lib/games/mines/hiscore.dat", 0L);
 #endif  #endif
         if (GraphInit() < 0)          if (GraphInit() < 0)

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

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