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.h between version 1.1 and 1.2

version 1.1, 2003/05/11 18:50:16 version 1.2, 2003/05/18 22:40:51
Line 11 
Line 11 
  *   *
  */   */
   
 /* $Platon$ */  /* $Platon: games/_shared/dos2linux.h,v 1.1.1.1 2003/05/11 18:50:16 nepto Exp $ */
   
 #ifndef _DOS2LINUX_H  #ifndef _DOS2LINUX_H
 #  define _DOS2LINUX_H  #  define _DOS2LINUX_H
Line 57  enum BORLAND_CPLUSPLUS_3_1_COLORS {
Line 57  enum BORLAND_CPLUSPLUS_3_1_COLORS {
 #define         putch                                           putchar  #define         putch                                           putchar
 #define         cputs(__s)                                      fputs(__s, stdout)  #define         cputs(__s)                                      fputs(__s, stdout)
 #define         cprintf                                         printf  #define         cprintf                                         printf
 #define         getch()                                         getchar()  
 #define         gotoxy(__x, __y)                        no_operation()  #define         gotoxy(__x, __y)                        no_operation()
 #define         clrscr()                                        no_operation()  #define         clrscr()                                        no_operation()
 #define         textattr(_attr)                         no_operation()  #define         textattr(_attr)                         no_operation()
Line 65  enum BORLAND_CPLUSPLUS_3_1_COLORS {
Line 64  enum BORLAND_CPLUSPLUS_3_1_COLORS {
 #define         textbackground(__c)                     no_operation()  #define         textbackground(__c)                     no_operation()
   
 int kbhit(void);  int kbhit(void);
   int getch(void);
   
 /* stdlib.h */  /* stdlib.h */
 #define         randomize()                                     srand(time(NULL))  #define         randomize()                                     srand(time(NULL))
Line 74  int kbhit(void);
Line 74  int kbhit(void);
   
 /* dos.h */  /* dos.h */
 struct date {  struct date {
   #if 0
         int da_year;     /* current year */          int da_year;     /* current year */
   #endif
           short int da_year;     /* current year */
         char da_day;     /* day of the month */          char da_day;     /* day of the month */
         char da_mon;     /* month (1 = Jan) */          char da_mon;     /* month (1 = Jan) */
 };  };
Line 88  struct time {
Line 91  struct time {
 #define         ctrlbrk(__handler)                      no_operation()  #define         ctrlbrk(__handler)                      no_operation()
 #define         setcbrk(__cbrkvalue)            no_operation()  #define         setcbrk(__cbrkvalue)            no_operation()
   
   void getdate(struct date *datep);
   
 #endif /* #ifndef _DOS2LINUX_H */  #endif /* #ifndef _DOS2LINUX_H */
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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