Commit graph

  • 0c4f6ae61d engine: client: like GoldSrc, use cancelselect command for escape key. It is handled in client.dll and allows mods to override Esc key behavior Alibek Omarov 2025-01-06 13:45:47 +03:00
  • b7150c3208 Documentation: opensource-mods.md: add "Earth Special Forces". Andrey Akhmichin 2025-01-02 00:36:00 +05:00
  • d6ebff81e2 engine: client: vgui: track textures upload to avoid issues in buggy mods (that are probably will never get fixed) Alibek Omarov 2024-12-30 07:26:04 +03:00
  • ce4148f351 engine: client: vgui: deprecate VGUI_CreateTexture and VGUI_UploadTextureBlock functions, as they never used by vgui_support module Alibek Omarov 2024-12-30 07:13:35 +03:00
  • 08c2632c14 engine: platform: nswitch: export _Unwind_GetIPInfo as required by cs16-client Alibek Omarov 2024-12-29 09:05:38 +03:00
  • 03eac904c1 public: make COM_FixSlashes inlined Alibek Omarov 2024-12-29 09:05:15 +03:00
  • 62f3354f4e mainui: update Alibek Omarov 2024-12-29 08:06:58 +03:00
  • d5b6eff0c0 game_launch: fix --disable-menu-changegame by request Alibek Omarov 2024-12-29 08:06:50 +03:00
  • c9ee844a24 scripts: gha: bundle SDL2 pdb file for better stacktraces on Windows Alibek Omarov 2024-12-29 02:08:05 +03:00
  • 687c9b004f engine: platform: sdl: set directsound as default audio driver on Windows, due to incompatibilities with mods Alibek Omarov 2024-12-29 01:36:18 +03:00
  • 14e79f04ac engine: prevent extra malloc in exec by checking if cfg already contains newline at EOL and appending it to cbuf if required Alibek Omarov 2024-12-28 16:03:46 +03:00
  • 5d6cf48687 engine: client: fix lightstyle timings on GoldSrc protocol, share the parser with Quake protocol handler Alibek Omarov 2024-12-28 01:40:59 +03:00
  • 88949a9ee6 engine: launcher: drop support for changing games from within internal launcher for platforms that do not have execv equivalent Alibek Omarov 2024-12-27 18:45:31 +03:00
  • 2d1e76199b engine: host: always print Host_Error text to log, even if console hasn't been enabled Alibek Omarov 2024-12-27 18:37:25 +03:00
  • a5d78ecfd7 engine: be more verbose on why the engine is going to be shut down Alibek Omarov 2024-12-27 18:30:46 +03:00
  • 3576e474e6 engine: get rid of SendKeyEvents function, it only listened for WM_QUIT on Windows and we don't use that with SDL Alibek Omarov 2024-12-27 18:19:11 +03:00
  • d50927f21f ref: gl: make r_ripple work with non-square non-pot textures, fix holes caused by unexpected transparency Alibek Omarov 2024-12-26 06:31:30 +03:00
  • c6e3146290 ref: gl: fix broken water texture when it was discarded by R_UploadRipples Alibek Omarov 2024-12-26 03:49:12 +03:00
  • 9811988cce engine: server: set mapname globals field before making first call into DLL, as some mods tend to read it too early Alibek Omarov 2024-12-26 02:50:30 +03:00
  • 48bdd4238e engine: always include reason to server shutdown Alibek Omarov 2024-12-26 02:13:13 +03:00
  • fd2b7e9197 engine: client: declare music command as overridable as the same command exists in HLU SDK Alibek Omarov 2024-12-26 01:16:37 +03:00
  • 0e42e5b9e3 engine: command: introduce new type of commands that can be overriden by a mod DLL for better compatibility Alibek Omarov 2024-12-26 01:15:32 +03:00
  • 65750f0cf3 engine: server: hack save fields that use types unsupported by Half-Life Unified SDK through array types Alibek Omarov 2024-12-26 00:36:28 +03:00
  • 6469b0a5f5 engine: common: shut up warn-unused-result on log write functions, only fetch system time for system logs when necessary Alibek Omarov 2024-12-24 11:26:27 +03:00
  • 4f98187e9a engine: move select-based stdin input function to platform/posix Alibek Omarov 2024-12-24 11:13:05 +03:00
  • 74c19a1557 engine: client: leave SDL2 client.dll detection for Windows only Alibek Omarov 2024-12-24 10:46:39 +03:00
  • cfebee6ea8 engine: split crashhandler to win32 and posix versions Alibek Omarov 2024-12-24 10:37:49 +03:00
  • bd0d6644e0 engine: move Sys_SendKeyEvents to platform/win32 Alibek Omarov 2024-12-24 09:59:47 +03:00
  • f41450127a Documentation: add note about pkg-config when compiling for Windows under Wine Alibek Omarov 2024-12-24 09:59:09 +03:00
  • 70897af362 public: add dll helpers to simplify basic interaction with exported functions lists Alibek Omarov 2024-12-23 04:43:15 +03:00
  • f1d7101ad8 engine: client: get rid of NULL sentinels at the end of arrays Alibek Omarov 2024-12-22 07:43:26 +03:00
  • ac9d960eef engine: common: get rid of NULL sentinels at the end of arrays Alibek Omarov 2024-12-22 07:22:10 +03:00
  • 0c471aecb1 engine: common: imagelib: get rid of NULL sentinels at the end of arrays Alibek Omarov 2024-12-22 07:21:06 +03:00
  • 72d0d70587 engine: server: get rid of NULL sentinels at the end of arrays Alibek Omarov 2024-12-22 07:12:32 +03:00
  • bec526a77e utils: xar: fix xar build Alibek Omarov 2024-12-22 07:11:53 +03:00
  • 4d1119391a ref: gl: get rid of NULL sentinels at the end of arrays Alibek Omarov 2024-12-22 07:11:28 +03:00
  • 1dd622fcbb engine: client: keys: refactoring, remove NULL sentinels, make keys structs and few more functions private to keys.c file Alibek Omarov 2024-12-21 15:22:44 +03:00
  • af4b64983a engine: fix a typo in Cmd_AddFilteredCommand flags passed to Cmd_AddCommandEx. Make them return Cmd_AddCommandEx value Alibek Omarov 2024-12-21 15:01:04 +03:00
  • e751092555 engine: common: cmd: consider filtered buffer privileged when we're running local singleplayer game Alibek Omarov 2024-12-20 05:48:33 +03:00
  • ce06b1d3d7 engine: client: allow CL_GetLocalPlayer to return NULL rather than halting whole server Alibek Omarov 2024-12-20 05:47:18 +03:00
  • a834f4996f engine: move client adding functions to their appropriate subsystems and make them static. Make in-engine functions inlined. Alibek Omarov 2024-12-20 05:37:15 +03:00
  • fdcf267fe3 engine: client: fix usermessage being removed because of case-sensitivity (message names are case-insensitive when transferred from server to client) Alibek Omarov 2024-12-20 03:05:14 +03:00
  • 7f2ebd1b5e engine: server: add command sv_list_messages to print all registered user messages Alibek Omarov 2024-12-20 02:37:30 +03:00
  • 68b2d9f269 engine: server: fix possible message number inconsistency if server requested it twice Alibek Omarov 2024-12-20 02:37:01 +03:00
  • 3f1eed9f59 engine: client: remove svc_goldsrc_* definitions for message that semantics matches Xash3D 49 protocol and instead use it's definitions Alibek Omarov 2024-12-20 01:48:30 +03:00
  • 0637dbaab1 engine: client: refactor and simplify CL_RegisterUserMessage Alibek Omarov 2024-12-20 01:47:22 +03:00
  • 85388e97c1 engine: client: add command cl_list_messages to print all registered user messages Alibek Omarov 2024-12-20 01:46:52 +03:00
  • de961eb45e engine: client: use new extension for creating temporary files for demoheader Alibek Omarov 2024-12-19 07:10:02 +03:00
  • 3d60770b84 filesystem: add flag to open files in a RAM Alibek Omarov 2024-12-19 04:18:19 +03:00
  • 93c5853356 engine: server: merge SV_FindBestBaseline for normal entities and static entities into single function Alibek Omarov 2024-12-18 06:57:07 +03:00
  • 98e587285b engine: client: allocate static entities only when server sends static entity packet Alibek Omarov 2024-12-18 06:49:45 +03:00
  • 2aa13c8347 public: xash3d_mathlib: include string.h with memset definition Alibek Omarov 2024-12-17 21:58:37 +03:00
  • 53344771fd public: xash3d_mathlib: get rid of matrix identity global macros Alibek Omarov 2024-12-17 20:54:41 +03:00
  • 2373743920 public: mention FSF in copyright header, as some of the libc extensions callbacks were derived from glibc [skip ci] Alibek Omarov 2024-12-17 20:41:48 +03:00
  • 90a3497afe public: improve Q_strncat fallback implementation Alibek Omarov 2024-12-17 20:12:58 +03:00
  • 339aebb08c public: add Q_strnlen with fallback to memchr Alibek Omarov 2024-12-17 20:00:36 +03:00
  • b4afe390d6 public: slight refactoring Alibek Omarov 2024-12-17 19:57:27 +03:00
  • ca0c5f929a engine: slight refactoring of lightstyle handling functions Alibek Omarov 2024-12-17 17:04:26 +03:00
  • 48cc526c7e engine: client: fix possible svc_pings misparse by reading until null bit is encountered Alibek Omarov 2024-12-15 18:22:40 +03:00
  • 3d30dc8d02 mainui: update Alibek Omarov 2024-12-08 01:40:42 +03:00
  • 75adb2e686 engine: server: for entities physics code directly use cvar values rather than movevars. Leave movevars to player movement only Alibek Omarov 2024-12-08 01:39:24 +03:00
  • 45787a87b3 android: try to enable poly-opt and lto optimizations for release builds Alibek Omarov 2024-12-05 22:33:22 +03:00
  • 0a85734ae7 engine: server: avoid useless copying in SV_GetClientIDString for bots or local clients Alibek Omarov 2024-12-05 19:49:51 +03:00
  • b28c1186b2 filesystem: fix loading dlls by full path as required by metamod-r Alibek Omarov 2024-12-05 19:20:13 +03:00
  • 5007f8488c engine: host: add simple usage help for -bugcomp flag Alibek Omarov 2024-12-05 18:29:54 +03:00
  • f7062498c2 engine: turn old pfnGetGameDir behavior into a bugcomp flag get_game_dir_full Alibek Omarov 2024-12-05 18:14:07 +03:00
  • 964744d330 engine: client: fix broken build due to incorrect constant being used Alibek Omarov 2024-12-05 14:20:43 +03:00
  • f5d635b67b engine: client: allow VOX words use other formats than WAV Alibek Omarov 2024-12-05 12:41:43 +03:00
  • d0112a98b5 engine: client: improve error reporting in VOX_LoadSound, allow longer result paths, fix possible buffer overflow Alibek Omarov 2024-12-05 12:41:12 +03:00
  • 614b9113ad engine: platform: as an exception, allow calling direct platform-specific implementations of Platform_Sleep to make them inlined Alibek Omarov 2024-12-04 18:37:29 +03:00
  • e14cd758ad engine: turn Platform_Sleep into an inline function that directly calls platform-specific delay functions Alibek Omarov 2024-12-04 18:32:03 +03:00
  • de1361d99d android: don't show unfinished downloads. Set progress to 1.0f when done Alibek Omarov 2024-12-04 17:08:55 +03:00
  • e731775f70 android: cleanup unused imports Alibek Omarov 2024-12-04 16:27:53 +03:00
  • 342d61b283 engine: platform: sdl: always call SDL_Quit in Platform_Shutdown Alibek Omarov 2024-12-04 16:14:56 +03:00
  • b030cdb4e3 engine: client: add NULL check to prevent crash if in_graph key doesn't exist in client.dll Alibek Omarov 2024-12-03 21:56:06 +03:00
  • 18a973d4f2 engine: server: always set sv_background to zero on server shutdown rather than on server dll unload Alibek Omarov 2024-12-03 21:02:37 +03:00
  • 51fa7d2611 wscript: strip lib prefix from new opus and vorbis targets, don't link them in dedicated Alibek Omarov 2024-12-02 21:59:11 +03:00
  • 6b6d3b3770 3rdparty: opusfile: wscript: hack building on Android with API level lower than 24 Alibek Omarov 2024-12-02 21:28:32 +03:00
  • fd5e3fbbb9 android: configure waf with bundled deps to not look for system libs, as Android doesn't have any Alibek Omarov 2024-12-02 20:58:58 +03:00
  • 6247bbc629 3rdparty: libogg: wscript: remove useless defines Alibek Omarov 2024-12-02 20:51:33 +03:00
  • 0181e640c9 3rdparty: wscript: set explicit names for correct dependency calc of generated files Alibek Omarov 2024-12-02 20:43:48 +03:00
  • 26230596ba 3rdparty: bzip2: wscript: bring back generating bz_version.h.in now that cmake.py has subst support Alibek Omarov 2024-12-02 20:35:33 +03:00
  • 884e052d98 scripts: waifulib: cmake: replicate Waf behavior and always add build directories to the include path. Alibek Omarov 2024-12-02 20:50:55 +03:00
  • 5516180ed8 scripts: waifulib: cmake: add limited subst feature support Alibek Omarov 2024-12-02 20:33:21 +03:00
  • 6d00aef398 engine: move soundlib onto client, only leave snd_utils with some functions that's engine core or server are dependent on Alibek Omarov 2024-12-02 19:30:55 +03:00
  • 2d52dae69c engine: common: soundlib: reformat everything using uncrustify Alibek Omarov 2024-12-02 18:58:50 +03:00
  • eb64ffcec9 uncrustify: sync with fakk2-sdk and make some fixes on star ptr alignments Alibek Omarov 2024-12-02 18:58:15 +03:00
  • 7eba5a994d wscript: specifically look for opus 1.4, as 1.5 have broken custom modes Alibek Omarov 2024-12-02 18:48:13 +03:00
  • c39d2e243a wscript: look for system provided vorbis and opus dependencies Alibek Omarov 2024-12-02 18:47:48 +03:00
  • 3661af921e readme: added mention of Ogg Vorbis & Ogg Opus formats support SNMetamorph 2024-12-02 16:37:33 +04:00
  • 4581755f9b 3rdparty: libogg: added generating of config_types.h SNMetamorph 2024-12-02 13:32:59 +04:00
  • 593b0f295a engine: soundlib: added proper errors reporting for Ogg Opus sound routines SNMetamorph 2024-12-02 01:30:31 +04:00
  • 7c23b6473c engine: soundlib: added proper errors reporting to Ogg Vorbis sound routines SNMetamorph 2024-12-02 01:11:57 +04:00
  • 960a3a1483 engine: soundlib: minor codestyle and headers-related fixes SNMetamorph 2024-12-02 00:42:19 +04:00
  • 485d4324f8 3rdparty: libvorbis & libvorbisfile combined into one wscript SNMetamorph 2024-12-02 00:24:52 +04:00
  • 881788c0c9 3rdparty: libogg & opusfile wscript fixes SNMetamorph 2024-12-02 00:15:52 +04:00
  • 73cf55b958 wscript: link sound format related libraries in XASH_DEDICATED build mode SNMetamorph 2024-12-01 20:04:10 +04:00
  • b7c2c476a8 engine: soundlib: implemented sound looping feature for Ogg Vorbis SNMetamorph 2024-12-01 19:22:25 +04:00
  • fa152bef20 engine: soundlib: implemented sound looping feature for Ogg Opus SNMetamorph 2024-12-01 19:21:57 +04:00
  • 770054daaf engine: soundlib: implemented Ogg Opus sounds streaming SNMetamorph 2024-12-01 18:46:45 +04:00