Commit graph

  • 8c93a0d247 engine: client: allow playing back demos recorded on GoldSrc servers Alibek Omarov 2024-10-26 05:12:11 +03:00
  • 5c75dda864 mainui: update Alibek Omarov 2024-10-26 02:42:30 +03:00
  • 55bdded6a4 engine: add pfnIsCvarReadOnly to mainui API Alibek Omarov 2024-10-25 04:59:34 +03:00
  • 25b2c0f7e3 ref: gl: use FCVAR_GLCONFIG on VBO and detail textures cvars, so it always gets saved to opengl.cfg Alibek Omarov 2024-10-24 23:31:16 +03:00
  • ed522852cf mainui: update Alibek Omarov 2024-10-24 23:30:23 +03:00
  • 224e42d345 engine: platform: android: make dlsym-weak C++ again (because of struct soinfo definition). Reformat linker.h file as well. Alibek Omarov 2024-10-24 17:54:09 +03:00
  • 128a1f59a9 engine: cleanup XASH_64BIT usage. Always use it from build.h Alibek Omarov 2024-10-24 16:33:54 +03:00
  • 40ffde0439 3rdparty: opus: update to 1.5.2 Alibek Omarov 2024-10-24 15:51:41 +03:00
  • ec5578a437 ref: gl: vgl_shim: remove -fno-PIC to properly link it with shared library Alibek Omarov 2024-10-24 15:47:06 +03:00
  • 1cf40a2d17 engine: wscript: remove useless globs Alibek Omarov 2024-10-24 15:46:33 +03:00
  • 958ea0ac1d scripts: gha: temporarily enable verbose build output for PSVita Alibek Omarov 2024-10-24 02:05:47 +03:00
  • a9fdae28b2 engine: platform: android: reformat dlsym-weak and make it C only Alibek Omarov 2024-10-24 02:04:52 +03:00
  • 3d9eb869b0 ci: fix netbsd bzip2 package name Alibek Omarov 2024-10-24 00:55:42 +03:00
  • 8162c6d42f scripts: waifulib: xshlib: prepend xshlib so it's always first Alibek Omarov 2024-10-24 00:46:43 +03:00
  • 48a9f17222 filesystem: only export GetFSAPI, CreateInterface is useless with static linking (and should be implemented differently) Alibek Omarov 2024-10-24 00:40:47 +03:00
  • e381d04094 ref: simplify wscripts, remove gl2_shim unused wscript, fix non-existent export in exports.txt Alibek Omarov 2024-10-24 00:40:12 +03:00
  • 0e79326571 waf: upgrade to latest, fix for api changes Alibek Omarov 2024-10-24 00:37:05 +03:00
  • f7eb8cd913 engine: wscript: ensure we always add needed features when mixing C and C++ objects. Simplify bld call for all platforms Alibek Omarov 2024-10-23 23:22:23 +03:00
  • a15c1f99b2 wscript: remove useless features Alibek Omarov 2024-10-23 23:20:47 +03:00
  • ba2191172d ci: add bzip2 for sourcehut CI Alibek Omarov 2024-10-23 20:25:26 +03:00
  • 6ab2c9dbbf engine: client: fix out of bounds access with some ticket generators Alibek Omarov 2024-10-22 02:13:30 +03:00
  • 7da460d4b1 public: bump miniz to latest release Alibek Omarov 2024-10-21 21:22:50 +03:00
  • ffe7b1f4a1 3rdparty: MultiEmulator: move it to submodule Alibek Omarov 2024-10-21 14:08:16 +03:00
  • 6a1f502d25 3rdparty: MultiEmulator: remove unused code Alibek Omarov 2024-10-21 06:30:53 +03:00
  • 434359ea01 3rdparty: update mainui and extras Alibek Omarov 2024-10-21 05:58:33 +03:00
  • ae2ad6ddf2 3rdparty: add MultiEmulator by 2010kohtep Alibek Omarov 2024-10-10 19:06:26 +03:00
  • ec11683dc5 engine: client: minor fix, reference cl_allowdownload cvar actual name Alibek Omarov 2024-10-21 04:49:25 +03:00
  • 47318b0c14 engine: server: minor fix, use __func__ instead of the function name in debug message Alibek Omarov 2024-10-21 02:32:07 +03:00
  • 60d6214ad7 engine: client: implement parsing GoldSrc server query response for mainui_cpp Alibek Omarov 2024-10-21 02:31:45 +03:00
  • a3e26a21a7 engine: common: net_chan: as we expect pfnBlockSize to be always set, use it to determine if netchan was initialized or not Alibek Omarov 2024-10-21 02:30:45 +03:00
  • d0f3a6f74b engine: client: add command queryserver for mainui to query a specific address. Make server querying commands restricted Alibek Omarov 2024-10-20 02:22:09 +03:00
  • fee236a050 engine: common: net_ws: make NET_IsLocalAddress inline Alibek Omarov 2024-10-19 14:08:27 +03:00
  • e3e4bcc015 engine: global refactoring of connectionless packets, now they can be customized from single protocol.h header Alibek Omarov 2024-10-19 14:05:00 +03:00
  • 2d546ccbf7 engine: implement CL_MsgInfo for dedicated server Alibek Omarov 2024-10-18 03:13:43 +03:00
  • b41804bb5b mainui: update Alibek Omarov 2024-10-17 14:56:38 +03:00
  • 47a04df189 wscript: try to fix Windows XP compatibility on 32-bit binaries Alibek Omarov 2024-10-17 14:56:10 +03:00
  • 2efedaf46c pm_shared: mark PM_TraceSurface call in PMove API as Xash3D specific Alibek Omarov 2024-10-17 03:36:29 +03:00
  • 49e43c830b engine: client: fix formatting error in CL_ParseExtraInfo Alibek Omarov 2024-10-16 22:29:21 +03:00
  • 763e101208 ref: preserve aspect ratio when saving level and save shots Alibek Omarov 2024-10-16 21:35:52 +03:00
  • e39a62b1fd mainui: update Alibek Omarov 2024-10-16 08:33:44 +03:00
  • da76abda75 engine: even more refactorings to avoid global cls.legacymode usage, now with GoldSrc server autodetection Alibek Omarov 2024-10-16 07:31:27 +03:00
  • 829d7d0a7e engine: client: CL_SendConnectPacket refactoring Alibek Omarov 2024-10-16 07:02:23 +03:00
  • 9f6372b305 engine: client: implement GoldSrc fragment size limits Alibek Omarov 2024-10-16 07:00:10 +03:00
  • 12edd782c6 engine: common: net_chan: always rely on pfnBlockSize being non-null Alibek Omarov 2024-10-16 06:59:26 +03:00
  • 0b59fa9416 engine: swap Cvar_VariableInteger and simple integer checks for performance Alibek Omarov 2024-10-16 06:57:46 +03:00
  • cc0f12ed26 engine: client: add stubs for richpresence commands added in HL25 Alibek Omarov 2024-10-16 05:57:24 +03:00
  • f42553d0e1 readme: install 32-bit deps on Ubuntu with aptitude, as it's less prone to fuck up entire system (remove random packages, bootloader, etc...) [skip ci] Alibek Omarov 2024-10-16 00:31:59 +03:00
  • e7564420c9 engine: fix some ubsan warnings (alignment, integer limits...) Alibek Omarov 2024-10-15 23:41:05 +03:00
  • e81a0ded11 engine: client: fix sendres message for GoldSrc protocol Alibek Omarov 2024-10-15 23:38:51 +03:00
  • a32c702dbd engine: client: avoid useless check on empty clc_resourcelist, which will never be false Alibek Omarov 2024-10-15 06:15:22 +03:00
  • 23a5ed71de engine: easier MSG_EndBitWriting byte padding Alibek Omarov 2024-10-15 06:14:37 +03:00
  • 245dc97cfb engine: semi-correct printing GoldSrc client messages Alibek Omarov 2024-10-15 06:12:31 +03:00
  • ece204c30f engine: common: add cvars net_send_debug and net_recv_debug to print server/client messages to console Alibek Omarov 2024-10-15 06:11:57 +03:00
  • 1bd59096fd engine: client: implement miscellaneous, often unused, GoldSrc protocol messages Alibek Omarov 2024-10-15 06:10:25 +03:00
  • 0b02c2c6a7 engine: client: fix disconnect on GoldSrc servers Alibek Omarov 2024-10-15 06:08:21 +03:00
  • 6a61a499e9 engine: client: don't send useless/empty clc_move commands while we're connecting to server Alibek Omarov 2024-10-15 06:07:57 +03:00
  • 6b1c283082 engine: client: fix svc_event parsing Alibek Omarov 2024-10-15 06:07:06 +03:00
  • 5402a9611e engine: common: fix discarded const qualifier Alibek Omarov 2024-10-14 19:36:59 +03:00
  • 43e06ccd45 engine: common: make some simple functions inlined Alibek Omarov 2024-10-14 19:20:47 +03:00
  • f52c825bf5 engine: make some global variables static and const, make even more functions static if possible Alibek Omarov 2024-10-14 19:19:46 +03:00
  • bf8b709372 engine: move pm_debug particle functions to client, as they are never used on server Alibek Omarov 2024-10-14 19:11:26 +03:00
  • fdf82e5270 engine: client: cleanup tent and efx code, make global variables static, remove unused functions Alibek Omarov 2024-10-14 18:07:58 +03:00
  • 0224a1b66b engine: client: better debug messages for GoldSrc entities packet parsing Alibek Omarov 2024-10-14 17:59:17 +03:00
  • 505ad6d69b engine: server: reinitalize delta in case if delta was shutdown by client and some tables were omitted (movevars after using GoldSrc server) Alibek Omarov 2024-10-14 06:56:17 +03:00
  • 5bcd573821 engine: remove goldsrc meta delta table reinitialization Alibek Omarov 2024-10-14 06:54:41 +03:00
  • c5a291d9c7 engine: minor refactoring Alibek Omarov 2024-10-14 05:17:21 +03:00
  • 232a8c1148 engine: common: net_ws: don't expect more than 5 splits for GoldSrc protocol Alibek Omarov 2024-10-14 05:17:03 +03:00
  • 663f6eaf5c ref: turn r_shadows into extended convar_t Alibek Omarov 2024-10-14 04:18:35 +03:00
  • 9d3210259c ref: set hullcolor (used by r_drawentities) as const Alibek Omarov 2024-10-14 04:15:48 +03:00
  • 4ec6c2f7cf engine: client: support vox sentence that starts with leading slash Alibek Omarov 2024-10-14 04:12:45 +03:00
  • 8452bec877 engine: client: reduce reads of cls.legacymode Alibek Omarov 2024-10-14 03:44:53 +03:00
  • 0d4296e0e1 engine: client: explicitly pass protocol to svc_time parser Alibek Omarov 2024-10-14 03:24:07 +03:00
  • 2b85da3bc9 engine: client: fix parsing svc_setpause and svc_goldsrc_timescale for GoldSrc protocol Alibek Omarov 2024-10-14 03:20:16 +03:00
  • 17f194b9a3 engine: client: consolidate usermsg registering and parsing for multiple protocols Alibek Omarov 2024-10-14 03:17:12 +03:00
  • ff47fbaedc engine: client: another fix baselines and entities parsing for GoldSrc, ensure we always call MSG_EndBitWriting Alibek Omarov 2024-10-14 03:15:36 +03:00
  • 87c88f7463 engine: client: fix svc_particles parsing on GoldSrc protocol Alibek Omarov 2024-10-14 03:12:31 +03:00
  • 60fd5f7ab8 engine: client: stub svc_restoresound for legacy protocol, it's only used during save restore which is unuseful for us Alibek Omarov 2024-10-14 03:10:23 +03:00
  • 5ceab059dc engine: client: add function for parsing common protocol messages, which structure is enforced by server DLL compatibility Alibek Omarov 2024-10-14 03:07:06 +03:00
  • 67c898f9ad engine: client: improve server data parsing for GoldSrc, restore nick name and remove unuseful userinfo keys before connection Alibek Omarov 2024-10-14 03:02:50 +03:00
  • d903187eea public: make crc value init functions inline, move hex2char/ex2string to crclib and make them private to it Alibek Omarov 2024-10-14 00:42:09 +03:00
  • 653f0841e4
    ref: gl: restore r_shadows (#1843) 54ac 2024-10-13 16:15:29 +02:00
  • 10bfadb556 engine: client: support svc_disconnect reason messages for GoldSrc protocol Alibek Omarov 2024-10-11 20:58:46 +03:00
  • 0b2cc066dd engine: fix signed integers encoding with alternate format for GoldSrc protocol Alibek Omarov 2024-10-11 20:35:17 +03:00
  • 60ab13d216 engine: client: always add [Xash3D] to the nickname on GoldSrc servers Alibek Omarov 2024-10-11 19:31:05 +03:00
  • f90c658567 engine: client: skip voice data for GoldSrc protocol to avoid svc_bad Alibek Omarov 2024-10-11 19:22:49 +03:00
  • 0c54895877 engine: client: add unmunge function for consistency info for GoldSrc protocol Alibek Omarov 2024-10-11 18:39:52 +03:00
  • 4eb54328f8 engine: client: various connection setup fixes for GoldSrc proto Alibek Omarov 2024-10-11 18:35:57 +03:00
  • b1189db9c5 engine: client: avoid clc_move spam when we're connected but not spawned yet Alibek Omarov 2024-10-11 00:08:01 +03:00
  • 869578f1ba engine: client: lie about sv_version for GoldSrc protocol Alibek Omarov 2024-10-11 00:07:19 +03:00
  • 3320f776ce engine: client: implement correct clc_fileconsistency response for GoldSrc Alibek Omarov 2024-10-11 00:06:41 +03:00
  • 1d64635783 engine: correctly check for cls.legacymode, as it's not a boolean anymore Alibek Omarov 2024-10-11 00:04:03 +03:00
  • bbb076c0d4 engine: client: voice: don't print about unsupported codec with empty string name Alibek Omarov 2024-10-10 23:37:47 +03:00
  • fe2a4d0428 engine: common: net_encode: remove DT_SIGNED_GS flag just in case Alibek Omarov 2024-10-10 23:36:49 +03:00
  • 6bdc1941e6 engine: common: netchan: only compress with BZip2 when it's efficient Alibek Omarov 2024-10-10 23:36:23 +03:00
  • 9188905145 engine: client: fix map CRC match with GoldSrc protocol Alibek Omarov 2024-10-10 23:33:46 +03:00
  • 3f2fbb10d8 engine: client: only send continueloading for legacy protocol Alibek Omarov 2024-10-10 23:28:21 +03:00
  • 9c97235fe8 engine: client: implement GoldSrc connectionless print message Alibek Omarov 2024-10-10 23:28:04 +03:00
  • 70a13b47db engine: client: implement randomized cdkey for GoldSrc protocol Alibek Omarov 2024-10-10 23:27:34 +03:00
  • 18afaf0eaf engine: client: more accurate clc_move for GoldSrc protocol Alibek Omarov 2024-10-10 23:27:02 +03:00
  • 8b8c3d8116 scripts: waifulib: xcompile: define WebAssembly target as DEST_OS wasi Alibek Omarov 2024-10-10 16:13:54 +03:00