2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Andrey Akhmichin
c46162469a Additional bounds checks on client-side. 2024-09-19 01:33:43 +05:00
2113beb9f2 client: fix some missing newlines in alerts 2024-08-18 16:02:11 +00:00
Andrey Akhmichin
955f7ad436 Port spectator changes from HLSDK 2.4. 2024-02-13 03:41:13 +05:00
Andrey Akhmichin
58f78b4f1c
More safe strncpy usage. 2022-11-14 08:47:47 +05:00
Andrey Akhmichin
4ad82ee541
Fix strange sprintf usage. 2022-11-14 07:41:21 +05:00
808be9442f
Use filtered command buffer when string came from network (#241)
* cdll_int: add undocumented FilteredClientCmd function to client interface

* client: use filtered command buffer where we have to execute command from server

* client: use normal pfnClientCmd in place of pfnFilteredClientCmd in case of engine doesn't supports it

* client: don't read out of bounds if engine interface is old and don't have pfnFilteredClientCmd

* client: fix incorrect cvar pointer comparison
2022-04-24 03:43:45 +05:00
Roman Chistokhodov
ba2cab60df
Get VGUI back (optionally) (#194)
* Get VGUI back (optionally)

* Add some missing VGUI invocations

* Update CMakeLists.txt to build with vgui for Windows

* Move windows.h inclusions only to those places where it's really needed

* Try fix mingw build

* Update hud_spectator

* Merge nekonomicon's vgui branch

* Don't include vgui panel and app in cdll_int.cpp if vgui is real

* Deduplicate scoreboard global variables

* Add options to prefer non-vgui motd and scoreboard when vgui is enabled

* Add vgui-dev as a submodule. Add building vith vgui to CI

* Fix artifact uploading

* Don't use global variable when not necessary

* char* to const char* in CMenuHandler_StringCommand constructor

* Fix 'format string is not a literal string' warnings

* Fix 'always evaluate to true' warnings

* Team Fortress classes to const char*

* CreateCommandMenu accepts const char*

* Fix printf formats. Turn some unsigned longs into unsigned ints since they use only 32 bits anyway

* Explicit assignment result as condition

* Prevent memory leak on menu reading

* Localize button text

* Create FileInputStream on stack avoiding the leak

* Remove Servers Browser code

* Arrow file names to const char*

* Fix assignment to the wrong variable
2021-10-27 01:35:11 +00:00
5dd184da23 Fix memory leaks when parsing files. 2021-03-26 04:08:05 +05:00
0324eb0431 Fix possible memory leak. 2020-07-25 09:28:02 +05:00
ec9bffedaf Partially fix double promotion. 2019-10-13 16:49:25 +05:00
iZarif
a0ccf2d0a1 size of arrays are now a power of two 2019-10-03 00:24:27 +04:00
iZarif
04a31f4a1a fix gcc 8.3.0 format-overflow warnings 2019-10-02 23:15:53 +04:00
c9fdcd91e8 A little optimizations. 2019-09-24 03:00:37 +05:00
Roman Chistokhodov
48733fd1a1 All copyright symbols to (c) 2018-01-19 20:00:32 +03:00
Roman Chistokhodov
8dc9245fe3 Copyright symbol to utf-8 2018-01-18 22:36:32 +03:00
d1fbb99574 Fix some warnings yet. 2017-07-20 23:32:06 +05:00
5da21e38d2 Fix client visual studio build 2017-01-10 16:45:52 +07:00
9e7debbb34 Client format. 2016-07-03 18:39:55 +05:00
4304846337 CRLF to LF all. 2016-06-04 18:24:23 +05:00
0549ead5ab Rework initialization. 2016-04-23 20:18:48 +05:00
0adbd65d8a Fix build clang. Fix UB. 2016-04-18 01:30:05 +05:00
d254f1bd0e Improve client 2016-03-01 20:18:42 +00:00
0f599684c5 Upload first port 2016-02-24 21:26:16 +00:00