Commit graph

337 commits

Author SHA1 Message Date
smallmodel
7b72a3fba4
Fixed MemArchiver improperly working 2023-09-06 23:34:16 +02:00
smallmodel
dda79e7f27
Moved some tempmodels code to cg_tempmodels.cpp and implemented FreeSomeTempModels() 2023-09-06 23:25:48 +02:00
smallmodel
9a104566ba
Added MemArchive feature from mohaas/mohaab 2023-09-06 23:11:43 +02:00
smallmodel
b4d8982341
Implemented CG_ArchiveVSSGlobals() 2023-09-06 20:54:58 +02:00
smallmodel
5ea3fc28f7
Added FS_ListFilteredFiles, FS_FreeFileList, R_GetModelName and R_GetShaderName to client game imports 2023-09-06 20:31:50 +02:00
smallmodel
791f38762b
Added MemArchiver::ArchiveSize 2023-09-06 19:58:19 +02:00
smallmodel
c296b909c7
Fixed iTagR initialization 2023-09-06 00:00:50 +02:00
smallmodel
9c7a54f8fc
Added and implemented MemArchiver class 2023-09-05 23:57:51 +02:00
smallmodel
4289eab72b
Don't define MemArchiver in cg_archive.h 2023-09-05 23:57:18 +02:00
smallmodel
02db904336
Made CG_SaveStateToBuffer and CG_LoadStateToBuffer use a size_t 2023-09-05 20:31:24 +02:00
smallmodel
6d2d35e82d
Fixed compile errors on newer versions of clang 2023-09-05 19:39:57 +02:00
smallmodel
0ef2dccd90
Don't replace cgi.Malloc and cgi.Free with malloc/free 2023-09-04 21:24:17 +02:00
smallmodel
2be4f7cdaf
Fixed EV_Client_Landing event name 2023-09-03 00:07:06 +02:00
smallmodel
9750489d07
Don't play sound if current_entity is NULL 2023-08-30 21:54:01 +02:00
smallmodel
8c1145bb9f
Clear all unsupported farplane fields in protocol below version 15 2023-08-28 20:59:02 +02:00
smallmodel
99ba396c24
Make sure to not error out if the map checksum isn't used. Also fixed cg.farclipOverride, must be -1 if the server is a mohaa server 2023-08-28 20:46:48 +02:00
smallmodel
f88e9960f2
Use the map's checksum only if the server has sv_mapChecksum exported 2023-08-28 20:45:10 +02:00
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