Alibek Omarov
621399c49b
engine: add safe ParseFile to client MobilityAPI
3 years ago
Alibek Omarov
f3fedbfdba
engine: add safe ParseFile to menu extended API
3 years ago
Alibek Omarov
4ba95277b9
engine: client: fix ParseFile calls
3 years ago
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
3 years ago
Alibek Omarov
a3a8acfe6c
engine: sound: add DSP coeffecients table from Half-Life Alpha, minor fixes to DSP code
3 years ago
Alibek Omarov
9e4e9cab04
engine: restore optional upscaling depending on SOUND_DMA_SPEED value :)
3 years ago
Alibek Omarov
08c04200fb
engine: use GCC provided offsetof implementation
3 years ago
Alibek Omarov
91f845c335
engine: client: fix paused icon drawn when levelshots are disabled
3 years ago
Alibek Omarov
32068d8090
client: fix wrong paused icon
3 years ago
Alibek Omarov
013918a371
console: redefine con_color as cvar
3 years ago
SNMetamorph
8c351d9255
engine: client: made pfnSPR_Load and pfnSPR_Frames functions as exported
3 years ago
SNMetamorph
c4ef42009c
engine: client: fixed height argument writing in Con_DrawStringLen
3 years ago
Alibek Omarov
88ce5fd0b6
engine: modify NetAPI to follow const qualifiers
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Nord1cWarr1or
8d793521c4
engine: keys: fix misleading comment
...
Update keys.c (#514 )
3 years ago
Alibek Omarov #SupportRMS
79f3a6f60e
engine: sound: code style fix
3 years ago
SNMetamorph
a2c83144c0
engine: sound: warn about late precached sounds in developer mode
3 years ago
SNMetamorph
6ceb101ba1
engine: client: correctly named values in net_speeds stats
3 years ago
SNMetamorph
f7f069a38b
engine: client: added Host_Error for CL_EDICT_NUM (hotfix for issue #434 )
3 years ago
Alibek Omarov
32e96bdad1
engine: support legacy net protocol in demos
3 years ago
Alibek Omarov
c50f73b892
engine: fix brush model sound spatialization
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
ad4062969b
engine: client: fix warnings in cl_pmove
3 years ago
Alibek Omarov
60c10333aa
engine: client: fix sound not spatialized correctly, remove unused field from rawchan
3 years ago
Alibek Omarov
0f84ce40f0
engine: client: fix cl_smoothtime, don't smooth movements when running local server(singleplayer, listenserve, etc)
3 years ago
Alibek Omarov
3894edcb98
engine: client: enhance cl_showevents for reverse-engineering needs
3 years ago
Alibek Omarov
5b387ba36a
engine: client: move Cbuf_Execute out of Host_InputFrame, cbuf will be executed always at ClientBegin. Fixes #482
3 years ago
Velaron
d011dccaab
engine: client: remove redundant index check
3 years ago
Alibek Omarov
13a3f22001
engine: client: netgraph: add in_graph kbutton support, staticify netgraph
3 years ago
SNMetamorph
386ae2067b
engine: client: another interpolation fix
3 years ago
SNMetamorph
b289de26a6
engine: client: added cvar cl_nointerp for disabling interpolation
3 years ago
SNMetamorph
415f5baa1c
engine: client: CL_LerpPoint hotfix
3 years ago
Velaron
4f31d7504a
ref_api: fix remap info allocation ( fixes #200 )
4 years ago
Alibek Omarov
ed0ca2b2d2
engine: fix predicting oldbuttons
4 years ago
Alibek Omarov
a93d9ac71c
engine: platform: simplify sound code
...
Remove SNDDMA_GetSoundtime, because it was mostly copypasted from one
platform code to another.
SNDDMA_GetDMAPos gets removed too, as we have dma.samplepos for that.
4 years ago
Alibek Omarov
3d9a4560d5
client: make sound cvars statically allocated, to avoid access to invalid pointers in the future
4 years ago
Alibek Omarov
4db2aaffc4
client: port fix of spk/speak commands from old engine
4 years ago
Alibek Omarov
155eb1ba58
engine: fix various warnings
4 years ago
Alibek Omarov
0a818f3f3f
client: add waveplaylen console command like in GoldSrc
4 years ago
Alibek Omarov
a813be7d54
client: add cl_showpos
4 years ago
Alibek Omarov
e77957bc81
client: decrease visibility of some cvars
4 years ago
Alibek Omarov
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
4 years ago
Alibek Omarov
cf5ebd128c
client: fix XASH_64BIT check
4 years ago
Ivan Avdeev
1b426b67e7
partially fix amd64 build on windows
...
Quality of this commit is questionable. I have no idea whether what I did
here makes sense or not.
But it compiles and runs (provided with hlsdk-xash3d amd64 build, which
is another story).
This omits necessary waf changes that are necessary to make a valid
64-bit build. Apparently it's not enough to just pass `-8` on Windows,
you also need to hack wscript to add `x64` target to MSVC. I'll do that
later when I figure out how.
This change is a precursor for RTX Vulkan effort --
VK_KHR_ray_tracing_pipeline and friends are only available on 64-bit
nvidia drivers (no idea about AMD, pls send GPUs onegai).
4 years ago
SNMetamorph
8d50049db7
netgraph: fixed data usage graphs rendering
4 years ago
SNMetamorph
cba9fb1a07
vid_common: added vid_mode cvar for proper working VideoModes menu in game settings
4 years ago
Alibek Omarov
8090db2e75
netgraph: change netgraph buffer size for low memory mode
4 years ago
Gleb Mazovetskiy
c95e847890
Fix joystick trigger thresholds
...
They were negative by default but they should've been positive:
> a value ranging from -32768 to 32767. Triggers, however, range from 0 to 32767 (they never return a negative value).
https://wiki.libsdl.org/SDL_GameControllerGetAxis
This fixes LTRIGGER and RTRIGGER (L2/Zl and R2/Zr on most gamepads)
4 years ago
Gleb Mazovetskiy
4daa7c23a0
SDL2 GameController: Map axes to engine explicitly
4 years ago
Gleb Mazovetskiy
3e8e751dc7
GameController: Add separate D-Pad bindings
...
1. Adds separate D-Pad bindings so that they don't conflict with arrow
keys on the keyboard.
2. Also adds some basic defaults for gamepad buttons.
4 years ago