Commit Graph
6691 Commits
Author SHA1 Message Date
Alibek Omarov 6f2e55c2fb engine: client: sound: harden S_AdjustLoopedSamplePosition against invalid loopstart also 2026-08-08 16:43:16 +05:00
Alibek Omarov 010bf63d42 engine: client: soundlib: refuse to loop WAV files that have broken "cue " chunk (for example, if loopstart points at invalid offset) 2026-08-08 16:41:49 +05:00
Alibek Omarov 4144c9e240 engine: client: vgui: refactoring 2026-08-08 16:16:15 +05:00
Alibek Omarov 9f8cb4c172 common: render_api: add CONTEXT_TYPE_SOFTWARE just to distinguish ref_soft and ref_null from ref_gl. Both returned 0 which in case of PARM_GL_CONTEXT_TYPE means compatibility GL profile 2026-08-08 00:39:42 +05:00
Alibek Omarov 28ed4e7930 engine: server: remove duplicated sv_clienttrace check, use Cvar_DirectSet 2026-08-07 23:07:21 +05:00
Alibek Omarov c2cb4ed5b8 ref: gl: mark gl_max_size as compatibility cvar 2026-08-07 07:12:30 +05:00
Alibek Omarov 3041bd0ba9 engine: client: sound: clamp mixed sample count to requested amount, fixes paintbuffer overflow with timecompressed VOX 2026-08-06 16:14:52 +05:00
Alibek Omarov 15276ef92a engine: client: sound: fix inverted check for inaudible channel auto free 2026-08-06 03:55:51 +05:00
Mohamad Kanjoanda1batross 4f554e7b8b engine: client: deliver keys in Key_Event regardless of whether the client.dll handled them or not + expanded comment
I have also removed the comment at the return statement, as its now misleading
2026-08-06 06:39:54 +08:00
Mohamad Kanjoanda1batross e39d872bb7 engine: client: deliver keys in Key_Event's handled-in-client case 2026-08-06 06:39:54 +08:00
Alibek Omarov 46add4784b ref: gl: extract studio draw mesh branch into it's own function, refactoring 2026-08-05 04:17:40 +05:00
Alibek Omarov fe62e61aa4 3rdparty: nanogl: update, again 2026-08-05 01:00:12 +05:00
Alibek Omarov de74ce9767 ref: add r_studio_builtin_renderer cvar to use engine's StudioModelRenderer. It gives no benefit other than for debugging purposes 2026-08-05 00:15:23 +05:00
Alibek Omarov 8c89579c35 3rdparty: nanogl: update 2026-08-04 21:58:54 +05:00
Alibek Omarov 18dddaf1a5 3rdparty: nanogl: update 2026-08-03 23:44:48 +05:00
Alibek Omarov d3bcdc6c06 engine: imagelib: Image_SaveWAD refactoring 2026-08-03 21:55:03 +05:00
Andrey Akhmichinanda1batross c0a40f6e03 Documentation: opensource-mods.md: add Zombie Panic. 2026-08-03 18:43:59 +08:00
Andrey Akhmichinanda1batross e3e459bb67 Documentation: supported-mod-list.md: add Half-Life: Sum. 2026-08-02 18:12:30 +05:00
Andrey Akhmichinanda1batross badda6c585 Documentation: opensource-mods.md: add Half-Life: Sum. 2026-08-02 18:05:46 +05:00
Andrey Akhmichinanda1batross db68b7c6e7 Documentation: supported-mod-list.md: update. 2026-08-01 19:20:22 +05:00
Andrey Akhmichinanda1batross 841b2bcf5a Documentation: opensource-mods.md: update. 2026-08-01 19:19:50 +05:00
Alibek Omarov a5fb74eb8f engine: use XASH_OSX macro 2026-08-01 16:12:04 +05:00
Alibek Omarov 31d44f85a7 engine: implement reading hardware serial ID on Mac, implement reading MAC addresses on *BSDs, refactoring 2026-08-01 16:12:04 +05:00
Alibek Omarov 24f8525fad engine: server: refactoring. 2026-08-01 16:12:04 +05:00
SLB8910anda1batross 04fbe1a356 CONTRIBUTING.md: fixed horrible grammer
made contributing.md actually readable
2026-07-30 20:55:09 +05:00
Andrey Akhmichinanda1batross ecda80fb9a Documentation: supported-mod-list.md: update. 2026-07-29 02:43:00 +05:00
Владислав СуховandVladimir 9f14c48787 3rdparty: mainui: update 2026-07-27 18:47:53 +04:00
Владислав Суховanda1batross 8b15bc9a96 3rdparty: mainui: update 2026-07-26 18:08:54 +05:00
Andrey Akhmichinanda1batross e6913c9ce2 Documentation: opensource-mods.md: update. 2026-07-26 08:24:34 +05:00
lewa_j b4495238d9 3rdparty: gl4es: update from upstream, with msvc build fix 2026-07-25 17:33:13 +03:00
lewa_j 635b382c1d gl4es: msvc: suppress warning spam from CHECK_SHADER: warning C4098: 'void' function returning a value
Same flag is used in gl4es's CMakeLists
2026-07-25 15:26:25 +03:00
Terence Nooneanda1batross 7fbd461f83 engine: Format code
Ran uncrustify on each file
2026-07-24 14:23:39 +05:00
Terence Nooneanda1batross eb0ff8e631 engine: Implement SDL3 resizing/mode switching
Adds the ability to switch to fullscreen, windowed, and borderless, as
well as changing fullscreen mode.
2026-07-24 14:23:39 +05:00
Terence Nooneanda1batross f50e61403f engine: Fix SDL3 support
Gets SDL3 building again on macOS. The game is able to boot to the main
menu and play with hlsdk-portable and HL assets. Some bugs when changing
video modes.
2026-07-24 14:23:39 +05:00
Alibek Omarov 2cf8c63631 engine: server: fix a typo, we should set pmove frametime before calling server pmove, instead of server global pmove, like GoldSrc
Thanks to @dkenw for drawing attention to this issue.
2026-07-22 17:36:32 +05:00
Alibek Omarov e09773c912 engine: server: add challenge to A2S_GOLDSRC_RULES and A2S_GOLDSRC_PLAYERS continuous-goldsrc-a2s-support 2026-07-22 10:03:59 +05:00
Alibek Omarov 3a15357dc8 engine: server: drop A2A_NETINFO 2026-07-22 10:03:59 +05:00
Sergey DegtyarandAlibek Omarov 2127735456 engine: implement GoldSrc A2S query for NetAPI
As Xash also supports GoldSrc like queries, it's netinfo is dropped.
2026-07-22 10:03:59 +05:00
Alibek Omarov e0ab44213a Documentation: protocol: connectionless: add GoldSrc A2S queries 2026-07-22 10:03:59 +05:00
Buggem's Fedora PCanda1batross f2166a2c9d ref: soft: Try to stop decal->pnext loops from recursing infinitely
Doesn't fix the root cause of the problem, which is the mysterious setting of decal->pnext to decal which doesn't happen in GL, but does act as a blockade and a temporary fix
2026-07-21 15:16:32 +05:00
Alibek Omarov 009855c193 scripts: waifulib: clang_format: don't abort configure when clang-format is too old, just disable the format command 2026-07-19 07:37:01 +05:00
ksagamenganda1batross f0ea3a194a platform: ios: Remake launch dialog using UIAlertController 2026-07-15 15:16:14 +05:00
Alibek Omarov 9f2b8954e9 utils: add new tool xash-clang-format, a wrapper around clang-format that adds our formatting extensions 2026-07-01 22:53:52 +05:00
Alibek Omarov 2166dbde66 3rdparty: mainui: update 2026-06-30 23:25:50 +05:00
Alibek Omarov 4c109a0c6c engine: propagate challenge to client connect message 2026-06-30 23:24:16 +05:00
Alibek Omarov 36c71c2610 engine: fixes found by fuzzing sprite loader: mostly float-to-int conversions and overflows 2026-06-30 22:12:01 +05:00
Alibek Omarov e2d6b7ab28 ref: gl: do not deadname LadyHavoc 2026-06-30 22:12:01 +05:00
Alibek Omarov 8ccb9dea3f engine: add sprite model loading fuzzing, decouple fuzzing from tests 2026-06-30 22:12:01 +05:00
Alibek Omarov 34467bfe9a ref: gl: make R_AddDynamicLights only iterate through actually lit box 2026-06-30 22:12:01 +05:00
Владислав Суховanda1batross b1d9eef896 Documentation: donate: refine contribution info and add PayPal link 2026-06-24 23:48:39 +05:00