Alibek Omarov
|
d5892f3794
|
engine: change sleeptime resolution from 1 microsecond to 100 microseconds, as apparently sleeping for a microsecond isn't enough to lower CPU usage
|
2026-01-13 08:27:03 +05:00 |
|
Alibek Omarov
|
32aee7ef2f
|
engine: add sv_hibernate_when_empty that cuts down CPU usage on empty servers, similar to the feature in Source
|
2026-01-13 08:27:03 +05:00 |
|
Alibek Omarov
|
3a5d57603f
|
engine: print unknown command message in dedicated mode and when not on server
|
2026-01-13 08:27:03 +05:00 |
|
Alibek Omarov
|
46ccc37cae
|
engine: fix undefined pfnTime build error, it has been renamed to Sys_FloatTime
|
2026-01-13 06:03:34 +05:00 |
|
Alibek Omarov
|
d7b96ea8c2
|
engine: pass arguments on engine restart on nswitch, add forgotten -changegame parameter, simplify code for other platforms
|
2026-01-13 05:51:19 +05:00 |
|
Alibek Omarov
|
cb7f2ad8af
|
engine: replace Sys_DoubleTime with Platform_DoubleTime in internal code, only use Sys_DoubleTime in APIs
As Sys_DoubleTime is marked with GAME_EXPORT attribute that helps us to
maintain compatible binary interface.
|
2026-01-13 05:51:19 +05:00 |
|
lewa_j
|
5cdb58431a
|
engine: ref: Remove unused declarations, fix comment after rename
|
2026-01-13 03:41:19 +03:00 |
|
Alibek Omarov
|
4b77170136
|
engine: add con_showcompletion feature from FTEQW
|
2025-12-27 13:13:23 +05:00 |
|
Alibek Omarov
|
a168719905
|
engine: force generating vfs.cfg if it doesn't exists
|
2025-12-27 10:40:24 +05:00 |
|
Alibek Omarov
|
c950530e44
|
engine: common: masterlist: fix reporting wait state
|
2025-12-24 07:12:43 +05:00 |
|
Alibek Omarov
|
68a7689108
|
engine: client: fix incorrect usage of Mod_TestBmodelLumps return value in Cmd_ListMaps, causing it to crash
|
2025-12-23 14:05:36 +05:00 |
|
Alibek Omarov
|
1b66367d3d
|
engine: server: add a warning if server DLL couldn't be loaded, refactor calling GetEntityAPI exports
|
2025-12-14 04:59:24 +03:00 |
|
Alibek Omarov
|
66ea91270b
|
engine: make Image_ComputeSize shared between renderer and imagelib
|
2025-12-14 00:00:59 +05:00 |
|
Alibek Omarov
|
44fb4fb594
|
engine: common: imagelib: remove dependency on OpenGL declarations in texture formats
|
2025-12-13 23:59:40 +05:00 |
|
Alibek Omarov
|
16c849d085
|
engine: common: imagelib: refactoring
|
2025-12-13 23:11:48 +05:00 |
|
Alibek Omarov
|
e2835a7614
|
engine: common: imagelib: fix incorrect check for big endian pixel formats
|
2025-12-13 22:30:03 +05:00 |
|
Alibek Omarov
|
ae5793f258
|
engine: log the error if file couldn't be opened for writing
|
2025-12-13 00:36:33 +05:00 |
|
Alibek Omarov
|
9569900b9c
|
engine: redefine cvar flags in functions arguments from plain int to uint32_t
|
2025-12-07 15:23:35 +03:00 |
|
Max Parry
|
2ef374ff4a
|
engine: imagelib: img_bmp: support for big endian RGB format
Allows software rendering save screenshots
|
2025-12-06 19:46:25 +11:00 |
|
Alibek Omarov
|
3bc32d6e1b
|
engine: shift netchan flags bit to the right, as one of the flags is removed
|
2025-12-01 13:03:53 +05:00 |
|
Alibek Omarov
|
cfa8e639f1
|
engine: drop legacy protocol support
|
2025-12-01 13:03:53 +05:00 |
|
ncuxonaT
|
c7f18d7abe
|
dds volume texture fix - img_dds.c
|
2025-11-27 23:17:18 +08:00 |
|
Alibek Omarov
|
e32470280d
|
engine: add file size argument to brush model loading functions
|
2025-11-27 19:26:36 +05:00 |
|
Alibek Omarov
|
6aadb4ceea
|
engine: initialize default video mode in refState global, as we don't support reloading engine without reinitializing globals anyway
|
2025-11-23 11:54:33 +05:00 |
|
Alibek Omarov
|
3fc59104f3
|
engine: make FS_CopyImage argument const
|
2025-11-22 13:11:41 +05:00 |
|
Alibek Omarov
|
27086bfb97
|
engine: set r_wadtextures and r_allow_wad3_luma as latched cvars, as those require reloading textures and thus the game
|
2025-11-18 15:38:25 +05:00 |
|
Alibek Omarov
|
93dfcc344b
|
engine: implement loading luma in half-life
|
2025-11-18 15:35:20 +05:00 |
|
Alibek Omarov
|
c2448c8881
|
engine: imagelib: allow specifiying index for empty pixels when processing luma texture
|
2025-11-18 15:35:20 +05:00 |
|
veygax
|
28c118a4e6
|
engine: zone: free poolchain on every iteration of Memory_Init
free poolchain when calling Memory_Init multiple times.
Fixes: memory leak when running run-fuzzer-Image_LoadBMP
Signed-off-by: veygax <veyga@veygax.dev>
|
2025-11-16 01:17:05 +08:00 |
|
veygax
|
0c3c6345e9
|
engine: imagelib: fix pixel iteration bounds checking on 1-bit BMPs
move 1-bit BMP bounds checking to the beginning of a loop to prevent a second iteration
Fixes: [GHSA-3p7j-2339-g5mm](https://github.com/FWGS/xash3d-fwgs/security/advisories/GHSA-3p7j-2339-g5mm)
Signed-off-by: veygax <veyga@veygax.dev>
|
2025-11-15 12:50:33 +08:00 |
|
Alibek Omarov
|
300edb3318
|
engine: remember last resolved master server address for about a minute
|
2025-11-12 20:04:55 +05:00 |
|
Alibek Omarov
|
0dfeea5213
|
Migrate to library-suffix library
|
2025-11-11 06:59:41 +05:00 |
|
Alibek Omarov
|
184e976c5d
|
engine: call appropriate model loader on big endian
|
2025-11-06 23:37:27 +05:00 |
|
Alibek Omarov
|
a0b40fc2da
|
engine: common: explicitly cast function offset into size_t, even though it's signed ptrdiff, saverestore offset mistakingly used unsigned numbers
|
2025-11-06 20:06:51 +05:00 |
|
ksagameng2
|
a9bf700da4
|
Restore iOS build support (#2352)
* initial commit
* initial commit
* add port files
* ios: Changes to allow creating app bundle without xcode projects
* ios: Added mic perms request
* ios: Very basic app bundle creation script
* ios: Fix -log parameter
* ios: Sdk no longer hardcoded and option to compile for simulator
* general: Update gitignore
* ios: Enable game mode for the app
* ios: Compile instructions and updated ipa creation script
* ios: Code cleanup
* ios: Remove dylibs
* general: Remove extra submodules
* ios: Remove dylibs again
* ios: Implement suggested changes
* ios: Fix building as dylib instead of binary
* ios: Scripts for building mods
* ios: Move 'ios' contents to engine/platform/ios/bundle and modify scripts
* ios: Update createipa.sh to use waf install
* ios: Clean script and updated README
* general: Fix spelling mistake and outdated instructions
* ios: Clean up in xcompile.py
* ios: Fix createipa.sh generating an invalid ipa
* ios: Temporary fix for launch dialog textfield colors in dark mode
|
2025-11-01 18:32:00 +05:00 |
|
Alibek Omarov
|
a14cc82d46
|
engine: add buffer size argument to RefAPI's Mod_ProcessRenderData, bump RefAPI version
|
2025-10-31 15:58:05 +05:00 |
|
Alibek Omarov
|
b3dc772cd2
|
engine: add file size argument to sprite model loader
|
2025-10-31 15:56:31 +05:00 |
|
Alibek Omarov
|
21ea83027e
|
engine: imagelib: fix buffer overflow when the amount of colors in palette reported by BMP header are higher than 256
Thanks to @veygax for report!
|
2025-10-30 17:30:02 +05:00 |
|
Alibek Omarov
|
d8dcfc0ab3
|
engine: add \n to all Cbuf_AddText calls
|
2025-10-16 04:36:38 +05:00 |
|
lewa_j
|
37e9ac453b
|
win32: engine: common: client: filesystem: Fix windows build with -Werror=implicit-function-declaration
|
2025-10-12 00:21:00 +08:00 |
|
Alibek Omarov
|
ccbb3a2841
|
engine: fix format error when building tests on 64-bit platforms
|
2025-10-08 05:08:48 +05:00 |
|
Alibek Omarov
|
3d132e0e83
|
common: port: move filesystem related macros to filesystem module, try to include less globally for faster builds
|
2025-10-08 05:03:29 +05:00 |
|
Alibek Omarov
|
64adb3e3d7
|
engine: rename MS_SCAN_REQUEST to A2M_SCAN_REQUEST
|
2025-10-05 10:04:18 +05:00 |
|
Alibek Omarov
|
3efbe205ac
|
engine: define server-to-master requests in protocol.h
|
2025-10-05 09:28:11 +05:00 |
|
Alibek Omarov
|
712c1e2f95
|
engine: fix send state of master servers being cleared twice
|
2025-10-04 00:14:58 +05:00 |
|
Alibek Omarov
|
6d7bfc37f6
|
engine: allow loading xashcomm.lst from base directory
|
2025-10-03 22:45:50 +05:00 |
|
Alibek Omarov
|
cc5f95d1ca
|
engine: support querying legacy goldsrc master servers
* General refactoring, hide out of band messages under cl_log_outofband cvar, similar to sv_log_outofband.
|
2025-10-03 21:54:59 +05:00 |
|
Alibek Omarov
|
cb7094bb2d
|
engine: move setjmp for exit-in-main to the beginning of Host_Main function
|
2025-10-02 18:42:09 +05:00 |
|
Alibek Omarov
|
153b04abc3
|
engine: move crash handler initialization after console, so error messages could be seen in console, but move log creation before console, so log catches more messages
|
2025-10-02 05:40:58 +08:00 |
|
Alibek Omarov
|
9aab12fc27
|
engine: remove global no async resolve switch, platforms that do not support it shall add stubs to engine/platform
|
2025-09-29 00:12:37 +05:00 |
|