Commit graph

2901 commits

Author SHA1 Message Date
smallmodel
f5aadbb788
If the loopSound has no origin, make it local
This should fix #309
2024-06-15 16:38:02 +02:00
smallmodel
bbb54ea36d
Uses LoopSounds() parameters instead of just the alias 2024-06-15 16:33:02 +02:00
smallmodel
d7a5eb5d2f
Use LEVEL_WIDE_MIN_DIST instead of 10000 constant 2024-06-15 16:26:35 +02:00
smallmodel
cc716c3fa4
Don't process loopsound yet when spawning 2024-06-15 16:22:34 +02:00
smallmodel
141574a0d7
Ignore mouse events when paused 2024-06-15 16:22:21 +02:00
smallmodel
2df8ed10d0
Improves timeout checking, properly show the timeout menu and shutdown the server 2024-06-15 14:56:30 +02:00
smallmodel
40e3977664
Continue using entities even when attached to a turret, in 1.11 and below for backwards compatibility!
Fixes #140 where the MG42 objective in m1l1 would not trigger
2024-06-15 00:16:29 +02:00
smallmodel
7ddee0100e
Implements CG_BodyFallSound() 2024-06-14 22:24:55 +02:00
smallmodel
6b869c4c0d
Use an enumeration instead of raw values 2024-06-14 21:39:54 +02:00
smallmodel
91497d8fa7
Implements Player::EventTestAnim() 2024-06-14 21:20:15 +02:00
smallmodel
85bf56ae03
Call SetWeight() rather than setting it manually 2024-06-14 21:19:04 +02:00
smallmodel
84d702838d
Implemented Player::MeasureLandmineDistances()
This makes minedetector actually detect mines, especially on `e1l2`
2024-06-13 23:58:31 +02:00
smallmodel
fd3a36f162
Fixed melee sometimes not making the hit sound 2024-06-13 23:30:19 +02:00
smallmodel
10e3192f85
Fixed MASK_PLAYERSOLID being wrong 2024-06-13 23:24:11 +02:00
smallmodel
de874874e4
Use an enum for setup case rather than raw values 2024-06-13 23:11:28 +02:00
smallmodel
72e315bce1
Using an enum channelType_e rather than raw values for bone channel types 2024-06-13 23:04:33 +02:00
smallmodel
02ef85e390
Removed GetChannelTypeFromName(), was useless 2024-06-13 21:28:49 +02:00
smallmodel
aeba0e0f6f
Set the real limit of MAX_SKELETOR_CHANNELS 2024-06-13 21:26:59 +02:00
smallmodel
f8fa944054
Some refactoring, + implemented SetLocalFromGlobal() 2024-06-13 21:26:51 +02:00
smallmodel
1d50fa088a
Don't dealloc if there is no frame in the channel 2024-06-13 21:26:29 +02:00
smallmodel
546ded324e
Made ChannelNames() method public 2024-06-13 21:25:45 +02:00
smallmodel
332a635031
Use MAX_GLOBAL_FROM_LOCAL 2024-06-13 21:25:02 +02:00
smallmodel
de02c868a2
Fixed bullet tracers being incorrect
This should fix almost immobile bullet tracers on t1l1
2024-06-11 23:46:50 +02:00
smallmodel
a74b966b7c
Update fog when changing whether or not the terrain must be rendered 2024-06-11 23:44:02 +02:00
smallmodel
ca4b1ebdee
Don't render terrain when refdef.render_terrain is set to false 2024-06-11 23:37:45 +02:00
smallmodel
42c20ac008
Portal sky mustn't cause entity surface to be r-eadded
This fixes an issue where an entity would get re-added with a really lower LOD. Fixes #307
2024-06-11 23:35:18 +02:00
smallmodel
a26e5b74c2
Use armhf and armel suffix to distinguish between ARM variants 2024-06-11 22:09:31 +02:00
smallmodel
ee5faedaf9
Removed the value of LittleSwap/BigSwap on little-endian/big-endian 2024-06-11 21:25:38 +02:00
smallmodel
874b034698
Corrected some compilation warnings 2024-06-11 21:24:01 +02:00
smallmodel
dfb2cb6bbf
Fixed buffer overrun 2024-06-11 21:19:15 +02:00
smallmodel
fb15f0f2b3
Fixed a tiny mistake that prevented morphs from working correctly
Actors now have a working dynamic facial expression (moving eyes/mouth/brown...)
2024-06-11 00:12:59 +02:00
smallmodel
4d231fbc50
Call LocalChannel instead of GetLocalFromGlobal 2024-06-11 00:05:28 +02:00
smallmodel
dd85118a9c
Don't pack channels when reading encoded frames from mohsh and above (they're already packed in the animation file) 2024-06-11 00:01:55 +02:00
smallmodel
531340627d
Call LocalChannel() instead 2024-06-10 23:53:42 +02:00
smallmodel
6b6e5291dd
Fixed EYES_up length 2024-06-10 23:40:50 +02:00
smallmodel
79b0e6998d
Fixed implementations 2024-06-10 23:40:34 +02:00
smallmodel
445814b144
Fixed skeletor_c::ChannelNames return value 2024-06-10 22:15:10 +02:00
smallmodel
ebb3173322
Added skeletorMorphCache_t as an alias to int 2024-06-10 22:06:47 +02:00
smallmodel
c16f2029b1
Implemented skeletor_c::ChannelNames() 2024-06-10 22:06:35 +02:00
smallmodel
abefdd772c
DecodeFrameValue should only return a float value 2024-06-10 22:06:25 +02:00
smallmodel
e550d244df
Reimplemented skelChannelList_s::LocalChannel 2024-06-10 22:05:39 +02:00
pryon
fa5a97031d Fix assignment of a temporary to a non-const reference error on GCC 2024-06-10 14:43:40 +02:00
pryon
6e454cdfb3 Fix subtle bugs and refactor in UIWindowManager 2024-06-10 14:26:38 +02:00
pryon
52f43a3aa6 Document OPM fix for center-justified UINotepad statusbar 2024-06-10 14:25:30 +02:00
pryon
907aa21ba8 Fix UIPopupMenu crashes caused by dereferencing already freed instance 2024-06-10 14:24:39 +02:00
pryon
ac01ad6751 Take over va() memory safety fix from ioquake3 2024-06-10 14:19:29 +02:00
pryon
c84702b490 Fix file picker crash on AA 2024-06-10 14:18:49 +02:00
pryon
edd2a9d8f6 UIMultiLineEdit::Draw documentation 2024-06-10 14:17:35 +02:00
pryon
a19c7afce0 Add placeholders for handling clipboard operations in UIMultiLineEdit
Actual clipboard functionality will be added later
2024-06-10 14:15:06 +02:00
pryon
849f1ee7d1 Fix several bugs in UIMultiLineEdit
These are necessary so that UINotepad can actually be used for editing text
2024-06-10 14:13:21 +02:00