Alibek Omarov
|
4e2708c1ac
|
engine: bring back texture replacement
|
2024-06-11 06:16:26 +03:00 |
|
Alibek Omarov
|
30fe471d2b
|
ref: move loading skybox into the engine
|
2024-06-11 02:07:44 +03:00 |
|
Alibek Omarov
|
5ab6979633
|
ref: move common quake sky cloud loading to the engine
|
2024-06-10 22:47:39 +03:00 |
|
Alibek Omarov
|
f4b4546197
|
engine: temporarily fix loading studio models with split texture model
|
2024-06-10 14:57:00 +03:00 |
|
Alibek Omarov
|
f047749e61
|
engine: move studio model truncation into separate function, disable it by default
|
2024-06-10 13:34:02 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
bf31e9f634
|
engine: fix NO_ASAN macro usage with MSVC
|
2024-06-09 09:37:16 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
870e47ed03
|
engine: ensure character signness when checking for nonprintable characters
|
2024-06-07 22:22:13 +03:00 |
|
Alibek Omarov
|
6255293dd4
|
engine: fix using OpenMP PHS generation under Visual Studio
|
2024-06-02 10:34:10 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
caf14c1b7c
|
engine: soundlib: libmpg: fix the inconsistent use of offset types in lseek()
|
2024-05-31 03:35:39 +03:00 |
|
Alibek Omarov
|
27f7d2c8d2
|
engine: common: ban few more executable types for COM_IsSafeFileToDownload
|
2024-05-31 00:43:28 +03:00 |
|
Alibek Omarov
|
8ee430eda2
|
engine: common: double check that resource starting with !MD5 doesn't have any extension
|
2024-05-31 00:42:44 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
f6625d9188
|
engine: common: remove unused et_name array
|
2024-05-30 07:22:21 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
338399e622
|
engine: common: implement PHS calculation like in QuakeWorld/GoldSrc
|
2024-05-29 05:58:51 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
3ca15250e8
|
engine: common: use Mod_PointInLeaf in Mod_GetPVSForPoint instead of traversing nodes manually
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
6cbac51731
|
engine: common: add function for compressing visdata
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
e310c666b1
|
engine: common: add phs flag to Mod_FatPVS, unused currently
|
2024-05-29 05:41:47 +03:00 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
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 |
|
Alibek Omarov
|
f4a77308ec
|
engine: soundlib: fix possible buffer overflow in Sound_ConvertUpsample
|
2024-05-06 15:45:49 +03:00 |
|
Alibek Omarov
|
a6c2cfe89b
|
engine: avoid constants in Q_strncpy third argument, where possible
|
2024-05-06 14:27:26 +03:00 |
|
Alibek Omarov
|
5120657386
|
engine: fix possible buffer overflow in S_StreamGetCurrentState
|
2024-05-06 06:53:22 +03:00 |
|
Alibek Omarov
|
55fcbc8880
|
engine: soundlib: implement linear interpolation in Sound_ResampleInternal
* split resampling into three functions
* added resampling using SDL_AudioCVT, it's slow, so isn't enabled by default
|
2024-05-06 06:41:23 +03:00 |
|
Alibek Omarov
|
433e7de686
|
engine: clean up unused soundlib flags, set SOUND_LOOPED flag on looped sounds
|
2024-05-05 06:16:57 +03:00 |
|
Alibek Omarov
|
94d3eff9ce
|
engine: host: fix build with Q_strchrnul returning const char *
|
2024-05-03 15:31:20 +03:00 |
|
Alibek Omarov
|
31c0934108
|
engine: fix parsing -bugcomp flags, assume bugcomp flags only starts with alphabetic character
|
2024-05-03 06:28:48 +03:00 |
|
Alibek Omarov
|
dd410a2de5
|
engine: implement small Message Rewrite Facitility that allows to run mods that directly write internal GoldSrc messages
|
2024-04-28 06:59:18 +03:00 |
|
Alibek Omarov
|
2f3429a144
|
engine: common: base_cmd: use flexible array to store basecmd name
|
2024-04-28 06:59:18 +03:00 |
|
Alibek Omarov
|
e7653d2ea6
|
engine: soundlib: fix searching for a RIFF/WAVE chunks in streams
|
2024-04-27 10:51:56 +03:00 |
|
Alibek Omarov
|
1494887e29
|
engine: soundlib: snd_wav: replace strncmp by IsFourCC helper function
|
2024-04-26 06:29:38 +03:00 |
|
Alibek Omarov
|
42dab2b1a5
|
engine: soundlib: snd_wav: attempt to fix misleading warning about truncated file
|
2024-04-26 06:25:18 +03:00 |
|
Alibek Omarov
|
60c6767337
|
filesystem: copy absolute path to library in FS_FindLibrary for compatibility
Extend fullPath for longer absolute paths.
|
2024-04-22 04:02:46 +03:00 |
|
Alibek Omarov
|
db10035d9d
|
engine: add GoldSrc protocol definitions
|
2024-04-22 04:02:46 +03:00 |
|
Alibek Omarov
|
de21d845ec
|
engine: don't forget to put newline at the end of overflowed console message
|
2024-04-21 20:21:17 +03:00 |
|
Alibek Omarov
|
320f8466e6
|
engine: hpak: don't print error about missing custom.hpak in quiet mode
|
2024-04-21 20:05:37 +03:00 |
|
Alibek Omarov
|
ea34bc8652
|
engine: turn bugcomp into flags that can be enabled/disabled separately
|
2024-04-21 16:52:15 +03:00 |
|
Alibek Omarov
|
ca9d3d262a
|
engine: common: net_encode: directly call MSG_ReadSBitLong for DT_TIMEWINDOW_*, don't do the multiplier check for DT_TIMEWINDOW_BIG
|
2024-04-20 20:48:01 +03:00 |
|
Alibek Omarov
|
a08f5e439d
|
engine: common: net_encode: fix comparing DT_TIMEWINDOW_* fields
Fixes: 35783bcec2 ("engine: common: net_encode: fix inaccuracy in DT_TIMEWINDOW_* encoding")
|
2024-04-19 01:51:25 +03:00 |
|
Alibek Omarov
|
8f6771dff4
|
engine: common: zone: check that Mem_FindPool might return NULL (it can if Sys_Error was called inside of a Sys_Error)
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
cd47c6b5b3
|
engine: common: zone: disallow migrating allocations from one pool to another, as this isn't practically used anywhere
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
1f4f3d7fda
|
engine: common: zone: remove mempool sentinels as pools aren't subject to buffer overflow or double free anymore
|
2024-04-19 00:14:26 +03:00 |
|