]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote-tracking branch 'origin/master' into morosophos/server-current4
authorNikolay S <nick@teichisma.info>
Wed, 27 Nov 2024 18:26:02 +0000 (19:26 +0100)
committerNikolay S <nick@teichisma.info>
Wed, 27 Nov 2024 18:26:02 +0000 (19:26 +0100)
14 files changed:
1  2 
_hud_common.cfg
bal-wep-mario.cfg
bal-wep-nexuiz25.cfg
bal-wep-samual.cfg
bal-wep-xdf.cfg
bal-wep-xonotic.cfg
qcsrc/client/hud/panel/_mod.inc
qcsrc/client/hud/panel/_mod.qh
qcsrc/client/hud/panel/scoreboard.qc
qcsrc/common/stats.qh
qcsrc/server/_mod.inc
qcsrc/server/_mod.qh
qcsrc/server/damage.qc
qcsrc/server/race.qc

diff --cc _hud_common.cfg
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc bal-wep-xdf.cfg
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 2c4cb00d6b8bb2910eb3dada42ee0c2dc06c8057,2b293dbc13afbd82f052ff2df33c3f711d968aa4..5a25e437d9daa060b67b4e0bb87ae5488da5e794
@@@ -356,13 -355,9 +355,13 @@@ REGISTER_STAT(SPECTATORSPEED, FLOAT
  #ifdef SVQC
  bool autocvar_sv_slick_applygravity;
  #endif
- REGISTER_STAT(SLICK_APPLYGRAVITY, bool, autocvar_sv_slick_applygravity)
+ REGISTER_STAT(SLICK_APPLYGRAVITY, BOOL, autocvar_sv_slick_applygravity)
  
- REGISTER_STAT(Q3COMPAT, int, q3compat)
- REGISTER_STAT(Q3COMPAT_JUMPPADS, int, autocvar_sv_q3compat_jumppads)
 +#ifdef SVQC
 +int autocvar_sv_q3compat_jumppads;
 +#endif
+ REGISTER_STAT(Q3COMPAT, INT, q3compat)
++REGISTER_STAT(Q3COMPAT_JUMPPADS, INT, autocvar_sv_q3compat_jumppads)
  // FIXME: workaround for https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2812
  #ifdef SVQC
        #define Q3COMPAT_COMMON q3compat
Simple merge
Simple merge
Simple merge
index 955db3dd5cfb3d8ede607d8676fe2ebd523dc1a6,4cc4991bd2cf9aa5813d8a6d70926f59073ad4d3..91b473a9b3e229d9f900510da8489da86af41e71
@@@ -182,7 -164,7 +183,8 @@@ float race_checkpoint_lastlaps[MAX_CHEC
  entity race_checkpoint_lastplayers[MAX_CHECKPOINTS];
  
  .float race_checkpoint_record[MAX_CHECKPOINTS];
 +.float current_checkpoint_record[MAX_CHECKPOINTS];
+ .float race_checkpoint_recordspeed[MAX_CHECKPOINTS];
  
  float race_highest_checkpoint;
  float race_timed_checkpoint;
@@@ -848,12 -813,7 +870,12 @@@ void checkpoint_passed(entity this, ent
                        player.race_movetime = player.race_movetime_frac = player.race_movetime_count = 0;
                        player.race_penalty_accumulator = 0;
                        player.race_lastpenalty = NULL;
 -              }
 +                for (int i=0; i < MAX_CHECKPOINTS; i++) {
 +                              player.current_checkpoint_record[i] = 0;
 +                      }
 +              } else {
-                   player.current_checkpoint_record[this.race_checkpoint] = player.race_movetime; 
++                  player.current_checkpoint_record[this.race_checkpoint] = player.race_movetime;
 +      }
  
                if(g_race_qualifying)
                        race_SendNextCheckpoint(player, 0);