Commit Graph

40 Commits

Author SHA1 Message Date
Andrey Akhmichin d146105412
Merge branch 'master' into eftd 2022-06-17 10:02:45 +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 df2c8c7873
Merge branch 'master' into eftd 2022-06-05 13:55:22 +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 9109a46ade Merge branch 'master' into eftd 2021-09-17 23:22:54 +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 7281c5875b Merge branch 'master' into eftd 2021-06-20 04:07:54 +05:00
Bohdan Shulyar 662af50306
Bump minimum CMake version (lower versions are deprecated) (#182) 2021-06-18 07:41:38 +05:00
Andrey Akhmichin e1e0d56059 Merge branch 'master' into eftd 2020-11-22 18:20:18 +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 eefbfd5bd5 Merge branch 'master' into eftd 2020-01-01 04:38:22 +05:00
Andrey Akhmichin 7fea78f62d Merge branch 'master' into eftd 2019-11-14 04:54:20 +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
Andrey Akhmichin e33349e456 Merge branch 'master' into eftd 2019-07-11 07:01:38 +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
Night Owl 01c7a14c56 Merge branch 'master' into eftd 2018-04-14 06:52:04 +05:00
Roman Chistokhodov 71f55bb119 Add mingw support to CMakeLists.txt. Add crosscompiling instructions to README.md 2018-04-03 21:39:07 +03:00
Night Owl 82b5198ef5 Merge branch 'master' into eftd 2018-03-31 17:59:11 +05:00
Alibek Omarov 4af9030156 Append 64 postfix on 64 bit 2018-03-22 15:23:34 +03:00
Night Owl a784f547e4 Merge branch 'master' into eftd 2018-02-23 03:35:17 +05:00
Night Owl ebccc87e42 Use weapon_crowbar idle animation. 2018-01-02 07:32:25 +05: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
Night Owl ab1cb6dd07 Merge branch 'travis' into eftd 2017-12-25 00:04:45 +05: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 e53ef8c212 Update CMakeLists.txt. 2016-09-26 00:07:16 +05:00
a1batross 42052a5057 CMake as optional build system 2016-08-08 13:27:59 +06:00