Commit graph

3114 commits

Author SHA1 Message Date
smallmodel
2a485a6b69
Fixes the endianness when loading LOD from file 2024-06-22 15:34:38 +02:00
smallmodel
f41e92de6e
Fixes possible memory corruption when generating a LOD curve 2024-06-22 15:34:00 +02:00
smallmodel
835c0b0d9a
Adds constants for LOD curve values 2024-06-22 15:30:59 +02:00
smallmodel
d9dc34f06d
Checks for AGEN_TIKI_DIST_FADE and AGEN_ONE_MINUS_TIKI_DIST_FADE for static models 2024-06-21 22:02:59 +02:00
smallmodel
907ff36018
Fixes r_showstaticbboxes freezing the game 2024-06-21 21:49:13 +02:00
smallmodel
64626a767c
Fixes entities not being rendered after number 1023
This fixes #310 where some static models would not be rendered, making it look like there are invisible walls.
2024-06-21 21:48:55 +02:00
smallmodel
a7df73073d
Adds a condition to check if static model poly can be rendered 2024-06-21 20:54:14 +02:00
smallmodel
40492daecd
Avoid creating a new sound index when there is no active client 2024-06-16 23:20:30 +02:00
smallmodel
a5691d7779
Allows clients to join a single-player game 2024-06-16 20:48:34 +02:00
smallmodel
d1ecd4a3c8
Don't initialize client persistant data during autosave 2024-06-16 18:19:11 +02:00
smallmodel
5482b31c66
Reads the sv_privatePassword value 2024-06-16 18:18:14 +02:00
smallmodel
15f2f6c798
Renamed g_session functions 2024-06-16 18:16:14 +02:00
smallmodel
46b3f4eb5e
Adds differentMap parameter for G_ClientConnect, it clears the selected DM weapon.
On each map change, the player gets asked for the primary weapon like in 2.0 and above
2024-06-16 18:14:26 +02:00
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