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

Diff for games/mines/mines.c between version 1.13 and 1.14

version 1.13, 2003/08/03 21:34:19 version 1.14, 2003/08/12 20:51:00
Line 8 
Line 8 
  * All rights reserved.   * All rights reserved.
  */   */
   
 /* $Platon: games/mines/mines.c,v 1.12 2003/07/20 12:18:56 nepto Exp $ */  /* $Platon: games/mines/mines.c,v 1.13 2003/08/03 21:34:19 nepto Exp $ */
   
 #define PSQUARE_DYNAMIC_ALLOCATION      (0)  #define PSQUARE_DYNAMIC_ALLOCATION      (0)
 #define ASSERTION_USAGE                         (1)  #define ASSERTION_USAGE                         (1)
Line 89 
Line 89 
   
 #include <system.h>  #include <system.h>
   
 #if PLATON_SYSTEM_SVGALIB  #if PLATON_SYSTEM_SVGALIB || PLATON_SYSTEM_X11
 #  include <dos2linux.h>  #  include <dos2linux.h>
 #endif  #endif
   
Line 120 
Line 120 
 #  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_SVGALIB  #if PLATON_SYSTEM_SVGALIB || PLATON_SYSTEM_X11
 #  define RAND_INT(__lo, __hi)  (__lo + (random() % (__hi - __lo + 1)))  #  define RAND_INT(__lo, __hi)  (__lo + (random() % (__hi - __lo + 1)))
 #endif  #endif
   
Line 270  int main(int argc,char*argv[])
Line 270  int main(int argc,char*argv[])
         hiscore_init(argv[0], HISCORE_AUTODETECT);          hiscore_init(argv[0], HISCORE_AUTODETECT);
 #elif PLATON_SYSTEM_WIN32  #elif PLATON_SYSTEM_WIN32
         hiscore_init("c:\\windows\\mines.hsc", 0L);          hiscore_init("c:\\windows\\mines.hsc", 0L);
 #elif PLATON_SYSTEM_SVGALIB  #elif PLATON_SYSTEM_SVGALIB || PLATON_SYSTEM_X11
         hiscore_init("/var/lib/games/mines/hiscore.dat", 0L);          hiscore_init("/var/lib/games/mines/hiscore.dat", 0L);
 #else  #else
 #  error hiscore not initialized  #  error hiscore not initialized

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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