Alibek Omarov
df4f21680c
engine: client: apply local client effects only if it wasn't rejected by clientdll
3 years ago
Alibek Omarov
2c1b862654
engine: client: ignore EF_BRIGHTFIELD for local client
...
It must be OK, because GoldSrc don't call similar function for local client
instead adds only flashlight and muzzleflash effects.
By adding this check, behavior must be close enough
3 years ago
Alibek Omarov
ea5937bce0
engine: net_encode: remove naive clientdata/weapondata copy, only copy fields explicitly listed in deltalst
3 years ago
Alibek Omarov
6e4ab74694
engine: net_encode: split delta "no changes" copy into separate function
3 years ago
Alibek Omarov
22e770e4d4
engine: client: disable viewsize without requested Quake compatibility
3 years ago
Alibek Omarov
1f26710bd0
engine: fix add command error messages
3 years ago
Alibek Omarov
96f35f76e1
engine: filesystem: fix creating directories with roDir
3 years ago
Alibek Omarov
fa37d153c8
engine: common: restrict alias/unalias and stuffcmds from executing by server
3 years ago
Alibek Omarov
aa5594d11f
engine: client: don't let servers clear console
3 years ago
Alibek Omarov
13cf909b99
engine: filesystem: allow extras ZIPs
3 years ago
Alibek Omarov
606b5354e6
engine: filesystem: fix loading ZIP files
3 years ago
Alibek Omarov
e29dcb4125
engine: filesystem: accept ZIP files with zip extension, do not assert with NULL free in Zip_Close
3 years ago
Alibek Omarov
c3513b1615
engine: input: clean m_enginemouse leftovers, always enable SDL relative mouse mode for our input interface
3 years ago
Alibek Omarov
abbd0f92a4
engine: input: fix incorrect client notifying about mouse button states
3 years ago
Alibek Omarov
f9d0fba05f
wscript: remove duplicated branches diagnostic for good
3 years ago
Alibek Omarov
1ffe050205
engine: print only command name in Unknown command message, rather than a full line
3 years ago
Alibek Omarov
a2f741fe8a
engine: platform: sdl: try to fix 1.2 build
3 years ago
Alibek Omarov
d0a39ef492
engine: client: rework mouse input again, do what GoldSrc does, minimize SDL mouse calls
3 years ago
Alibek Omarov
f63d2d747f
vgui: remove unneeded SDL calls, remove unused VGUI API function, fix mouse cursor visibility
3 years ago
Alibek Omarov
7e687b45bb
engine: client always uses SDL (virtually) on non-Win32 platforms
3 years ago
Alibek Omarov
284eeea3c3
engine: client: rework mouse input, use IN_MouseEvent for clientdll, don't emit mouse events when mouse is visible or touch emulate is used
3 years ago
Alibek Omarov
01b2266b7e
engine: net_encode: minor code style fix
3 years ago
Alibek Omarov
4ae608913b
console: fix Home and End buttons or equivalent hotkeys to always set start or end of input buffer
3 years ago
Alibek Omarov
295adcf222
engine: con_utils: don't also prepend backslash in autocompletion~
3 years ago
Alibek Omarov
3351ecd754
console: ignore whitespace commands on history, ignore backslash
3 years ago
Alibek Omarov
46fd27eb14
console: remove prepending backslashes
...
This is a leftover from Quake, where the console and chat were
in fact same entity. Because Xash splits it, there is no need
in prepending backslashes to separate commands from chat messages
3 years ago
Alibek Omarov
210137c325
engine: increase model limit to the possible maximum without breaking the protocol
3 years ago
Alibek Omarov
947b94d29f
engine: client: delete unused test data :)
3 years ago
Alibek Omarov
f007374866
engine: client: rewrite console history
...
Fix duplicate and empty lines saved into history
Fix backup copied too early
Add tests
3 years ago
Alibek Omarov
7cb06956c2
engine: platform: win32: fix compile
3 years ago
Alibek Omarov
ebfa8e6ffc
engine: platform: android: fix compile
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
2df27e14a8
engine: client: make connect command available through stufftext, for future use
3 years ago
Alibek Omarov
764ef93984
common: add fs_size_t typedef, for read()/write() return value
3 years ago
Alibek Omarov
d8b3ab4dcc
engine: filesystem: fix unused result warnings
3 years ago
Alibek Omarov
08e72bad35
engine: crashhandler: clean up code
3 years ago
Alibek Omarov
7e574ea42e
engine: filesystem: do not create folders for files in rodir mode
3 years ago
Alibek Omarov
0963e05716
engine: restore lumps after swapping them for blue shift maps
...
Mod_TestBmodelLumps may modify srclumps data, which is essential for
brush model loader. BlueShift maps have swapped lumps for some reason
Restoring them to default is fix for now
3 years ago
Alibek Omarov
ca3544d559
engine: server: don't assert for NULL player in FatPAS/PVS if we don't need it
3 years ago
Alibek Omarov
37aa5b1e99
engine: gamma: use FBitSet
3 years ago
SNMetamorph
aa07dab8ab
engine: added feature flag ENGINE_LINEAR_GAMMA_SPACE
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
3 years ago
Alibek Omarov
1350fd0b52
engine: ref: use right Cvar_Get function :)
3 years ago
Alibek Omarov
d7db48ce4b
engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side
3 years ago
Alibek Omarov
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
3 years ago
Alibek Omarov
07f1f7ded1
engine: launcher: use our Q_strncpy instead of standard strncpy
3 years ago
Alibek Omarov
1cac321c00
engine: enable filtered command buffer for dedicated to pass the tests
3 years ago
Alibek Omarov
aa7bfb4819
engine: check for non-standard alloca header
3 years ago
Alibek Omarov
0c18a06946
engine: sequence: use Q_strncpy instead of standard strcpy
3 years ago