Difference for main/game.c from version 1.20 to 1.21


version 1.20 version 1.21
Line 19
 
Line 19
  * Game loop for Inferno   * Game loop for Inferno
  *   *
  * $Log$   * $Log$
    * Revision 1.21  2000/04/19 21:27:56  sekmu
    * movable death-cam from WraithX
    *
  * Revision 1.20  2000/01/17 05:43:13  donut   * Revision 1.20  2000/01/17 05:43:13  donut
  * fixed nicefps bug and added other modifier combos for hotkey menu/fullscreen keys   * fixed nicefps bug and added other modifier combos for hotkey menu/fullscreen keys
  *   *
Line 2987
 
Line 2990
  speedtest_frame();   speedtest_frame();
 #endif  #endif
   
  if (!Endlevel_sequence && !Player_is_dead) {   if (!Endlevel_sequence) {  // && !Player_is_dead  //this was taken out of the if statement by WraithX
   
  if ( (Newdemo_state == ND_STATE_PLAYBACK)   if ( (Newdemo_state == ND_STATE_PLAYBACK)
  #ifdef NETWORK   #ifdef NETWORK
Line 3012
 
Line 3015
   
  check_rear_view();   check_rear_view();
   
   
  // If automap key pressed, enable automap unless you are in network mode, control center destroyed and < 10 seconds left   // If automap key pressed, enable automap unless you are in network mode, control center destroyed and < 10 seconds left
  if ( Controls.automap_down_count && !((Game_mode & GM_MULTI) && Fuelcen_control_center_destroyed && (Fuelcen_seconds_left < 10)))   if ( Controls.automap_down_count && !((Game_mode & GM_MULTI) && Fuelcen_control_center_destroyed && (Fuelcen_seconds_left < 10)))
  Automap_flag = 1;   Automap_flag = 1;
Line 3132
 
Line 3136
                          }                           }
   
  //end edit - Victor Rachels   //end edit - Victor Rachels
   
                 }                  }
   
  if (Player_exploded) { //Player_is_dead && (ConsoleObject->flags & OF_EXPLODING) ) {   if (Player_exploded) { //Player_is_dead && (ConsoleObject->flags & OF_EXPLODING) ) {
Line 3150
 
Line 3153
                                 if (key_down_count(KEY_BACKSP))                                  if (key_down_count(KEY_BACKSP))
                                         Int3();                                          Int3();
  for (i=0; i<4; i++ )   for (i=0; i<4; i++ )
    //the following "if" added by WraithX, 4/17/00
    if (isJoyRotationKey(i) != 1)
    {
  if (joy_get_button_down_cnt(i)>0) Death_sequence_aborted = 1;   if (joy_get_button_down_cnt(i)>0) Death_sequence_aborted = 1;
    }//end "if" added by WraithX
   
  for (i=0; i<3; i++ )   for (i=0; i<3; i++ )
    //the following "if" added by WraithX, 4/17/00
    if (isMouseRotationKey(i) != 1)
    {
  if (mouse_button_down_count(i)>0) Death_sequence_aborted = 1;   if (mouse_button_down_count(i)>0) Death_sequence_aborted = 1;
    }//end "if" added by WraithX
   
  for (i=0; i<256; i++ ) {   for (i=0; i<256; i++ ) {
    //the following "if" added by WraithX, 4/17/00
    if (isKeyboardRotationKey(i) != 1)
    {
  if (key_down_count(i)>0) Death_sequence_aborted = 1;   if (key_down_count(i)>0) Death_sequence_aborted = 1;
    }//end "if" added by WraithX
   
  if (i == KEY_F1 - 1) // skip F.. keys   if (i == KEY_F1 - 1) // skip F.. keys
  i = KEY_F12;   i = KEY_F12;
  }   }

Legend:
line(s) removed in v.1.20 
line(s) changed
 line(s) added in v.1.21