Commit graph

3360 commits

Author SHA1 Message Date
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
pryon
c8a2de8235 Implement FS_FileTime for proper retrieval of file date/size info in FilePicker 2024-09-21 19:37:50 +02:00
pryon
6b91846b0c Reimplement Sys_ListFiles and Sys_ListFilteredFiles
They had several bugs, like showing the current and parent directory entires twice, not seeing files but only directories, etc.
2024-09-21 19:36:13 +02:00
pryon
92190220aa Implement clipboard functionality 2024-09-21 19:32:23 +02:00
pryon
c316dc7b00 Fix incorrect line width calculation when tabs are present 2024-09-21 19:17:25 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
a69d9d4483
Fix compilation errors for MacOS, and add support for MacOS 2024-09-20 21:31:27 +02:00
smallmodel
8b19d00086
Remove the last OpenAL linking as it's already linked before 2024-09-20 21:29:15 +02:00
smallmodel
1156d4f881
Replaced (u)int64_t with long long to avoid constructor conflicts with some compilers 2024-09-20 21:28:36 +02:00
smallmodel
08c5186426
Use stdlib.h as malloc.h is deprecated 2024-09-20 21:27:53 +02:00
smallmodel
61b4a817f3
Move alloca include directive to q_platform.h due to difference between platforms 2024-09-20 20:52:41 +02:00
smallmodel
015ebb650e
Clean up ClassDef class 2024-09-19 22:50:33 +02:00
smallmodel
17d623bf85
Add more clarity + check the length of the const_str enumeration and the length of the const string array to make sure they both match 2024-09-19 21:23:19 +02:00
smallmodel
20d11f5f97
Add max_amount parameter to the EV_Sentient_GiveAmmo documentation 2024-09-19 21:02:04 +02:00
smallmodel
047a7bb949
Deprecate r_forceClampToEdge in favor of automatic detection
This avoids setting the variable manually to fix sky seams and weird graphical artifacts. Now, it's detected automatically
2024-09-19 21:00:22 +02:00
smallmodel
52c79f7f77
Make crates correctly fall 2024-09-19 20:49:33 +02:00
smallmodel
c97bc2e977
Add more clarity in crateobject.cpp 2024-09-19 20:38:31 +02:00