smallmodel
2ab826268d
Clear the legs state during the torso evaluation when the movecontrol is not legs
...
The legs state won't be stuck anymore waiting for an empty animation. This could happen under special circumstances, when the torso evaluation sets the movecontrol to non-legs (clears the legs anim) and then back to legs in subsequent iterations.
Fixes #105 , the issue cannot be exploited anymore for land-sharking
2024-09-16 20:20:19 +02:00
smallmodel
c3e3f368e0
use cheats
rather than sv_cheats
to check if the client is connected to a cheat server
2024-09-16 18:59:36 +02:00
smallmodel
f35582489d
Fix support for british, russian and italian voices in Spearhead and Breakthrough
2024-09-16 18:09:56 +02:00
smallmodel
9acea3484d
Play zing sounds only if the location if the zing is valid
...
This fixes a potential crash where uninitialized position would be passed to the sound system
2024-09-16 17:39:15 +02:00
smallmodel
a72da9b73e
Fix incorrect terrain height for poly
...
This caused decals to float in the air when they were placed on the terrain
2024-09-15 23:49:42 +02:00
smallmodel
df53d35967
Fix real dynamic lighting algorithm for both terrain and patch
...
This fixes #356 where real dynamic lighting would look completely wrong, making it look like there are graphical artifacts on surfaces
2024-09-15 21:23:17 +02:00
smallmodel
e5e7421d3c
Fix terrain lightmap when there is a dynamic light map
...
This fixes terrain having a completely wrong lightmap texture coordinates for dynamic lighting
2024-09-15 21:21:38 +02:00
smallmodel
6ff25d00fc
Use lightmap offset for grid surface when a dlightmap is specified
2024-09-15 21:15:01 +02:00
smallmodel
4a5b0b3105
Fix y lightmap position when allocating a new lightmap block
...
See the issue with dynamic lights: #356
2024-09-15 19:39:22 +02:00
smallmodel
d05d964432
Fix NaN lmapStep for terrain patches
2024-09-15 19:34:25 +02:00
smallmodel
daa4a67b49
Reuse dlightmap in R_CheckDlightSurface and R_CheckDlightTerrain
2024-09-15 19:34:06 +02:00
smallmodel
9c0224911c
Reset the number of dynamic lights when calculating the real terrain lighting
...
This fixes a crash that can occur when there is only the terrain that can be lit with dlights
2024-09-15 12:02:05 +02:00
smallmodel
ef5759cff5
Don't execute commands during the intro
2024-09-15 01:21:20 +02:00
smallmodel
77292fb9ab
First person spectator fix (not working yet)
2024-09-15 01:21:17 +02:00
smallmodel
6fb9ab078e
Implement RE_DrawBackground_DrawPixels
2024-09-15 01:12:00 +02:00
smallmodel
844a72e0f3
Add DrawPixels and PixelZoom
2024-09-15 01:11:52 +02:00
smallmodel
46e9046629
Implement VehicleHalfTrack
2024-09-15 01:03:37 +02:00
smallmodel
e5af60787e
Partially implement GetZone/IsInZone
2024-09-15 00:42:35 +02:00
smallmodel
4b0696a187
Implement remaining methods of ClientGameCommandManager
2024-09-15 00:42:22 +02:00
smallmodel
a6377fedab
Remove useless code
2024-09-14 23:36:19 +02:00
smallmodel
2f884e6d55
Call Key_GetCatcher/Key_SetCatcher instead of modifying the variable directly
2024-09-14 23:32:24 +02:00
smallmodel
28f8c65771
Key_SetCatcher() must use cls.keyCatchers
2024-09-14 23:30:30 +02:00
smallmodel
b509ef5ab4
Deactivate the mouse only when loading
2024-09-14 23:29:30 +02:00
smallmodel
9f48dabaec
Play the game's intro when starting
2024-09-14 22:59:27 +02:00
smallmodel
5b0224ae3c
Implement support for playing movies
...
Videos like briefings and intro are now played correctly
2024-09-14 22:58:43 +02:00
smallmodel
c3ef267d6d
Implement movie audio in OpenAL code
2024-09-14 21:55:15 +02:00
smallmodel
fe9b298705
Export cl_movieaudio
2024-09-14 21:53:19 +02:00
smallmodel
0b106cf47e
Print errors only when developer mode is set
2024-09-14 13:21:08 +02:00
smallmodel
9b417c9b26
Add EV_Client_ForceFeedback (unused)
2024-09-14 13:20:55 +02:00
smallmodel
37d5458c4c
Partially implement cinematic support for reading RoQ files (no audio yet)
2024-09-13 23:00:31 +02:00
smallmodel
77d48cb104
Don't call UI_ClearBackground in cinematic mode
2024-09-13 22:58:37 +02:00
smallmodel
a25200741a
Finis the loading screen if it's the default
2024-09-13 22:23:53 +02:00
smallmodel
d04a32920a
Fix an incorrect parameter value passed to FS_Read when reading the DCL file
2024-09-13 21:49:45 +02:00
smallmodel
792b676c11
Set the number of brush models
...
The level marks system depends on the number of brush models and leafs, having a number that doesn't match what was saved would cause a crash
2024-09-13 21:47:57 +02:00
smallmodel
690a7a7557
Format cl_ui file
2024-09-13 21:36:23 +02:00
smallmodel
e128c93ad9
Declare CL_FinishedStartStage
2024-09-13 21:25:41 +02:00
smallmodel
39add5ccec
Fix incorrect parsing of music volumes
2024-09-13 20:01:01 +02:00
smallmodel
a1a89cba34
Allow dynamic adjustment for the size of status columns in SVC_Status
2024-09-13 19:50:29 +02:00
smallmodel
2d696cf500
Also use the port when connecting to a server
2024-09-13 19:07:06 +02:00
smallmodel
45fe0bc8b7
Add an IP column
...
See #353 where servers would appear twice
2024-09-13 19:06:38 +02:00
smallmodel
9fc4c67187
Fix a crash when insep is 0
2024-09-13 19:05:30 +02:00
smallmodel
34aeab5f77
Fix the game type string being empty
...
(see #353 for the game type)
2024-09-13 18:34:43 +02:00
smallmodel
b510452260
Remove useless comment
2024-09-12 23:48:46 +02:00
smallmodel
89b8d5a67b
Use source files in renderercommon
2024-09-12 23:46:13 +02:00
smallmodel
500e3a3b2c
Add support for JPEG screenshots
2024-09-12 23:33:39 +02:00
smallmodel
47e575ed9a
define USE_INTERNAL_JPEG for compatible JPEG struct size
2024-09-12 23:33:21 +02:00
smallmodel
10b30d74e7
Implement sample_volume()
2024-09-12 22:23:27 +02:00
smallmodel
1ba4c6b7ad
Remove useless comment
2024-09-12 22:18:09 +02:00
smallmodel
eb899be95e
Implement RE_GetGraphicsInfo
2024-09-12 21:40:07 +02:00
smallmodel
6d993af419
Fix compiler warning
2024-09-12 21:09:07 +02:00