Commit graph

520 commits

Author SHA1 Message Date
smallmodel
2afda6a470
Check the map checksum in CG_GameStateReceived 2023-08-28 20:29:18 +02:00
smallmodel
acc8081ef2
Added checksum return parameter in CL_CM_LoadMap for cgame 2023-08-28 20:28:59 +02:00
smallmodel
7433677ead
CG_Init(): clear fog overrides 2023-08-28 20:22:43 +02:00
smallmodel
d6b93b712c
Fixed sound location when in camera view + subtract refdef viewangles when PMF_DAMAGE_ANGLES is set 2023-08-28 18:35:47 +02:00
smallmodel
2c1f341099
Initialize cg.farplaneColorOverride values to -1 2023-08-28 17:53:47 +02:00
smallmodel
52bb709ca5
Implemented CG_SetupFog() and CG_SetupPortalSky()
CG_SetupFog() must be called by CG_CalcViewValues()
CG_SetupPortalSky() must be called in CG_DrawActiveFrame()
2023-08-28 17:53:35 +02:00
smallmodel
d5e93d863a
Set ps.walking in CG_TransitionSnapshot() instead 2023-08-27 19:53:29 +02:00
smallmodel
d3f93aae15
Interpolate fLeanAngle #66 2023-08-27 19:32:38 +02:00
smallmodel
963e4aa7ec
Restore saved Cgame state if the server is different (clear it otherwise) 2023-08-27 19:31:45 +02:00
smallmodel
5a250ea247
Fill cent->snapShotTime 2023-08-27 19:30:08 +02:00
smallmodel
bc8d8aafc0
Fixed the viewmodel not being normal when no prediction is active 2023-08-27 19:14:23 +02:00
smallmodel
21d41ce14b
Use facfont-20 for objective font 2023-08-27 17:48:18 +02:00
smallmodel
1562ba3f97
Fixed CG_ImpactMark being wrong with fSScale and fTScale 2023-08-27 17:48:10 +02:00
smallmodel
2798e73707
Fixed CG_CastFootShadow not working if only one of the red/green/blue channels was below 0.01 2023-08-27 17:47:49 +02:00
smallmodel
ac55a44761
Implemented CG_CastFootShadow, CG_CastSimpleFeetShadow
Reimplemented CG_EntityShadow
2023-08-27 17:01:40 +02:00
smallmodel
86ee9089e9
Include cg_radar.h 2023-08-25 23:22:44 +02:00
smallmodel
80a22ca2ed
Fixed pm error 2023-08-20 14:13:34 +02:00
smallmodel
17f6c25bc7
Fixed leaning values in mohaas/mohaab 2023-08-20 13:54:25 +02:00
smallmodel
030b291af1
Fixed library locations 2023-08-19 23:29:19 +02:00
smallmodel
9d0a5faed3
Fixed errors 2023-08-19 23:23:36 +02:00
smallmodel
f9ef6733b9
Fixed errors on CMake 3.5 2023-08-19 23:07:12 +02:00
smallmodel
0d501ec38a
Fixed CG_SameTeam always returning true 2023-08-16 00:44:44 +02:00
smallmodel
d39e6421fe
Call CG_UpdateRadarClient() in CG_AddCEntity 2023-08-16 00:44:30 +02:00
smallmodel
c2125947ab
Removed R_RegisterSkin 2023-08-16 00:20:16 +02:00
smallmodel
953a33a6ff
Call CG_InitRadar and restore saved cgame state 2023-08-16 00:20:10 +02:00
smallmodel
9116063d3f
Added CL_RestoreSavedCgameState and CL_RestoreSavedCgameState 2023-08-16 00:08:24 +02:00
smallmodel
e2a0d2d01e
Fixed function parameter 2023-08-16 00:07:45 +02:00
smallmodel
c17454b124
Renamed bValid to teamShader 2023-08-15 23:24:23 +02:00
smallmodel
968b073338
Implemented client-game radar code 2023-08-15 22:21:44 +02:00
smallmodel
03582bb59a
Added radars and radarShaders in cg_t 2023-08-15 22:21:24 +02:00
smallmodel
149d3ce2fc
Added CL_InitRadar 2023-08-15 22:21:01 +02:00
pryon
7593ea53f9
Fix generated executable/lib names missing the -dbg postfix on Visual Studio (#55)
* Fix generated executable/lib names missing the -dbg postfix on Visual Studio

* Spaces to tabs
2023-08-15 10:57:36 +00:00
smallmodel
e634fb5022
Using objective flags enum 2023-08-14 02:34:06 +02:00
smallmodel
8d6b3d0bd8
Added cg_archive and cg_radar (unimplemented) 2023-08-13 23:20:00 +02:00
smallmodel
7258a2e972
Fixed CG_DrawObjectives stack overflow 2023-08-13 22:07:19 +02:00
smallmodel
3fd87f90a2
Fixed objectives not showing properly 2023-08-13 20:17:23 +02:00
smallmodel
0be9e69833
Added protocol for pmove_t for PM_CheckDuck 2023-08-13 17:59:21 +02:00
smallmodel
a92bfbde40
Fixed variable names 2023-08-10 21:22:50 +02:00
smallmodel
fc7029c271
Added stopwatch type 2023-08-10 19:32:21 +02:00
smallmodel
3627760748
Removed parent entity not found message in CG_GetOrigin 2023-07-30 01:10:26 +02:00
smallmodel
68bf89c522
Fixed entity axis index crash (was using i instead of j) 2023-07-29 21:26:28 +02:00
smallmodel
ab534623c4
Fixed crash due to trace.allSolid not being initialized 2023-07-29 19:56:54 +02:00
smallmodel
7941524aad
Set alwaysAllowLean depending on the game version and the dmflags 2023-07-25 20:59:34 +02:00
smallmodel
12d6b064ec
Increased tempmodel count 2023-07-23 19:24:07 +02:00
smallmodel
9de676a86b
Set the correct special effect for CG_Splash 2023-07-23 19:21:53 +02:00
smallmodel
fa3479cc96
Fixed entities with RF_DONTDRAW being drawn 2023-07-23 18:19:26 +02:00
smallmodel
0e27ebb3e4
Fixed modelanim skyorigin 2023-07-23 18:19:08 +02:00
smallmodel
6082e0abe1
Workaround to fix crash on mohaa fx 2023-07-23 13:46:32 +02:00
smallmodel
23cf561405
Fixed infinite loop in VSS_CalcRepulsionForces 2023-07-23 13:46:15 +02:00
smallmodel
74f230077d
Fixed ClientGameCommandManager::BeginTagSpawnLinked incorrectly working
Implemented ClientGameCommandManager::IsBlockCommand
Support for T_WAVE in ClientGameCommandManager::UpdateEmitter
2023-07-22 21:34:18 +02:00