Alibek Omarov
2c77f4c566
engine: client: notify client.dll about local player in firstplayer mode for use in custom renderers
2 years ago
Alibek Omarov
1caa276531
engine: common: imagelib: fix loading cubemaps
...
Loop break was a bug that was added after refactoring imagelib loader.
In fact, it was mindlessly copypasted from old code, where same break was
used to quickly exit from inner format bruteforcing loop, than outer cubemap
loading loop.
2 years ago
Alibek Omarov
e673fe9a02
filesystem: only create readwrite directories if they look like a gamedirectory in rodir
2 years ago
Alibek Omarov
3ccbc7a28c
engine: client: ref_common: r_refdll is not a VIDRESTART cvar
2 years ago
Alibek Omarov
8bb5ec5e26
ref: remove renderer description export, it's unused now
2 years ago
Alibek Omarov
35ff062407
wscript: restore NSwitch and PSVita specific link and compiler flags
2 years ago
Alibek Omarov
ec355a83d1
engine: client: ref_common: eliminate COM_FreeLibrary in renderer names query, hardcoding them instead
2 years ago
Alibek Omarov
182d8edb42
engine: wscript: define enabled renderers as macros
2 years ago
Alibek Omarov
762e4da7a0
wscript: generic refactoring
...
* Add RefDll class to aid in enabling renderers, creating help options, etc
* Fix optimization flags and werrors are being added twice
* Rewrite if not win32: if elif elif into a set of elifs
* Remove mandatory=True in checks, as it's a default option
2 years ago
Alibek Omarov
098c4c009b
engine: platform: sdl: fix incorrect HICON cast in SetClassLongPtr call
2 years ago
Alibek Omarov
f8cf2c8953
scripts: continious_upload: retry if upload failed
2 years ago
Alibek Omarov
cc6838ec97
scripts: gha: psvita: try to fix vitaGL dependency fetching
2 years ago
Alibek Omarov
dca637d4bb
engine: client: eliminate pfnServerCmd limit and, like GoldSrc, send our server command immediately to netchan
2 years ago
Alibek Omarov
3949422430
scripts: gha: psvita: fix HLSDK branches names, as all needed PSVita changes have been merged to hlsdk-portable
2 years ago
Alibek Omarov
2c8488f07a
scripts: gha: psvita: disable SINGLE_THREADED_GC for vitaGL as it was fixed in upstream (thanks, @fgsfds )
2 years ago
Alibek Omarov
1df1fc32df
scripts: gha: psvita: lock vitaGL revision, use --depth=1 in git clone
2 years ago
SNMetamorph
eac8c116a8
engine: server: sv_init: compiling error fix & minor cleanup
2 years ago
SNMetamorph
a03019f5e4
engine: server: sv_init: enabled handling sound resources specifically
...
This is for timely precaching on client side. Otherwise, files are being downloaded to client, but not precached immediatly after it, and therefore causing a late precaching of sound (obvious, this is bad)
2 years ago
SNMetamorph
714b4f45e4
engine: common: added COM_GetResourceTypeName function
2 years ago
SNMetamorph
68be8157ea
engine: common: soundlib: added Sound_SupportedFileFormat function
2 years ago
Alibek Omarov
ea2a8b6785
3rdparty: update submodules (extras, mainui, opus)
2 years ago
Alibek Omarov
8c80d3b85d
engine: common: cvar: add exception for cl_dodmusic cvar to fix Day of Defeat Beta 1.3 music issue
2 years ago
Alibek Omarov
33c0764e65
engine: common: system: fix inverted COM_CheckStringEmpty in Sys_GetCurrentUser for Vita
...
Thanks @fgsfdsfgs for pointing out
2 years ago
Alibek Omarov
d085c5a843
ref: gl: gl_cull: remove thirdperson check, as it handled in client instead
2 years ago
Alibek Omarov
4ada40e8a8
engine: client: check if we should discard local player entity before HUD_AddEntity call, allowing CL_IsThirdPerson hack used in MMod
2 years ago
Alibek Omarov
1630d87c0d
engine: client: do not alter the state if invalid HANDLE was passed to pfnSPR_Set. Fixes Half-Life: MMod
2 years ago
Alibek Omarov
3a956a1ad3
engine: client: initialize variables in SPR_Width/Height/Frames functions, in case R_GetSpriteParms fails
2 years ago
Alibek Omarov
774ced312f
wscript: enforce -Werror=strict-aliasing
2 years ago
Alibek Omarov
fec3d33dcf
engine: client: cl_securedstub: fix strict aliasing in secured module initializing
2 years ago
Alibek Omarov
d4610e30fd
engine: common: net_encode: fix strict aliasing by converting it to use float_bits_t union
2 years ago
Alibek Omarov
885cda971d
engine: common: net_buffer: fix strict aliasing by converting it to use float_bits_t union
2 years ago
Alibek Omarov
ef0b227967
ref: gl: alias: fix strict aliasing by converting it to use float_bits_t union
2 years ago
Alibek Omarov
19a785a98a
public: mathlib: convert rsqrt to use float_bits_t union
2 years ago
Alibek Omarov
b96bfcfe7a
public: mathlib: convert FloatToHalf and HalfToFloat to use float_bits_t union
2 years ago
Alibek Omarov
412c635499
public: add float_bits_t union to access float as 32-bit signed or unsigned integer
2 years ago
Alibek Omarov
da5ec56567
engine: common: con_utils: fix const qualifier discard in Con_CheckName
2 years ago
Alibek Omarov
e664e80b27
engine: common: mod_bmodel: replace few more obvious va calls by temp buffer and Q_snprintf
2 years ago
Alibek Omarov
d177b6f528
engine: cvar: consolidate auto description for GLCONFIG cvars
...
Fix bug when GLCONFIG cvars didn't had it's respective CLIENTDLL or GAMEUIDLL flags
2 years ago
Alibek Omarov
2ef3d78d9f
engine: client: netgraph: replace CL_DrawString with va calls by CL_DrawStringf
2 years ago
Alibek Omarov
5ea5e1167b
engine: client: font: add CL_DrawStringf wrapper
2 years ago
Alibek Omarov
116a605248
engine: common: replace some obvious va uses by temp buffer and Q_snprintf or equivalent code
2 years ago
Alibek Omarov
9690fe9334
engine: client: replace some obvious va uses by temp buffer and Q_snprintf
2 years ago
Alibek Omarov
a81fa84321
engine: server: replace some obvious va uses to temp buffer and Q_snprintf
2 years ago
Alibek Omarov
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2 years ago
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2 years ago
Alibek Omarov
b12b2aaf79
engine: common: cmd: add Cbuf_AddTextf wrapper
2 years ago
Alibek Omarov
6b62f9c1b9
engine: convert Cvar_Get with va to Cvar_Getf
2 years ago
Alibek Omarov
ba1cf25314
engine: convert MSG_WriteString with va to MSG_WriteStringf
2 years ago
Alibek Omarov
fb2ba6a6e2
engine: common: net_buffer: add MSG_WriteStringf wrapper
2 years ago
Alibek Omarov
fb6e310eab
public: move va() function back to engine, it's not recommended to use in shared modules
2 years ago