Commit Graph

35 Commits

Author SHA1 Message Date
Andrey Akhmichin d7b9b0dfbd
Merge branch 'master' into half-screwed 2022-06-17 06:57:22 +05:00
Andrey Akhmichin 987ea07ce1
cmake: add more options and show more diagnostic messages. 2022-06-17 03:59:39 +05:00
Andrey Akhmichin d8b05d12d5
cmake: better tgmath.h check. 2022-06-16 11:54:55 +05:00
Andrey Akhmichin 1397f3ab4f
cmake: use "lib" prefixe only for Android. 2022-06-16 10:50:14 +05:00
Andrey Akhmichin f667a0ac38
Merge branch 'master' into half-screwed 2022-06-05 19:58:40 +05:00
Roman Chistokhodov b3804d5ad8
Remove redundant dependency on ws2_32 (#204) 2021-11-03 22:52:12 +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
Andrey Akhmichin 117b851f7a Merge branch 'master' into half-screwed 2021-09-17 23:39:10 +05:00
Roman Chistokhodov 136ee78cfd
Make msvc builds in release mode with static runtime (#185) 2021-08-27 13:04:15 +05:00
Andrey Akhmichin 8cfcccd335 Merge branch 'master' into half-screwed 2021-06-20 04:19:28 +05:00
Bohdan Shulyar 662af50306
Bump minimum CMake version (lower versions are deprecated) (#182) 2021-06-18 07:41:38 +05:00
Andrey Akhmichin 1f5efa5abf Merge branch 'master' into half-screwed 2020-11-22 19:56:35 +05:00
Agent Agrimar a39583f1ef client: cmake: add winmm.lib dependency
This fixes a linker error when compiling for win32 with Goldsrc Support enabled.
2020-09-13 15:06:52 +03:00
Andrey Akhmichin 97ef9296dc Merge branch 'master' into half-screwed 2019-11-16 15:35:58 +05:00
Alibek Omarov 8622cc945d CMakeLists: remove legacy 64 postfix 2019-11-11 01:07:20 +03:00
Andrey Akhmichin 4a02cfc012 Merge branch 'double_promotion' 2019-11-05 02:48:47 +05:00
Jonathan Poncelet 71afe6e204 Build: Added user32.lib dependency to CMake
Also had to add ResetThink to cbase.h, as it was missing in deug.
2019-10-30 17:43:30 +03:00
Andrey Akhmichin 11adcd5ac8 cmake: Add check for tgmath.h header. 2019-10-13 20:58:14 +05:00
Night Owl 5823316fe9 Merge branch 'master' into half-screwed 2018-09-18 20:28:08 +05:00
Jonathan Poncelet 65cb1f54f4 Made library functions hidden by default on Mac/Linux
This resolves an issue where the server library was calling client
library functions in error.
2018-08-07 08:24:04 +01:00
Roman Chistokhodov 71f55bb119 Add mingw support to CMakeLists.txt. Add crosscompiling instructions to README.md 2018-04-03 21:39:07 +03:00
Alibek Omarov 4af9030156 Append 64 postfix on 64 bit 2018-03-22 15:23:34 +03:00
Alibek Omarov 9a02d7116f It's better to use MSVC here instead of WIN32, so it wouldn't break MinGW builds 2017-12-28 02:05:47 +03:00
Alibek Omarov 3dda2ec590 Fix compiling on MSVC2017 2017-12-28 02:02:23 +03:00
Alibek Omarov c128c69ceb Add install() for CMake. 2017-12-19 00:27:56 +03:00
Night Owl a2f0ecf741 Fix linking with libdl on some environments. 2017-12-18 02:44:42 +05:00
Roman Chistokhodov 1759e8c956 Dynamic sdl2 loading from client 2017-12-07 19:29:38 +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
Roman Chistokhodov 1d8d1b5d2e Use mouse input backend depending on the current engine 2017-12-03 23:52:35 +03:00
Roman Chistokhodov 31b2a68d6d goldsource mouse input 2017-12-03 19:47:30 +03:00
Night Owl a2e6f71412 Fix build. 2017-06-12 21:37:46 +05:00
Night Owl 4f7f23ea2c Update CMakeLists.txt 2017-06-12 20:19:47 +05:00
a1batross 42052a5057 CMake as optional build system 2016-08-08 13:27:59 +06:00