Commit graph

  • c23b4bfe61 nits David DeGraw 2025-01-23 12:27:02 -07:00
  • 4780f70ea2 Improve mod installation instructions David DeGraw 2025-01-22 12:05:23 -07:00
  • 98a04c7764 FIx Matrix*x4_LoadIdentity (xash3d_mathlib.h) NightFox 2025-01-25 00:48:27 +03:00
  • 7da9772143 engine: check for macOS bundle in SDL_GetBasePath, and fallback to SDL_GetPrefPath for our directory Alibek Omarov 2025-01-23 22:57:11 +03:00
  • f0b29bac1b engine: client: add cl_trace_consistency used to print which resources server wants to check Alibek Omarov 2025-01-23 13:57:15 +03:00
  • 7b5ff606bd 3rdparty: extras: enable compression of extras.pk3 Alibek Omarov 2025-01-23 13:08:53 +03:00
  • 3e22ee64ae scripts: waifulib: zip: add support for passing compression level on Python 3.7. Exclude PNG files from compression Alibek Omarov 2025-01-23 13:08:21 +03:00
  • c86c45503f engine: replace few more Xash3D strings by XASH_ENGINE_NAME macro Alibek Omarov 2025-01-23 10:33:22 +03:00
  • ef75a4c28d engine: rename pref path on Mac to Xash3D FWGS by allowing for custom branding through XASH_ENGINE_NAME macro Alibek Omarov 2025-01-23 10:24:53 +03:00
  • bccd3f2271 engine: pass launcher's default game directory all the way down to Platform_Init, so we mount correct extras.pk3 on Mac Alibek Omarov 2025-01-23 10:22:53 +03:00
  • 7bbc3e8238 Made modifications for Mac App Bundle Tom Kidd 2025-01-19 22:00:45 -06:00
  • c34e0c66d9 engine: add fuzzing target for Mod_LoadModel Alibek Omarov 2025-01-23 10:12:32 +03:00
  • e5d80878b8 scripts: waifulib: add asan-only build type Alibek Omarov 2025-01-23 10:11:20 +03:00
  • 1e075d25b7 engine: make LZSS compression optional for 49 protocol, disable it for local clients (singleplayer) Alibek Omarov 2025-01-22 21:18:11 +03:00
  • d29e53481d engine: client: remove unused S_StreamAviSamples Alibek Omarov 2025-01-22 20:01:11 +03:00
  • d23a2fd2df engine: client: stub AVI_StreamSound RenderAPI call, it is not used in ffmpeg-based video playback code Alibek Omarov 2025-01-22 20:00:50 +03:00
  • f6f15cc204 engine: mod_studio: validate studio self-reported length before loading model Alibek Omarov 2025-01-22 20:00:13 +03:00
  • 4f2249ed8e ref: support loading sprites with truncated palette Alibek Omarov 2025-01-22 19:23:57 +03:00
  • 9f322df498 engine: imagelib: handle loading truncated palette files, by filling remaining bytes with zeros Alibek Omarov 2025-01-22 19:21:51 +03:00
  • b554d7e215 ref: properly handle unloading sprites that aren't loaded completely Alibek Omarov 2025-01-22 19:20:20 +03:00
  • 719093c10b ref: properly return false to the engine if renderer refuses to load the model for some reason Alibek Omarov 2025-01-22 19:13:23 +03:00
  • c2da140ccc engine: model: do not crash if renderer refused to load this model Alibek Omarov 2025-01-22 19:12:43 +03:00
  • 375998dffb Cleanup xash3d_types.h from engine-specific macros and types Alibek Omarov 2025-01-22 15:09:18 +03:00
  • 787444f63d engine: simplify sound fx allocation Alibek Omarov 2025-01-22 14:46:40 +03:00
  • 0c50076ff0 engine: zone: ensure poolcount is zero on Memory_Init Alibek Omarov 2025-01-22 13:49:44 +03:00
  • 8ce01c38c7 engine: http: ensure we don't write broken decompressed files Alibek Omarov 2025-01-22 13:49:24 +03:00
  • cac6206984 engine: client: allocate everything related to sounds in the sound pool Alibek Omarov 2025-01-22 13:48:13 +03:00
  • a5c88bdda9 engine: touch: allow smoother migration from old engine touch configs by stripping .tga extension Alibek Omarov 2025-01-22 13:40:47 +03:00
  • fc017286a6 engine: base_cmd: slightly faster search based on assumption that list is always ordered Alibek Omarov 2025-01-22 05:24:33 +03:00
  • 20d4e3e719 engine: fix flexible array member usage in case of null terminated strings Alibek Omarov 2025-01-22 05:37:47 +03:00
  • 4eaa32fc10 engine: whereami: sync with upstream Alibek Omarov 2025-01-21 20:03:20 +03:00
  • b7c025b167 filesystem: android: request buffer for Android asset LoadFile implementation Alibek Omarov 2025-01-21 19:50:11 +03:00
  • f29c588e0f filesystem: take code from DarkPlaces to properly read compressed files Alibek Omarov 2025-01-21 18:47:38 +03:00
  • 2065ef143a engine: server: fix ent_create under PrimeXT Alibek Omarov 2025-01-21 16:09:56 +03:00
  • a5c02c85f0 filesystem: wad: get rid of sentinel value at the end of wad_types array Alibek Omarov 2025-01-21 15:24:31 +03:00
  • 9a8761f1d8 engine: client: remove unused NetAPI_ValueForKey function Alibek Omarov 2025-01-21 15:17:03 +03:00
  • 273990d292 engine: cmd: store command description in flexible array member Alibek Omarov 2025-01-21 15:06:08 +03:00
  • 0e27d8717c ref: remove servercount from texture struct, Xash don't use it (and it's also harmful anyway) Alibek Omarov 2025-01-21 14:36:33 +03:00
  • 8a9b209db0 engine: zone: optimize memory usage a bit by compressing memheader_t better while keeping it efficient Alibek Omarov 2025-01-21 14:04:13 +03:00
  • 232d1f8583 engine: make separate mempools for cmds, cvars and basecmd Alibek Omarov 2025-01-21 11:26:35 +03:00
  • 6cfa5877a4 engine: base_cmd: decrease base cmd hash size Alibek Omarov 2025-01-21 11:25:33 +03:00
  • 154df00f94 filesystem: don't create full path to rwdir, as cwd is always equal to rwdir Alibek Omarov 2025-01-20 19:53:00 +03:00
  • c5649c94d5 engine: client: fix delta entity packet flush on GoldSrc protocol Alibek Omarov 2025-01-20 19:38:40 +03:00
  • a1da10fe38 filesystem: set default values for quick/autosave aged count Alibek Omarov 2025-01-20 16:01:25 +03:00
  • 17a71ffc96 ci: upgrade freebsd tasks. Andrey Akhmichin 2025-01-19 00:55:06 +05:00
  • 4609fbc0c5 Documentation: supported-mod-list.md: update links. Andrey Akhmichin 2025-01-19 00:33:22 +05:00
  • d278d3bdd7 engine: common: fix clang build. Andrey Akhmichin 2025-01-19 02:35:20 +05:00
  • 7811b60292 engine: common: fix build for apple and freebsd-15 Alibek Omarov 2025-01-18 10:40:12 +03:00
  • 870fad5606 public: tests: remove Q_colorstr tests Alibek Omarov 2025-01-18 10:36:11 +03:00
  • 3e93aa459d engine: net_buffer: turn bit write and read masks into predefined arrays, so we don't have to call InitMasks Alibek Omarov 2025-01-18 09:46:44 +03:00
  • 626c5e44f6 engine: client: use existing engine functions for some client API functions Alibek Omarov 2025-01-18 09:44:21 +03:00
  • c906aa0106 ref: gl: make DrawGLPoly and R_TextureAnimation private to brush rendering code Alibek Omarov 2025-01-18 08:39:31 +03:00
  • 0a41b70e44 ref: gl: store ripple texture in texture's fb_texturenum as it's only used for water and water don't have luma Alibek Omarov 2025-01-18 08:38:43 +03:00
  • ea338adc46 ref: gl: make GL_FrustumSetPlanme private to the frustum implementation Alibek Omarov 2025-01-18 08:34:25 +03:00
  • 5fa777578b ref: gl: fix detail texture leak, fix texture leak when texture have default texture set (in which case it still might have other textures set) Alibek Omarov 2025-01-18 08:33:20 +03:00
  • 5b9db5940b engine: mod_bmodel: don't try to load luma/fullbright texture for water, as no renderers support it anyway, and instead we will use that field for rippletexture Alibek Omarov 2025-01-18 08:30:59 +03:00
  • 4b1b3aa13c public: remove Q_colorstr, as it's completely useless and checking for color string is easy actually Alibek Omarov 2025-01-18 08:29:06 +03:00
  • 2d51d23d89 engine: client: don't send commands until ca_active on Xash protocol Alibek Omarov 2025-01-17 15:06:53 +03:00
  • b5b6dad39c engine: fix a typo in scroll lock (missing L) Alibek Omarov 2025-01-15 23:49:13 +03:00
  • a5619e9960 engine: take keydefs header from Quake-2 source code (client/keys.h) Alibek Omarov 2025-01-15 23:37:20 +03:00
  • a75666a3cd engine: common: fix dedicated build by defining SV_GetMaxClients before CL_GetMaxClients stub (that redirects to it) Alibek Omarov 2025-01-14 13:09:18 +03:00
  • 49426721d8 engine: use zero initializers instead of memset Alibek Omarov 2025-01-14 12:11:10 +03:00
  • 04125284a3 engine: dedicated: make some stubs inlined Alibek Omarov 2025-01-14 12:10:31 +03:00
  • 1d4f7b2f94 engine: server: slight refactoring, make SV_ModelHandle inlined, move PlayerIsFrozen to sv_client, fix packet loss data type Alibek Omarov 2025-01-14 12:04:48 +03:00
  • 38c82a3f76 engine: don't bother calculating crc32 for local clients for better performance (thanks @tyabus for the idea) Alibek Omarov 2025-01-14 11:55:28 +03:00
  • 785632a437 filesystem: minor refactoring in MD5_HashFile, use initializer instead of memset, limit buffer variable scope Alibek Omarov 2025-01-14 11:36:13 +03:00
  • 4be75af214 engine: client: always write buffer.dat so we will be able to request it from users. Append protocol number to it Alibek Omarov 2025-01-14 11:30:06 +03:00
  • dcdca01e86 ref: gl: declare VBO globals static Alibek Omarov 2025-01-09 08:19:45 +03:00
  • 201d9c8f80 public: split VCS info to separate file for slightly better compilation speeds Alibek Omarov 2025-01-13 19:44:07 +03:00
  • 69341e36a3 public: expose commit and branch as global variables instead of functions Alibek Omarov 2025-01-13 19:20:53 +03:00
  • 3532a77643 public: move git commit and branch private to libpublic Alibek Omarov 2025-01-13 19:06:39 +03:00
  • 35dc072b26 filesystem: on Android, assume all paths are case-sensitive because doing Linux-specific ioctl check crashes FUSE driver and kills our app Alibek Omarov 2025-01-13 13:56:15 +03:00
  • f92a3695b3 filesystem: fix fd leak in Platform_GetDirectoryCaseSensitivity Alibek Omarov 2025-01-13 13:54:42 +03:00
  • a7b776f3b9 Revert "wscript: disable /showIncludes based msvcdeps for now, it causes issues with non-English locales" Alibek Omarov 2025-01-10 21:48:43 +03:00
  • f2fb668c9e android: now run exit() from Java side, as the next engine run is expected to be clean Alibek Omarov 2025-01-09 21:29:01 +03:00
  • 90e493fa3a engine: common: add Host_ExitInMain function that will force engine return from Host_Main() function, essentially making engine gracefully exit on Android Alibek Omarov 2025-01-09 20:26:14 +03:00
  • 692bcc4073 engine: client: cl_tent: rewrite fizz effect, fix incorrect positoning along the way Alibek Omarov 2025-01-09 19:23:40 +03:00
  • 823642b10d readme: add link to ipa-reader.com for Xash word pronounciation [skip ci] Alibek Omarov 2025-01-09 17:13:49 +03:00
  • 07189ca2f5 engine: client: remove spammy message about not precached model on client side Alibek Omarov 2025-01-09 17:07:09 +03:00
  • 0d55441830 engine: properly pass shutdown reason down to close log, helps to finally get rid of global finalmsg Alibek Omarov 2025-01-09 08:04:18 +03:00
  • 98ff33d9e2 engine: mod_bmodel: rewrite .lit file loader using normal stream io functions Alibek Omarov 2025-01-08 09:21:38 +03:00
  • baa8fbaaec engine: mod_bmodel: fix misleading debug message telling about monochrome lighting when .lit file is used Alibek Omarov 2025-01-08 09:17:55 +03:00
  • a0b46da04b engine: consolidate all box clipnodes used in studio models, pmove and server in a single place Alibek Omarov 2025-01-08 08:17:21 +03:00
  • e70ba7ad64 engine: now, remove SUPPORT_BSP2_FORMAT macro, only prevent ref_soft from loading such maps Alibek Omarov 2025-01-08 07:59:01 +03:00
  • 8a41be9d47 engine: server: finally, make a union for large leaf indices in edict_t so we can run bsp2 maps without recompiling Alibek Omarov 2025-01-08 07:55:50 +03:00
  • 47aff9e30b engine: hack mnode_t struct so we can have 24-bit face and children indices to support BSP2 format in runtime Alibek Omarov 2025-01-08 07:35:22 +03:00
  • ced8744ac9 engine: split edge struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime Alibek Omarov 2025-01-08 04:50:44 +03:00
  • 734c07ddab engine: split clipnodes struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime Alibek Omarov 2025-01-08 04:41:52 +03:00
  • ceb603488a engine: platform: sdl: set up our custom log output function to catch all SDL errors in engine log file Alibek Omarov 2025-01-08 10:10:41 +03:00
  • 80bac157eb Update SDL to 2.30.11, use GitHub links for SDL, as it might be faster on Actions virtual machines Alibek Omarov 2025-01-08 09:37:32 +03:00
  • b45581c630 Documentation: gameinfo: add a note about liblist.gam and gameinfo.txt changes Alibek Omarov 2025-01-07 09:54:40 +03:00
  • d4fe3d6f8a filesystem: wscript: check d_type field in struct dirent, as this is an extension and some supported ports (like psvita) don't have it Alibek Omarov 2025-01-07 09:29:18 +03:00
  • 1907485895 filesystem: re-enable folder check for array returned by listdirectory with dirs_only set to true Alibek Omarov 2025-01-07 09:22:58 +03:00
  • cfebb3e1d6 filesystem: massively rework how scanning game directories work Alibek Omarov 2025-01-07 08:50:29 +03:00
  • f9a0057c28 wscript: fix bsp2 build bruh Alibek Omarov 2025-01-07 08:34:43 +03:00
  • ceb2b0c5e4 filesystem: add utility function FS_CheckForQuakePak that parses Quake PAK file and looks for specific files in it's root Alibek Omarov 2025-01-07 07:55:40 +03:00
  • 83b5edea88 engine: platform: sdl: clear key states on losing window focus Alibek Omarov 2025-01-06 16:23:43 +03:00
  • 9d2a85f11f engine: client: clear mouse state along with everything else in Key_ClearStates Alibek Omarov 2025-01-06 16:01:48 +03:00
  • 93d3df81ee engine: client: small refactoring and better explanation for char input handler for menus that don't query our extended API Alibek Omarov 2025-01-06 15:58:47 +03:00
  • 2a7f13151a engine: cmd: when command is already defined and has the same function pointer, show it as warning Alibek Omarov 2025-01-06 13:51:06 +03:00