Commit graph

85 commits

Author SHA1 Message Date
smallmodel
c3157ad4d7
Use DebugPrintf for errors that are relevant to developers
Some checks failed
Build branch / build-all (push) Failing after 16s
CodeQL / Analyze (push) Has been cancelled
2024-12-06 20:36:12 +01:00
smallmodel
4775f29194
Fix build warnings and errors 2024-11-30 23:36:37 +01:00
smallmodel
d3fdaa060a
Fix bad parameters passed to CG_AnimationDebugMessage 2024-11-26 19:21:18 +01:00
smallmodel
fe862badf6
Add printdeathmsg from moh 2.0 and above 2024-11-12 18:37:17 +01:00
smallmodel
1ad5964c2f
Implement stoploopsound from moh 2.0 and above 2024-11-12 18:21:24 +01:00
smallmodel
ae16994289
Fix amplitude mistakenly being set instead of the base 2024-11-02 19:46:32 +01:00
smallmodel
84a2b4be76
Use cg_effect_physicsrate instead of a constant value 2024-11-02 17:51:44 +01:00
smallmodel
5269fbb1fa
Don't set the accel flag for swarm FX 2024-11-02 17:26:08 +01:00
smallmodel
d3212c55a0
Properly parse and cache ubersounds, and don't cache resources that must be always loaded to avoid filling up sound indexes 2024-10-29 21:02:16 +01:00
smallmodel
00421a7666
Process client events with the correct order
Effects that are using commanddelay were not working at all, this fixes the processing of delayed events so they get processed sequentially and at the correct time
2024-10-19 22:38:46 +02:00
smallmodel
0692b9dcdb
Fix events sometimes not being posted to entities
Fixes #253
2024-09-25 19:41:21 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
Sébastien Noel
a010e648ee Fix a few typos 2024-09-19 10:52:47 +02:00
smallmodel
4b0696a187
Implement remaining methods of ClientGameCommandManager 2024-09-15 00:42:22 +02:00
smallmodel
9b417c9b26
Add EV_Client_ForceFeedback (unused) 2024-09-14 13:20:55 +02:00
smallmodel
ee48193f15
Added notagaxis
Fixes #222
2024-04-22 17:21:26 +02:00
smallmodel
7956746b65
Fixed inward sphere argument: the argument should be optional
See #209
2024-02-19 19:34:11 +01:00
smallmodel
06e3497a57
Fixed issues with tempmodel origin 2023-10-03 17:02:07 +02:00
smallmodel
7323d51219
Emitter fixes 2023-10-02 18:47:02 +02:00
smallmodel
2a65f53084
TagSpawnLinked must initialize the spawnthing origin to the entity's origin 2023-10-02 12:45:34 +02:00
smallmodel
baa8f4334b
Implemented CG_ClientCommands 2023-10-02 12:07:12 +02:00
smallmodel
24a211b190
Formatted document 2023-10-02 11:56:35 +02:00
smallmodel
cd9315852e
Fixed num not being set when writing to memory archiver in commandthing_t::ArchiveToMemory 2023-09-30 11:57:04 +02:00
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
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
8d6b3d0bd8
Added cg_archive and cg_radar (unimplemented) 2023-08-13 23:20:00 +02:00
smallmodel
68bf89c522
Fixed entity axis index crash (was using i instead of j) 2023-07-29 21:26:28 +02:00
smallmodel
6082e0abe1
Workaround to fix crash on mohaa fx 2023-07-23 13:46:32 +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
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
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
e97250875c
Added relative angles from mohta
Calling SpawnEffect instead of SpawnTempModel
2023-07-22 15:21:57 +02:00
smallmodel
a2e7a4b4a6
CG_ImpactMark parameters modification 2023-07-10 21:09:56 +02:00
smallmodel
f930d39a42
Used clang-format on cgame module 2023-07-05 21:24:23 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
425406bf94 Safe NULL m_spawnthing check 2023-06-11 12:41:34 +02:00
OM
3f34b73458 Moved temp models code from **cg_commands.cpp** to **cg_tempmodels.cpp** 2023-05-30 22:03:34 +02:00
OM
80e22921a7 Fixed **settiki** event name 2023-05-29 22:07:23 +02:00
OM
471393c389 Emitters fixes
Implemented "spin" from Spearhead and Breakthrough
2023-05-29 19:03:24 +02:00
OM
143d14a582 Fixed **bLoadForMap** not working as intended 2023-05-29 15:24:43 +02:00
OM
bea0f126fc Added **always** and **forcesubtitle** 2023-05-28 20:59:42 +02:00
OM
3933e63044 Fixed crash in LoopSound when tiki's alias list is NULL 2023-05-21 19:57:45 +02:00
OM
76178064a0 Drastically reduced compiler warnings on clang 2023-05-21 00:29:26 +02:00
OM
351f601986 Implemented *bLoadForMap* and fixed subtitle/maps parsing with *alias / aliascache* 2023-05-20 20:40:44 +02:00
OM
df4f6f9515 Fixed crash due to null m_spawnthing 2023-05-20 14:38:54 +02:00