Vilyaem
457b7fbfd9
First version of Xrasher.
Build & Deploy Engine / build (macos-13, amd64, apple) (push) Waiting to run
Build & Deploy Engine / build (macos-14, arm64, apple) (push) Waiting to run
Build & Deploy Engine / build (true, ubuntu-20.04, arm64, linux) (push) Waiting to run
Build & Deploy Engine / build (true, ubuntu-20.04, armhf, linux) (push) Waiting to run
Build & Deploy Engine / build (true, ubuntu-20.04, ppc64el, linux) (push) Waiting to run
Build & Deploy Engine / build (true, ubuntu-20.04, riscv64, linux) (push) Waiting to run
Build & Deploy Engine / build (ubuntu-20.04, amd64, linux) (push) Waiting to run
Build & Deploy Engine / build (ubuntu-20.04, i386, linux) (push) Waiting to run
Build & Deploy Engine / build (ubuntu-20.04, multiarch, android) (push) Waiting to run
Build & Deploy Engine / build (ubuntu-latest, arm64, nswitch) (push) Waiting to run
Build & Deploy Engine / build (ubuntu-latest, armv7hf, psvita) (push) Waiting to run
Build & Deploy Engine / build (windows-2019, i386, win32) (push) Waiting to run
Build & Deploy Engine / build (windows-latest, amd64, win32) (push) Waiting to run
Build & Deploy Engine / flatpak (su.xash.Engine.Compat.i386) (push) Waiting to run
Build & Deploy Engine / Upload releases (push) Blocked by required conditions
2025-03-17 10:01:06 -04:00
Alibek Omarov
62e3ba2126
engine: add cvars to control mounting additional directories
...
Use existing ui_language cvar for mounting localization folders.
2025-02-05 18:54:28 +03:00
Alibek Omarov
674a4e5883
filesystem: add ability to mount HD, LV, addon and language folders by engine request
2025-02-05 18:24:36 +03:00
Alibek Omarov
185bce0489
engine: common: remove unused D_ enum used for MsgDev in old engine. Make sure all enums and structs here are not anonymous
2025-02-02 20:26:07 +03:00
Alibek Omarov
11742efbc3
engine: fix player move on dedicated servers
2025-02-02 08:08:15 +03:00
Alibek Omarov
ad6db91285
engine: move xashid stuff onto client
2025-01-25 17:51:48 +03:00
Alibek Omarov
f0b29bac1b
engine: client: add cl_trace_consistency used to print which resources server wants to check
2025-01-23 13:57:17 +03:00
Alibek Omarov
375998dffb
Cleanup xash3d_types.h from engine-specific macros and types
2025-01-22 15:10:18 +03:00
Alibek Omarov
787444f63d
engine: simplify sound fx allocation
2025-01-22 14:46:40 +03:00
Alibek Omarov
232d1f8583
engine: make separate mempools for cmds, cvars and basecmd
2025-01-21 11:26:35 +03:00
Alibek Omarov
a75666a3cd
engine: common: fix dedicated build by defining SV_GetMaxClients before CL_GetMaxClients stub (that redirects to it)
...
Also remove CL_Shutdown from dedicated stub lists.
2025-01-14 13:10:02 +03:00
Alibek Omarov
04125284a3
engine: dedicated: make some stubs inlined
2025-01-14 12:10:31 +03:00
Alibek Omarov
90e493fa3a
engine: common: add Host_ExitInMain function that will force engine return from Host_Main() function, essentially making engine gracefully exit on Android
...
In future, this might be used everywhere, so users would be able to add custom
cleanup in some advanced game_launch implementation, on any platform.
2025-01-09 20:31:26 +03:00
Alibek Omarov
0d55441830
engine: properly pass shutdown reason down to close log, helps to finally get rid of global finalmsg
2025-01-09 08:04:18 +03:00
Alibek Omarov
14e79f04ac
engine: prevent extra malloc in exec by checking if cfg already contains newline at EOL and appending it to cbuf if required
2024-12-28 16:03:49 +03:00
Alibek Omarov
a5d78ecfd7
engine: be more verbose on why the engine is going to be shut down
2024-12-27 18:30:46 +03:00
Alibek Omarov
48bdd4238e
engine: always include reason to server shutdown
2024-12-26 02:13:13 +03:00
Alibek Omarov
0e42e5b9e3
engine: command: introduce new type of commands that can be overriden by a mod DLL for better compatibility
2024-12-26 01:15:32 +03:00
Alibek Omarov
1dd622fcbb
engine: client: keys: refactoring, remove NULL sentinels, make keys structs and few more functions private to keys.c file
2024-12-21 15:22:48 +03:00
Alibek Omarov
af4b64983a
engine: fix a typo in Cmd_AddFilteredCommand flags passed to Cmd_AddCommandEx. Make them return Cmd_AddCommandEx value
2024-12-21 15:01:04 +03:00
Alibek Omarov
a834f4996f
engine: move client adding functions to their appropriate subsystems and make them static. Make in-engine functions inlined.
2024-12-20 05:47:46 +03:00
Alibek Omarov
f7062498c2
engine: turn old pfnGetGameDir behavior into a bugcomp flag get_game_dir_full
...
This function is kinda nasty, some mods (like old RCBot builds) expect a slash,
some newer mods (like Sandbot) doesn't. To preserve compatibility with both old
and new mods, just add it as bug compatibility flag.
2024-12-05 18:14:15 +03:00
SNMetamorph
770054daaf
engine: soundlib: implemented Ogg Opus sounds streaming
2024-12-02 20:36:33 +03:00
SNMetamorph
99acd64203
engine: soundlib: implemented Ogg Vorbis sounds streaming
2024-12-02 20:36:33 +03:00
Alibek Omarov
1f5c97964b
engine: return full path in server's pfnGetGameDir, if possible
2024-11-30 09:28:30 +03:00
Alibek Omarov
56c19c4f5a
engine: client: make some simple functions, like querying entity by index, getting local player, inline
2024-11-17 13:37:32 +03:00
Alibek Omarov
0ceb0d9e11
engine: provide compatible replacement for CompareFileTime function
2024-11-17 04:33:13 +03:00
Alibek Omarov
16ed6cbdcb
engine: mark some functions as never returning nullptr
2024-11-07 16:11:58 +03:00
Alibek Omarov
d15949d2e8
Rename _format to FORMAT_CHECK
2024-11-07 14:24:07 +03:00
Alibek Omarov
c3b6422ad0
engine: common: add lzss fixes by nillerusr
2024-11-06 01:39:46 +03:00
Alibek Omarov
b45bc9af67
engine: remove gamma functions from RefAPI
2024-11-03 01:20:30 +03:00
Alibek Omarov
8af995cc28
engine: introduce REF_GET_*_PTR for gamma tables
2024-11-03 01:20:30 +03:00
Alibek Omarov
371639f0dc
engine: introduce fps_override to unlock the 200 FPS limit in multiplayer games to 1000
2024-10-30 18:28:55 +03:00
Alibek Omarov
da76abda75
engine: even more refactorings to avoid global cls.legacymode usage, now with GoldSrc server autodetection
2024-10-16 07:31:27 +03:00
Alibek Omarov
43e06ccd45
engine: common: make some simple functions inlined
2024-10-14 19:20:47 +03:00
Alibek Omarov
f52c825bf5
engine: make some global variables static and const, make even more functions static if possible
2024-10-14 19:19:46 +03:00
Alibek Omarov
ccbe370c8e
engine: client: add support for parsing GoldSrc messages
2024-10-08 04:07:03 +03:00
Alibek Omarov
f5c5b7b2c8
engine: common: add buffer munge functions
2024-10-08 03:28:02 +03:00
Alibek Omarov
3a1bb12830
engine: client: rename CL_LegacyMode to CL_Protocol
2024-10-08 03:27:09 +03:00
Alibek Omarov
9ee1b32e2d
engine: set malloc like and warn_unused_result attributes on common allocation functions, fs, image and soundlib
2024-09-30 04:00:28 +03:00
Alibek Omarov
2eb8f88a20
engine: move attenuation none sound spatialize fix to bugcomp mode, as Xash native games use this
2024-09-05 13:50:15 +03:00
Alibek Omarov
7a469fb481
engine: always use original player hulls for pmove trace, because mods can write invalid data in pmove->player_{mins,maxs}
2024-07-21 11:01:18 +03:00
Alibek Omarov
d3586c2143
engine: soundlib: add support for converting stereo to mono and back, attempt to simplify conversion boilerplate
2024-07-16 05:05:50 +03:00
Alibek Omarov
1458014a29
engine: remove unused CL_IsInMenu, don't check for Host_IsDedicated in SCR_BeginLoadingPlaque, it's useless
2024-07-10 10:24:22 +03:00
Alibek Omarov
b4376a6a8c
engine: client: make a common function for sending out userinfo changes
2024-07-06 06:09:19 +03:00
Alibek Omarov
95b48da37d
engine: allow to change hardcoded path to custom.hpk
2024-06-15 17:22:26 +03:00
Alibek Omarov
3434005e66
engine: common: make Host_IsLocalGame and Host_IsLocalClient inlined
2024-06-13 01:20:14 +03:00
Alibek Omarov
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
Alibek Omarov
2c7bf49fc9
engine: host: avoid some of unnecessary double-to-float conversions
2024-06-12 10:20:09 +03:00
Alibek Omarov
739592e50d
engine: host: refactoring, reduce usage of global variables a bit
2024-06-12 10:20:09 +03:00