|
e18b61e041
|
Fixes for -Wformat=2 on 64-bit targets
|
2024-06-22 07:31:37 +03:00 |
|
|
d56e53a347
|
Replace hardcoded functions names by __func__ macro
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
|
2024-06-19 06:53:42 +03:00 |
|
|
0fab5f07d0
|
Revert "engine: common: mod_studio: reject models with split textures files that cannot be loaded"
This reverts commit 3256236ba2 .
|
2024-06-18 22:50:06 +03:00 |
|
|
95b48da37d
|
engine: allow to change hardcoded path to custom.hpk
|
2024-06-15 17:22:26 +03:00 |
|
|
1b36785177
|
engine: common: hpak: rename hpk_maxsize to hpak_max_size to avoid Valve's defaults
While we're here:
* Increase it to 64 MiB.
* Make it privileged.
* Add hpk_maxsize stub command as a deprecation notice.
|
2024-06-15 16:55:25 +03:00 |
|
|
8bc76e3d58
|
engine: host: do not specifically check timedemo or vsync in Host_CalcSleep, because it's already has been checked in Host_CalcFPS
|
2024-06-15 13:57:12 +03:00 |
|
|
33a1416199
|
engine: common: net_chan: remove unneeded check for demo and remote address in netchan, as it's handled in client and server already
|
2024-06-15 13:44:26 +03:00 |
|
|
486bca82e8
|
engine: add quake svc messages names
|
2024-06-15 11:04:30 +03:00 |
|
|
f62aa051c8
|
engine: common: make netchan cvars static
|
2024-06-15 08:44:19 +03:00 |
|
|
3256236ba2
|
engine: common: mod_studio: reject models with split textures files that cannot be loaded
|
2024-06-14 11:34:42 +03:00 |
|
|
3434005e66
|
engine: common: make Host_IsLocalGame and Host_IsLocalClient inlined
|
2024-06-13 01:20:14 +03:00 |
|
|
2dbafbda02
|
engine: common: mod_studio: fix NULL mod->cache.data if model has split texture file but none was loaded
|
2024-06-12 23:37:30 +03:00 |
|
|
240b6fb6f2
|
engine: fix possible unprivileged config execute with fake extension
|
2024-06-12 11:16:31 +03:00 |
|
|
4163d3655a
|
engine: reformat and reorder host_parm_s struct, remove now unused host.daemonize and host.enabledll
|
2024-06-12 11:16:26 +03:00 |
|
|
2c7bf49fc9
|
engine: host: avoid some of unnecessary double-to-float conversions
|
2024-06-12 10:20:09 +03:00 |
|
|
739592e50d
|
engine: host: refactoring, reduce usage of global variables a bit
|
2024-06-12 10:20:09 +03:00 |
|
|
393e31e509
|
engine: move finding root/readonly directory to FS initialization, remove unused host.rodir, host.rootidr
|
2024-06-12 10:20:09 +03:00 |
|
|
a1dceacc8f
|
engine: remove unused host.hMutex and host.hInst
|
2024-06-12 10:20:09 +03:00 |
|
|
cf26c87872
|
engine: remove unused host.decalList and host.numdecals
|
2024-06-12 10:20:09 +03:00 |
|
|
21195b3491
|
engine: increase logo and hpak limits, add cl_logomaxdim cvar to limit decal size (set to 96, default HL logo size is 64)
|
2024-06-11 07:47:01 +03:00 |
|
|
4e2708c1ac
|
engine: bring back texture replacement
|
2024-06-11 06:16:26 +03:00 |
|
|
30fe471d2b
|
ref: move loading skybox into the engine
|
2024-06-11 02:07:44 +03:00 |
|
|
5ab6979633
|
ref: move common quake sky cloud loading to the engine
|
2024-06-10 22:47:39 +03:00 |
|
|
f4b4546197
|
engine: temporarily fix loading studio models with split texture model
|
2024-06-10 14:57:00 +03:00 |
|
|
f047749e61
|
engine: move studio model truncation into separate function, disable it by default
|
2024-06-10 13:34:02 +03:00 |
|
|
87840ce91d
|
engine: fix potential buffer overflow in Mod_StudioTexName
* Model names are 64 bytes wide, adding texture character means we needs 65 byte wide string.
* It never gets stored in memory anyway.
|
2024-06-10 13:28:01 +03:00 |
|
|
bf31e9f634
|
engine: fix NO_ASAN macro usage with MSVC
|
2024-06-09 09:37:16 +03:00 |
|
|
767556ccad
|
engine: temporarily disable ASan in MSG_WriteUBitLong (evil!)
|
2024-06-09 07:03:59 +03:00 |
|
Tuldok
|
7672a370da
|
engine: Crashhandler support for Windows-on-ARM (arm/arm64)
|
2024-06-08 21:35:55 +03:00 |
|
|
870e47ed03
|
engine: ensure character signness when checking for nonprintable characters
|
2024-06-07 22:22:13 +03:00 |
|
|
6255293dd4
|
engine: fix using OpenMP PHS generation under Visual Studio
|
2024-06-02 10:34:10 +03:00 |
|
|
a709f30da9
|
engine: soundlib: libmpg: add wrappers on top of libc read & lseek in case they don't match internal mpg123 types
(we better migrate to upstream libmpg at some point)
|
2024-06-02 09:19:17 +03:00 |
|
|
caf14c1b7c
|
engine: soundlib: libmpg: fix the inconsistent use of offset types in lseek()
|
2024-05-31 03:35:39 +03:00 |
|
|
27f7d2c8d2
|
engine: common: ban few more executable types for COM_IsSafeFileToDownload
|
2024-05-31 00:43:28 +03:00 |
|
|
8ee430eda2
|
engine: common: double check that resource starting with !MD5 doesn't have any extension
|
2024-05-31 00:42:44 +03:00 |
|
|
484e4cb225
|
engine: common: net_ws: less verbose HTTP client, fix printing header size in case of an error
|
2024-05-31 00:07:14 +03:00 |
|
|
b080ad9954
|
engine: moved link_t helpers to sv_world.c from world.c and made them static
|
2024-05-30 07:31:03 +03:00 |
|
|
f6625d9188
|
engine: common: remove unused et_name array
|
2024-05-30 07:22:21 +03:00 |
|
|
d59875f114
|
engine: common: for automatic wad precache to work, we need to count the real wad usage on dedicated
|
2024-05-30 06:18:15 +03:00 |
|
|
e89191ed39
|
engine: common: automatically precache wad files required by loaded map
Makes it easier to host server with multiplayer maps and broken .res files.
|
2024-05-30 05:58:41 +03:00 |
|
|
ea21438637
|
engine: netchan: append .ztmp extension instead of replacing original extension
* so we don't send wrong file that has same name but different extension
* validate filename size so it won't get truncated in fragbuf_t
|
2024-05-30 04:50:58 +03:00 |
|
|
338399e622
|
engine: common: implement PHS calculation like in QuakeWorld/GoldSrc
|
2024-05-29 05:58:51 +03:00 |
|
|
1545a49b4c
|
engine: client: only allocate debug hulls polygons when they're requested
* Make the appropriate changes in ref_gl
|
2024-05-29 05:41:47 +03:00 |
|
|
3ca15250e8
|
engine: common: use Mod_PointInLeaf in Mod_GetPVSForPoint instead of traversing nodes manually
|
2024-05-29 05:41:47 +03:00 |
|
|
6cbac51731
|
engine: common: add function for compressing visdata
|
2024-05-29 05:41:47 +03:00 |
|
|
e310c666b1
|
engine: common: add phs flag to Mod_FatPVS, unused currently
|
2024-05-29 05:41:47 +03:00 |
|
|
9150b770e4
|
engine: common: mod_bmodel: add function Mod_DecompressVisTo that will copy fat vis data into the provided buffer
|
2024-05-29 05:41:47 +03:00 |
|
|
4bf72b5383
|
engine: forbid accessing cvars starting with con_ and scr_ through stufftext
Some stupid servers might mess up with console cvars values.
|
2024-05-25 02:26:42 +03:00 |
|
|
f4a77308ec
|
engine: soundlib: fix possible buffer overflow in Sound_ConvertUpsample
|
2024-05-06 15:45:49 +03:00 |
|
|
a6c2cfe89b
|
engine: avoid constants in Q_strncpy third argument, where possible
|
2024-05-06 14:27:26 +03:00 |
|