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

14 Commits

Author SHA1 Message Date
Andrey Akhmichin
7ca2750c3d client: Fix compilation. 2023-11-01 02:40:22 +05:00
Andrey Akhmichin
dd6995ecbd client: MOTD: Prevent out of bounds access on x86. 2023-11-01 02:27:00 +05:00
Andrey Akhmichin
cea0903626
More safe strncat usage. 2022-11-14 08:14:24 +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
fd6f48175f
Comment unused variables (#184)
* Comment unused variables

* Comment out dead code
2021-06-18 13:00:09 +05:00
b8825c2039 Fix some potential troubles.
Comment some useless code.
2019-11-16 13:54:47 +05:00
73397679c2 More double promotion fixes. 2019-10-13 20:10:52 +05:00
Roman Chistokhodov
984dab64d3 Use line height from screen info in motd and scoreboard 2019-04-11 16:04:52 +03:00
e099224bc5 Use vgui2 functions for utf-8 print 2017-03-29 19:59:50 +00:00
80593d29bd Apply fixes from gravgun branch 2017-02-01 14:55:40 +00:00
156b0ae69a Reformat some strings yet. 2016-08-02 18:36:48 +05:00
fad7aa53d7 Remove extra commas and semicolons. 2016-06-25 23:21:01 +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