ysdragon
23ad991743
Use nullptr instead
2024-11-24 16:04:30 +01:00
smallmodel
ad825f5114
Reimplement noise functions
2024-11-20 23:02:22 +01:00
smallmodel
69621335db
Put the target extension version in the version string
2024-11-17 21:31:45 +01:00
smallmodel
880acf9120
Make com_target_game and com_target_demo write-protected (can only be set at startup)
2024-11-17 14:28:00 +01:00
smallmodel
67d8cad64d
Allow sound files from OS disk in pure mode
2024-11-16 21:34:19 +01:00
smallmodel
e96a3f4f59
Use c_str() instead of accessing m_data
...
c_str() will always return a valid string even if empty
2024-11-16 19:27:48 +01:00
smallmodel
f6c9de4286
Use com_basegame instead of BASEGAME macro
2024-11-15 20:58:46 +01:00
smallmodel
9a6472210c
Use a separate user-data location for the demo version
2024-11-13 23:15:31 +01:00
smallmodel
ab84a6ea58
Add support for the demo version of the game
...
This allows the demo version of the game to be used, both for playing on demo servers, or for hosting a demo server
2024-11-12 23:09:37 +01:00
smallmodel
02af9a763d
Better support for older BSP versions
2024-11-12 20:56:26 +01:00
smallmodel
132903a843
Use different fields for protocol version 6 and 8
2024-11-12 20:56:02 +01:00
smallmodel
50fdbaf152
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED
2024-11-11 20:36:03 +01:00
smallmodel
81b49236a5
Use proper types for playerState_t structure
2024-11-11 19:00:36 +01:00
smallmodel
1ef1bad9ae
Add network profiling tool from Spearhead and Breakthrough
...
Profiling can be enabled with `cl_netprofile` and `sv_netprofile`, the overlay can be shown using `cl_netprofileoverlay` and `sv_netprofileoverlay` and the server can dump network profile using the `netprofiledump` command
2024-11-09 21:38:16 +01:00
smallmodel
f34aad03cd
Add script owner implementation
2024-11-09 00:18:59 +01:00
smallmodel
888e35466b
Drop error if the Script cannot load the file
2024-11-08 22:28:33 +01:00
smallmodel
af084542c4
Don't set the leadside
2024-11-05 21:48:14 +01:00
smallmodel
81e407a924
Add EXE_EXT
2024-11-03 21:45:27 +01:00
smallmodel
8addeedf5e
Fix event parameters being incorrectly archived
2024-11-03 15:33:14 +01:00
smallmodel
9ffb407d11
Fix incorrect/uninitialized token returned when there is a macro
2024-10-31 01:31:41 +01:00
smallmodel
9cd8133068
Fix the directory prefix when using filters for FS_ListFilteredFiles
2024-10-29 20:25:25 +01:00
smallmodel
da7cd03f09
Increase packed animation time precision
...
This tries to fix some client commands replaying
2024-10-27 13:42:42 +01:00
smallmodel
bf978256e9
Add changes from upstream, like pipefile, random number seed
2024-10-25 22:33:02 +02:00
smallmodel
9bd25e9734
Combine mouse movement events in event queue
2024-10-25 22:08:24 +02:00
smallmodel
31cb6216c9
Use a volatile variable to prevent the function from being entirely optimized
2024-10-25 21:06:30 +02:00
smallmodel
e75f5bbbfc
Version number typo
2024-10-25 21:01:01 +02:00
smallmodel
69cc87212a
Bumped the version number to 0.80.0 due to the number of changes and the completeness
2024-10-25 20:49:23 +02:00
smallmodel
e6a9968d23
Remove useless assertion
2024-10-23 20:25:17 +02:00
smallmodel
a3e5d62c96
Increase the precision of the delta animation time
2024-10-21 19:54:25 +02:00
smallmodel
0bb11d76bd
Remove accidental print
2024-10-20 22:22:36 +02:00
smallmodel
ed05983a57
Use ceiling for the packed anim time
...
This is an attempt to fix an issue where the animation time would deviate from 1 bit and would go back and forth
2024-10-20 22:19:57 +02:00
smallmodel
e9a76f933b
Cast to int32 rather than uint32 when writing the packed velocity
...
This fixes an issue where the integer could overflow, on some platforms like ARM the integer would be 0
2024-10-16 19:52:47 +02:00
smallmodel
6b6adf1147
Copy second and third triangles, this was forgotten
2024-10-16 18:28:41 +02:00
smallmodel
2b6fc0602a
Avoid misaligned memory access
2024-10-15 23:18:14 +02:00
smallmodel
53c09b5342
Correctly swap skeletons for CPUs that don't support misaligned memory access
2024-10-15 23:10:04 +02:00
smallmodel
f6b459b408
Correctly copy long/short taking into account memory overlaps
2024-10-15 22:49:23 +02:00
smallmodel
581585a47c
Prevent clearing the event command list if the event system is not initialized
...
This fixes the issue where the game could crash (especially in optimized release) due to a memory corruption, because the event command list was deconstructed earlier
2024-10-15 20:52:53 +02:00
smallmodel
ddbdcc91dd
Don't use an offset for the reverse table
2024-10-15 19:22:54 +02:00
smallmodel
2e673a6bc9
Delete posted events when canceling
2024-10-13 23:49:52 +02:00
Sébastien Noel
aa15b3ea7f
Allow to build against system libs instead of bundled copy
2024-10-07 20:51:23 +02:00
smallmodel
0b34d2dbb8
Fix ammo bits being incorrect
2024-10-02 23:04:30 +02:00
smallmodel
fc6bffe683
Don't post event when loading save game
2024-09-26 01:01:27 +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
085b72154f
Use a more modern implementation of minizip from ioquake3
2024-09-24 22:25:33 +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
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
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