Commit Graph

21 Commits

Author SHA1 Message Date
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
Andrey Akhmichin a541a9699c #ifdef->#if. 2021-06-20 03:53:07 +05:00
Roman Chistokhodov 3f6ab0b2fd
Fix Goldsource build (#176) 2021-06-08 02:05:47 +05:00
Andrey Akhmichin 0dd90846fe #ifdef->#if 2021-06-07 05:05:58 +05:00
Andrey Akhmichin b8825c2039 Fix some potential troubles.
Comment some useless code.
2019-11-16 13:54:47 +05:00
Roman Chistokhodov 4dfdb6fc98 Fix for goldsource running in fullscreen with resolution lower than screen's one (#67) 2018-11-29 15:22:17 +03:00
Alibek Omarov cec6d7a1bc Add HUD_MessageBox. Rename isXashFWGS to IsXashFWGS 2018-04-02 23:57:09 +03:00
Alibek Omarov 646d2d92f6
Merge pull request #32 from FreeSlave/vgui_for_gs
Get vgui back for goldsource fullscreen support
2017-12-07 19:20:08 +03:00
Roman Chistokhodov ca590f2420 Use old API to draw scoreboard and motd lines in goldsource 2017-12-07 00:31:27 +03:00
Roman Chistokhodov 33de8458d6 Some cleanup. Add false_vgui include path to makefiles 2017-12-07 00:07:05 +03:00
Roman Chistokhodov 51bf51a840 Provide vgui stub to avoid dependency of client of vgui lib 2017-12-06 20:38:14 +03:00
Roman Chistokhodov d904505f6a Get vgui back for goldsource fullscreen support 2017-12-06 19:19:27 +03:00
Night Owl cf5b2f9e14 Merge https://github.com/ValveSoftware/halflife/pull/1601 2017-07-05 23:50:55 +05:00
Night Owl 13a691bdd8 Fix GetHullBounds()
Same as in 8d4515be42
2017-07-02 19:02:52 +05:00
a1batross 008234143e Revert some changes from PR 2016-08-08 15:01:16 +06:00
a1batross 8d3cce7aa2 Add GoldSource support 2016-08-08 13:37:32 +06:00
Night Owl 9e7debbb34 Client format. 2016-07-03 18:39:55 +05:00
Night Owl 4304846337 CRLF to LF all. 2016-06-04 18:24:23 +05:00
mittorn 9fd279a974 Fix DLLEXPORT macro and move it's defination to separate file 2016-03-09 17:11:16 +06:00
mittorn 9c3ffa636a Mobility interface, flashlight button switch 2016-03-02 08:02:02 +00:00
mittorn 0f599684c5 Upload first port 2016-02-24 21:26:16 +00:00