smallmodel
facabc09f5
Don't set the label shader if the specified material name is considered empty ( #364 )
...
For labels linking to a variable for the shader, this prevents the label from still being rendered, drawing the tiled square grid (notexture)
2024-09-27 18:30:03 +02:00
smallmodel
51afcd7b96
Fix loading screen being incorrectly displayed
...
This fixes an issue where some part of the loading screen would not be drawn correctly, due to the screen being updated recursively through UI_Update()
2024-09-27 17:59:03 +02:00
smallmodel
e43f0a9285
Add a new feature to enable/disable instant messages and text chat with a variable to set the minimum delay between messages
2024-09-26 19:29:56 +02:00
smallmodel
dbc536c6c2
Fix voice chat time not working on FFA
2024-09-26 19:10:01 +02:00
smallmodel
97c9075503
Fix a small mistake in normal calculations for MM_ClipVelocity2D
...
Same error as commit c76dda1523
. This fixes an issue where AI would run too slowly, like the crate guy in the intro of e1l1, the crate guy was too slow that it ran through the intro vehicle
2024-09-26 18:20:25 +02:00
smallmodel
290e45062d
Set the server time before calling ge->RunFrame() in SV_SpawnServer()
...
This fixes an issue where some scripts wouldn't be initialized in time, like those that set AI animations. For example this caused an issue with the plane passenger in e2l1, where the animation would get reset due to a very specific chain of events
2024-09-26 01:18:11 +02:00
smallmodel
fc6bffe683
Don't post event when loading save game
2024-09-26 01:01:27 +02:00
smallmodel
1fb8327ca9
Don't let the frame msec go below 0
2024-09-25 22:14:27 +02:00
smallmodel
36208de902
Fix spawn time delta
2024-09-25 22:12:29 +02:00
smallmodel
5403577642
Fix the return value of FS_Seek
...
It returns a negative value on failure, so handle that properly
2024-09-25 21:04:55 +02:00
smallmodel
c76dda1523
Fix a small mistake in normal calculations for MM_ClipVelocity
...
This leaded to some occasional errors in AI movement, like in e3l2 where the medic gets stuck while going down the stairs
2024-09-25 20:22:42 +02:00
smallmodel
b5034e5b12
Fix the m_iSaySlot being mistakenly used for the weight cross blend, the specified slot parameter must be used instead
...
This fixes #266 where some AIs would lack speech animation
2024-09-25 20:04:58 +02:00
smallmodel
b039333922
Call AnimName() to get the current animation name
2024-09-25 19:48:06 +02:00
smallmodel
b504e0d109
Call CurrentAnim() to retrieve the animation index
2024-09-25 19:47:43 +02:00
smallmodel
0692b9dcdb
Fix events sometimes not being posted to entities
...
Fixes #253
2024-09-25 19:41:21 +02:00
smallmodel
085b72154f
Use a more modern implementation of minizip from ioquake3
2024-09-24 22:25:33 +02:00
smallmodel
639da1a4b8
Remove unused variables
2024-09-24 20:09:39 +02:00
smallmodel
931876ac77
Remove lidbad-0.15.1b
2024-09-24 20:03:30 +02:00
smallmodel
3fb699979c
Fix small equality mistake (expected assignment)
2024-09-23 22:44:11 +02:00
smallmodel
85f15a1f28
Delete spawnthings when their last temp model is freed
...
This fixes:
- Losing FPS in a match with a lot of players, due to a massive amount of emitters getting spawned every time a weapon fires
- Memory leaks due to emitters staying in memory forever after being spawned
2024-09-23 19:29:07 +02:00
smallmodel
758017b638
If the temp model being removed is the head one, use its sibling
2024-09-23 19:16:31 +02:00
smallmodel
724d1db9b8
Properly clear parents of orphaned entities
2024-09-22 21:38:35 +02:00
smallmodel
c6675f2013
Remove special features code to avoid any confusion
2024-09-22 20:06:31 +02:00
smallmodel
1fd6c2bd52
Merge pull request #360 from pryon/UINotepad-fixes
...
UINotepad fixes and improvements
2024-09-22 19:35:52 +02:00
smallmodel
8f355fe188
Add Voip code from ioq3
2024-09-22 16:50:44 +02:00
smallmodel
dbd10a281b
call CL_ShutdownInput()
2024-09-22 16:39:30 +02:00
smallmodel
d57ea3695b
Add VOIP code for cl_input
2024-09-22 16:38:00 +02:00
smallmodel
8dd74b7789
Get rid of the code that sends next fragments from clients
2024-09-22 16:35:12 +02:00
smallmodel
36c00f146d
Improve gamepad support
2024-09-22 16:19:55 +02:00
SmileTheory
aba9f25744
Fix frame_msec possibly being zero in cl_input.c.
...
This fixes a mouse freezing bug.
2024-09-22 16:14:01 +02:00
smallmodel
dacfa6ae55
Made common source file a C file as it should be
2024-09-22 16:03:02 +02:00
smallmodel
f53fba082a
Improve memory for debugging purposes
2024-09-22 15:45:29 +02:00
smallmodel
764b95f617
Set a better name for binaries to properly distinguish the name of the architecture
2024-09-22 14:56:02 +02:00
Zack Middleton
985731f543
Fix command line variables not being set correctly
...
+seta, +sets, and +setu were ignored because Com_AddStartupCommands
thought Com_StartupVariable handled it.
+set didn't allow value to be multiple tokens which due to Unix shell
unintuitively removing quotes causes the variable to only be set to
the first token. This could be worked around by escaping quotes
ioq3ded +set g_motd \"hello world\"
but it doesn't match behavior of other start up commands (which now
includes seta, sets, and setu) that use all tokens.
2024-09-22 13:47:55 +02:00
Thilo Schulz
7c28efe9cd
Fix bug where Com_StartupVariable would set CVAR_USER_CREATED on already existing cvars
2024-09-22 13:36:23 +02:00
smallmodel
5b567f4cba
Fix music volume not restored when the map restarts after the intermission
2024-09-22 01:39:40 +02:00
smallmodel
78918eb59d
Correctly process statements with a semicolon
2024-09-22 01:23:23 +02:00
smallmodel
1848506f09
Properly pass the size of the path buffer into Q_strncpyz
2024-09-21 23:09:16 +02:00
smallmodel
ce0004a296
Use unsafe version of strcpy as the buffer length is unknown
2024-09-21 23:08:52 +02:00
smallmodel
e85d3f2a19
Pass the correct size to Q_strncpyz
2024-09-21 22:50:53 +02:00
smallmodel
4e5a0a30bf
Fix subtitle being incorrect due to the size of the pointer (and not the size of the string) being passed to Q_strncpyz
2024-09-21 21:09:12 +02:00
pryon
9ab37e54b4
Fix CodeQL printf argument type warning
2024-09-21 20:59:27 +02:00
pryon
fe0e5c1d9c
Fix bug when multiple lines are joined together after copy-pasting text
2024-09-21 20:08:11 +02:00
pryon
5128d88722
Fix bug when deleting multiple lines doesn't actually remove everything selected
2024-09-21 20:04:57 +02:00
pryon
173ca3e58e
Fix assertion failures on str
operations
2024-09-21 20:02:58 +02:00
pryon
2a13fca737
Fix an off-by-one bug when selection points are determined
2024-09-21 20:01:03 +02:00
pryon
b3a9f4423b
Fix crash when saving a file with no contents or with no name
2024-09-21 19:52:20 +02:00
pryon
62c24826e6
Silence some localization error console spam messages
...
This helps to reduce the number of `LOCALIZATION ERROR` messages in the console for strings that couldn't be translated anyway
2024-09-21 19:49:43 +02:00
pryon
a3d2c2c044
Properly free uipopup_describe
instances
2024-09-21 19:46:32 +02:00
pryon
72409622ef
Stop activating controls when their vertical scrollbar is hovered over
...
This fixes the annoyance of open windows (console, notepad) losing focus just by simply moving the mouse around
2024-09-21 19:43:18 +02:00