Bien Pham
3a55b9cd67
engine: make pfnDrawString & pfnDrawStringReverse return width
3 years ago
Alibek Omarov
89baa633c8
engine: sdl: fix mouse activated when focus gained but not game is active
3 years ago
Alibek Omarov
1bf08cc2c3
engine: touch: fix button deletion
3 years ago
Alibek Omarov
36d757c74a
engine: server: fix message trace output
3 years ago
Alibek Omarov
0fa1b4f944
engine: client: refactor tempentity parsing, make multipliers close to GoldSrc
3 years ago
Alibek Omarov
56103a90eb
engine: client: limit token size in client dll parsefile to 1024 (GoldSrc value)
3 years ago
Alibek Omarov
2fa964e939
engine: server: restore sv_trace_messages from old engine
3 years ago
Alibek Omarov
0027678a56
engine: client: print which tempentity type was overflowed
3 years ago
Alibek Omarov
ffea7d9729
engine: add host_lowmemorymode cvar to indicate low memory mode level
3 years ago
Velaron
0e286f31c5
engine: client: fix DT_TIMEWINDOW_* signedness
3 years ago
Alibek Omarov
5aa6bfee85
engine: first attempts on fuzzing the engine
3 years ago
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