Commit graph

337 commits

Author SHA1 Message Date
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
smallmodel
7b1ab5fea6
Fixed wrong emitter being used
Free temp model if it has no dlight and no model name
2023-07-22 20:36:11 +02:00
smallmodel
3161f28da6
Initialize pEvent to 0 2023-07-22 20:06:16 +02:00
smallmodel
403e98fba6
Implemented ClientGameCommandManager::BeginTagSpawnLinked 2023-07-22 17:45:27 +02:00
smallmodel
3e657679a0
Replaced calls to SpawnTempModel by calls to SpawnEffect call
Set m_spawnthing to m_localemitter if the current SFX is null
2023-07-22 17:35:06 +02:00
smallmodel
7c2cdd52b0
Using SFX enum to spawn SFX 2023-07-22 17:35:02 +02:00
smallmodel
6c46c5d5c0
Fixed life_random not working 2023-07-22 15:49:44 +02:00
smallmodel
930784bdf3
Don't initialize the spawnthing if there is a current SFX 2023-07-22 15:33:31 +02:00
smallmodel
92efd2a4bb
Using RF_FLAGS_NOT_INHERITED for CG_AttachEyeEntity 2023-07-22 15:23:12 +02:00
smallmodel
751283aeb5
AllocateTempModel will just return null if there are no free tempmodels
Removed timealive parameter
Using T_SPHERE instead of T_INWARDSPHERE
Using T2_RELATIVEANGLES
2023-07-22 15:22:54 +02:00
smallmodel
e97250875c
Added relative angles from mohta
Calling SpawnEffect instead of SpawnTempModel
2023-07-22 15:21:57 +02:00
smallmodel
c5f853aa1f
Added relative angles from mohta 2023-07-22 15:20:51 +02:00
smallmodel
00c07b4e10
Implemented CG_AttachEyeEntity and CG_UpdateForceModels, which fixes turrets, and entity attachment to player 2023-07-21 23:43:57 +02:00
smallmodel
415a5e60da
Fixed uninitialized variables 2023-07-18 21:19:01 +02:00
smallmodel
ae8d26ce18
Use crandom() instead of random() 2023-07-18 00:09:02 +02:00
smallmodel
2866bfdd04
Fix for DrawStretchRaw and const params 2023-07-17 20:44:09 +02:00
smallmodel
800ccaf020
Fixed animation crossblend not working correctly 2023-07-17 19:24:53 +02:00
smallmodel
f227fcdcaa
Implemented most mark functions 2023-07-15 20:41:52 +02:00
smallmodel
3a27275cb2
Implemented CG_GetBrushEntitiesInBounds 2023-07-15 20:41:27 +02:00
smallmodel
c05403d5d3
Set fov sin/cos
Implemented CG_FrustumCullSphere (from BT code)
2023-07-15 20:41:14 +02:00
smallmodel
89b2c9be9d
Added fov sin/cos variables 2023-07-15 20:40:26 +02:00
smallmodel
e288272c4a
Added CG_FrustumCullSphere and CG_GetBrushEntitiesInBounds 2023-07-15 20:19:08 +02:00
smallmodel
fc362fbe6b
Made pointBuffer const 2023-07-15 20:18:47 +02:00
smallmodel
113e3c3d87
Added CG_GetBrushEntitiesInBounds 2023-07-15 20:18:33 +02:00
smallmodel
1ae812af96
Added CG_FrustumCullSphere 2023-07-15 20:18:20 +02:00
smallmodel
7458077346
Added more marks variables and struct fields
Reimplemented CG_InitMarks, CG_AllocMark
Implemented CG_FreeMarkPoly, CG_FreeMarkObj, CG_FreeBestMarkObj
2023-07-12 23:53:30 +02:00
smallmodel
483df8ef87
Implemented CG_MakeBulletHoleSound 2023-07-10 23:58:05 +02:00
smallmodel
608b8bec30
Implemented CG_CheckMakeMarkOnEntity, CG_InitTestTreadMark
Added CG_AssembleFinalMarks
2023-07-10 23:28:17 +02:00
smallmodel
ac8f34a40c
Implemented CG_MakeBubbleTrail, CG_BulletTracerEffect and CG_AddBulletImpacts 2023-07-10 23:08:27 +02:00
smallmodel
7cc687e110
Fixed beam const vec3_t parameter 2023-07-10 23:07:57 +02:00
smallmodel
819fe53eaa
Implemented CG_MakeBulletTracerInternal 2023-07-10 21:11:01 +02:00
smallmodel
a2e7a4b4a6
CG_ImpactMark parameters modification 2023-07-10 21:09:56 +02:00
smallmodel
f164bc638b
Put variables in CG_MakeBulletTracerInternal 2023-07-09 23:36:21 +02:00
smallmodel
2dc43f9104
Fixed wrong view model animations for mohta and mohtt weapons 2023-07-09 21:24:57 +02:00