Difference for main/game.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 19
 
Line 19
  * Game loop for Inferno   * Game loop for Inferno
  *   *
  * $Log$   * $Log$
    * Revision 1.26  2001/07/27 19:45:04  donut
    * gcc 3.0 compile fixes
    *
  * Revision 1.25  2000/11/13 04:33:22  donut   * Revision 1.25  2000/11/13 04:33:22  donut
  * make rear view leave_time variable   * make rear view leave_time variable
  *   *
Line 2716
 
Line 2719
   
 //DEFINE_CHEAT needs to be done this weird way since stupid c macros can't (portably) handle multiple args, nor can they realize that within {}'s should all be the same arg.  blah.  //DEFINE_CHEAT needs to be done this weird way since stupid c macros can't (portably) handle multiple args, nor can they realize that within {}'s should all be the same arg.  blah.
 #define DEFINE_CHEAT(name) int cheat_ ## name ## _index;\  #define DEFINE_CHEAT(name) int cheat_ ## name ## _index;\
  ubyte cheat_ ## name ## []   ubyte cheat_ ## name
   
 DEFINE_CHEAT(frametime)={KEY_F, KEY_R, KEY_A, KEY_M, KEY_E, KEY_T, KEY_I, KEY_M, KEY_E};  DEFINE_CHEAT(frametime)[]={KEY_F, KEY_R, KEY_A, KEY_M, KEY_E, KEY_T, KEY_I, KEY_M, KEY_E};
 int gr_renderstats=0;  int gr_renderstats=0;
 DEFINE_CHEAT(renderstats)={KEY_R, KEY_E, KEY_N, KEY_D, KEY_E, KEY_R, KEY_S, KEY_T, KEY_A, KEY_T, KEY_S};  DEFINE_CHEAT(renderstats)[]={KEY_R, KEY_E, KEY_N, KEY_D, KEY_E, KEY_R, KEY_S, KEY_T, KEY_A, KEY_T, KEY_S};
 int gr_badtexture=0;  int gr_badtexture=0;
 DEFINE_CHEAT(badtexture)={KEY_B, KEY_A, KEY_D, KEY_T, KEY_E, KEY_X, KEY_T, KEY_U, KEY_R, KEY_E};  DEFINE_CHEAT(badtexture)[]={KEY_B, KEY_A, KEY_D, KEY_T, KEY_E, KEY_X, KEY_T, KEY_U, KEY_R, KEY_E};
   
 int Cheats_enabled=0;  int Cheats_enabled=0;
   

Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26