Commit Graph

  • 69e801d6b8 engine: fix bug where user stucks after loading map/save while being connected to remote server Alibek Omarov 2024-01-09 04:16:34 +03:00
  • 388cc3061f mainui: update Alibek Omarov 2024-01-09 03:55:28 +03:00
  • c9d29b3955 ref: gl: fix overbrights with VBO Alibek Omarov 2024-01-09 03:53:40 +03:00
  • 371025dc8e engine: dedicated: add TextureToGamma stub for imagelib Alibek Omarov 2024-01-07 03:51:47 +03:00
  • cf7a79bff3 ref: gl: particles aren't supposed to care about gamma Alibek Omarov 2024-01-07 03:28:53 +03:00
  • 55dfa1bf44 ref: soft: reorder applying light gamma Alibek Omarov 2024-01-07 02:47:41 +03:00
  • 519c8a032a ref: soft: adapt studio renderer to new gamma implementation Alibek Omarov 2024-01-07 02:34:00 +03:00
  • c15822f375 ref: soft: don't depend on light gamma in recursive light point Alibek Omarov 2024-01-07 02:21:07 +03:00
  • 0e91deec19 ref: soft: remove unused scale (remnants of r_lightmap_modulate), use integer values for non-interpolated lightstyles Alibek Omarov 2024-01-07 02:19:47 +03:00
  • 87b204c661 ref: gl: remove unused scale (remnants of r_lightmap_modulate), use integer values for non-interpolated lightstyles Alibek Omarov 2024-01-07 02:19:04 +03:00
  • caefa0b7b9 engine: remove cvar r_lighting_modulate, it's some unindentifiable legacy Alibek Omarov 2024-01-06 21:45:26 +03:00
  • a311923d4e engine: imagelib: apply texgamma to palette (ideally should be applied only to BSP/WAD textures) Alibek Omarov 2024-01-06 21:44:41 +03:00
  • ee4cb39f3e ref: gl: adapt alias renderer to new gamma implementation (untested) Alibek Omarov 2024-01-06 20:21:51 +03:00
  • 18436a70eb ref: gl: support overbrights, change the gamma applying order closer to the original renderer Alibek Omarov 2024-01-06 19:35:49 +03:00
  • 8298053e6a ref: gl: don't depend on lightgamma in recursive light point Alibek Omarov 2024-01-06 19:23:05 +03:00
  • 9304a0041d ref: gl: support kRenderFxLightMultiplier Alibek Omarov 2024-01-06 19:21:11 +03:00
  • 64f92003fa ref: gl: adapt studio lightning to new gamma Alibek Omarov 2024-01-06 19:20:19 +03:00
  • be0a241244 engine: client: add tests for new gamma implementation Alibek Omarov 2024-01-06 19:00:31 +03:00
  • df6546d5b1 engine: client: add new gamma implementation Alibek Omarov 2024-01-06 18:54:21 +03:00
  • a0c31120d9 ref: add R_GammaChanged function that engine calls on every gamma change Alibek Omarov 2024-01-06 18:38:53 +03:00
  • c0757bd84c ref: gl: remove vid_gamma/vid_brightness changed cvar value check Alibek Omarov 2024-01-06 18:35:13 +03:00
  • 9fa32a9cf4 ref: soft: remove vid_gamma/vid_brightness changed cvar value check Alibek Omarov 2024-01-06 18:34:07 +03:00
  • 15bc09b06b engine: platform: linux: Add gettid definition for old systems Ruslan Piasetskyi 2024-01-05 13:59:16 +01:00
  • 315aea1991 filesystem: support mods liblist.gam/gameinfo.txt with relative paths to game libs Alibek Omarov 2024-01-05 04:34:06 +03:00
  • 380422a6dc engine: client: refactor CL_AddEntityEffects, bring everything to GoldSrc behavior Alibek Omarov 2024-01-05 04:10:31 +03:00
  • be26ecf1c9 engine: client: don't spawn model effects for players, like GoldSrc Alibek Omarov 2024-01-05 04:09:20 +03:00
  • d2bbe9dfd2 engine: client: don't spawn multiple model effects Alibek Omarov 2024-01-05 04:08:52 +03:00
  • 9c929c1405 engine: client: don't spawn particles if time is stopped Alibek Omarov 2024-01-05 02:59:47 +03:00
  • 9551240680 engine: host: fix -Werror=parentheses Alibek Omarov 2024-01-05 02:35:16 +03:00
  • 6605d0456c engine: host: force ENGINE_STEP_POSHISTORY_LERP for Counter-Strike and Condition Zero Alibek Omarov 2024-01-05 02:27:34 +03:00
  • 99e8f7b486 engine: host: fix warning about incompatible features bits Alibek Omarov 2024-01-05 02:26:25 +03:00
  • 5ac8f63741 ref: soft: replace skin texture num bound by a proper check, fixes wrong skin on flags in Adrenaline Gamer Alibek Omarov 2024-01-05 02:25:18 +03:00
  • 9d3949a948 ref: gl: replace skin texture num bound by a proper check, fixes wrong skin on flags in Adrenaline Gamer Alibek Omarov 2024-01-05 02:25:10 +03:00
  • 5bd1dd34b3 ci: disable freebsd-12 task Alibek Omarov 2024-01-04 22:15:08 +03:00
  • 6862b14e59 ref: soft: only draw MOVETYPE_FOLLOW studio model if it's parent is visible Alibek Omarov 2024-01-04 21:55:55 +03:00
  • dc1d65f621 ref: gl: only draw MOVETYPE_FOLLOW studio model if it's parent is visible Alibek Omarov 2024-01-04 21:55:32 +03:00
  • fba3a2b67f ref: soft: return NULL in GetEntityByIndex and ModelHandle Alibek Omarov 2024-01-04 21:47:03 +03:00
  • b946c8455d ref: gl: return NULL in GetEntityByIndex and ModelHandle just in case Alibek Omarov 2024-01-04 21:46:41 +03:00
  • c56e876043 engine: client: don't reset runfuncs for demoplayback Alibek Omarov 2024-01-04 06:11:15 +03:00
  • 9773d11464 engine: client: disable MOVETYPE_TOSS interpolation in old protocol, but keep animtime hack for them Alibek Omarov 2024-01-04 05:53:04 +03:00
  • 3c28b11754 engine: client: cl_demo: fix usercmd in demo playback Alibek Omarov 2024-01-04 05:48:43 +03:00
  • f2584dcb9d engine: host: better engine features print Alibek Omarov 2024-01-04 05:31:01 +03:00
  • ce73838f1b engine: add a function that validates requested features bits Alibek Omarov 2024-01-04 05:09:36 +03:00
  • 49f972a7c9 engine: add new engine feature ENGINE_STEP_POSHISTORY_LERP that enables CStrike's MOVETYPE_STEP lerp based on position history Alibek Omarov 2024-01-04 05:05:03 +03:00
  • 1ae01d89de engine: client: correctly support ENGINE_COMPUTE_STUDIO_LERP feature flag without STUDIO_INTERPOLATION_FIX enabled Alibek Omarov 2024-01-04 03:35:16 +03:00
  • 8e54e18c8f engine: client: disable STUDIO_INTERPOLATION_FIX Alibek Omarov 2024-01-04 03:32:59 +03:00
  • 18136e5320 engine: client: implement HL25's cl_fixmodelinterpolationartifacts cvar Alibek Omarov 2024-01-04 03:31:49 +03:00
  • a29f1899d3 engine: client: remove unused extrapolate variable in CL_PureOrigin Alibek Omarov 2024-01-03 19:06:41 +03:00
  • 0f804ffc30 engine: client: use extra precision for interpolation Alibek Omarov 2024-01-03 19:02:09 +03:00
  • 620a4b4894 engine: client: wrong check order, fix previous commit Alibek Omarov 2023-12-31 06:35:38 +03:00
  • 4cf87c2c23 engine: client: prevent memory corruption on old protocol when server didn't sent local player info in delta at spawn Alibek Omarov 2023-12-31 06:17:36 +03:00
  • f031c31b77 engine: client: try another workaround for backwards animtime Alibek Omarov 2023-12-31 06:12:00 +03:00
  • c2447d8634 engine: client: stupid hack to allow monsters interpolation on a very specific old protocol engine mod Alibek Omarov 2023-12-31 05:03:02 +03:00
  • ae9c1d9f18 engine: remove single-binary option. Now platforms that don't need external launcher, shall set env.DISABLE_LAUNCHER Alibek Omarov 2023-12-30 23:45:17 +03:00
  • 0132eb6e44 ref: gl: restore usage of FWORLD_CUSTOM_SKYBOX flag, do direct checks instead of PARM check, remove unused tr.fCustomSkybox Alibek Omarov 2023-12-30 16:55:31 +03:00
  • f12df54226 ref: soft: remove unused tr.fCustomSkybox Alibek Omarov 2023-12-30 16:54:56 +03:00
  • d971055927 engine: move PARM_SKY_SPHERE handling out of engine to renderer, after all renderers might or might not support sky spheres Alibek Omarov 2023-12-30 16:54:37 +03:00
  • 6059538d77 ref: gl: use direct host.features instead of PARM_FEATURES Alibek Omarov 2023-12-30 16:41:51 +03:00
  • 17deba0606 ref: gl: use direct cl.paused instead of PARM_GAMEPAUSED Alibek Omarov 2023-12-30 16:41:39 +03:00
  • 82a2d272ad ref: gl: use direct host.features instead of PARM_FEATURES Alibek Omarov 2023-12-30 16:41:22 +03:00
  • 707a9228e1 engine: ref_api: draft RefAPI 6. Alibek Omarov 2023-12-28 22:19:46 +03:00
  • 59ddfb787f ref: soft: remove GetPredictedOrigin() call Alibek Omarov 2023-12-28 22:19:45 +03:00
  • acdf1da995 ref: soft: remove GetMoveVars() call Alibek Omarov 2023-12-28 22:19:44 +03:00
  • f1cdab91eb ref: soft: remove usage of PARM_VIEWENT_INDEX and PARM_PLAYER_INDEX Alibek Omarov 2023-12-28 22:19:43 +03:00
  • 05d5abe4db ref: soft: remove usage of PARM_MAX_CLIENTS Alibek Omarov 2023-12-28 22:19:42 +03:00
  • 44e017a410 ref: soft: convert to usage of ref_host_t to get real engine time Alibek Omarov 2023-12-28 22:19:41 +03:00
  • 64f3884f23 ref: soft: convert to usage of ref_client_t to get client time Alibek Omarov 2023-12-28 22:19:40 +03:00
  • 6386782674 ref: soft: acquire engine pointers Alibek Omarov 2023-12-28 22:19:39 +03:00
  • 8084687e50 ref: gl: remove GetPredictedOrigin call Alibek Omarov 2023-12-28 22:19:38 +03:00
  • 6c16de55c0 ref: gl: remove GetMoveVars() call Alibek Omarov 2023-12-28 22:19:37 +03:00
  • 537237ef62 ref: gl: remove usage of PARM_VIEWENT_INDEX and PARM_PLAYER_INDEX Alibek Omarov 2023-12-28 22:19:36 +03:00
  • 4dfc3f34cb ref: gl: remove usage of PARM_MAX_CLIENTS Alibek Omarov 2023-12-28 22:19:35 +03:00
  • d22bbb4213 ref: gl: remove usage of PARM_WORLD_VERSION Alibek Omarov 2023-12-28 22:19:34 +03:00
  • 0e3b14e9a5 ref: gl: remove usage of PARM_NUMMODELS Alibek Omarov 2023-12-28 22:19:33 +03:00
  • afb0540aa3 ref: gl: convert to usage of ref_host_t to get real engine time Alibek Omarov 2023-12-28 22:19:32 +03:00
  • 4d802d8901 ref: gl: convert to usage of ref_client_t to get client time Alibek Omarov 2023-12-28 22:19:31 +03:00
  • 6a4bf4965f ref: gl: acquire engine pointers Alibek Omarov 2023-12-28 22:19:30 +03:00
  • a3c9538d12 engine: client: add support for new PARMs Alibek Omarov 2023-12-28 22:19:29 +03:00
  • 632264809f engine: ref_api: add PARMs to get pointers to engine data like cl, host, world, etc. Partially expose cl and host. Alibek Omarov 2023-12-28 22:19:28 +03:00
  • bcfabbe802 engine: do not save configs when we closing because of the errors Alibek Omarov 2023-12-28 22:42:12 +03:00
  • c244cfc937 engine: do not save configs when we closing because of the errors Alibek Omarov 2023-12-28 22:39:47 +03:00
  • 520fc33394 utils: mdldec: fix wrong conditions. Andrey Akhmichin 2023-12-28 22:18:41 +05:00
  • f705a7cd26 common: xash3d_types: another attempt to properly check static asserts availability Alibek Omarov 2023-12-28 17:31:30 +03:00
  • 65bfff69d0 engine: wscript: always require librt on Linux since we need it for Platform_SetTimer implementation Alibek Omarov 2023-12-27 04:14:19 +03:00
  • 9d8ba03f5e common: xash3d_types: fix static_assert macro Alibek Omarov 2023-12-27 03:10:41 +03:00
  • 778b8ede58 engine: platform: linux: add forgotten _GNU_SOURCE at the top of the file to enable gettid extension Alibek Omarov 2023-12-27 03:10:20 +03:00
  • f8a1a2ed71 engine: platform: linux: add missing math.h include Alibek Omarov 2023-12-26 18:56:30 +03:00
  • b4a7c266b5 platform/linux: implement debug timers and cl_maxframetime to catch very long frames on debugger mittorn 2023-12-24 07:46:09 +03:00
  • a488f79852 ref_gl: workaround freezes on adreno with vbo on dlighted decals mittorn 2023-12-23 22:51:54 +03:00
  • b290046503 ref: gl: remove hidden parm -gl-allow-vbo-dontuse needed to activate VBO renderer Alibek Omarov 2023-12-06 05:42:54 +03:00
  • e8409cee8b ref_gl: vbo: do not do zero-length drawcalls (fix glError on vivante) Dmitry Toroshchin 2023-10-27 19:42:04 +03:00
  • 1d4d355b38 ref_gl: vbo: fix binding garbade texture after changelevel, fix wpoly counter mittorn 2023-10-23 20:14:08 +03:00
  • dfe12535a5 ref_gl: vbo: disable R_TextureRandomTiling implementation until will be fixed mittorn 2023-10-20 22:49:43 +03:00
  • 74946100f1 ref_gl: fix not restoring static lightmap after decals mittorn 2023-10-20 22:48:35 +03:00
  • 9a1717915c ref_gl: vbo: apply a1batross's patch for uint index switch mittorn 2023-10-20 21:54:29 +03:00
  • 3691eb6e48 ref_gl: vbo: fix incorrect lightmap index, optimize loading maps with very big lightmap count, fix clouds drawing after VBO mittorn 2023-10-20 21:45:11 +03:00
  • 3bb7471fd3 ref_gl: vbo: fix lightmap0 processing, remove ilightmap mittorn 2023-10-20 18:34:21 +03:00
  • 74e09ddb12 ref_gl: change state management in vbo renderer mittorn 2023-10-20 07:56:32 +03:00
  • 6b73d056b2 ref_gl: vbo dlights refactiring mittorn 2023-10-17 03:20:41 +03:00
  • 3e7847551a ref_gl: add ability to skip uploading unused data (disabled) mittorn 2023-10-17 01:58:00 +03:00