2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-28 13:09:13 +01:00
Commit Graph

543 Commits

Author SHA1 Message Date
Roman Chistokhodov
504e8b19d5
Handle key input in vgui (#198) 2021-10-27 23:20:03 +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
Vale the Violet Mote
302e2d7a2a
Realtime cheats (#197)
* have cheats auto-update (send notif to client, use updated value in server)

* cheats did not need to be registered here as it's registered by the engine

* also not needed.
2021-10-26 21:52:17 +00:00
Roman Chistokhodov
1737b8a878
Add apt update to github workflow (#193) 2021-10-21 21:55:42 +05:00
Aydar Zarifullin
9e93646e06
add premake5 build script (#192) 2021-10-18 15:47:53 +05:00
219fb37f44 Fix CMake build when included from other project 2021-10-12 16:14:28 +03:00
060a6c3269 Update README.md. 2021-09-13 01:13:23 +05:00
Roman Chistokhodov
136ee78cfd
Make msvc builds in release mode with static runtime (#185) 2021-08-27 13:04:15 +05:00
3503619bdd Merge https://github.com/ValveSoftware/halflife/pull/3099. 2021-07-07 00:41:17 +05:00
Roman Chistokhodov
d86b0bf480 Change ideal monster state in MonsterUse only if monster is idle 2021-07-07 00:10:27 +05:00
Roman Chistokhodov
201206ccfd Fix potential conflict of monster states in scripted_sequence 2021-07-07 00:08:14 +05:00
cc4aebd61a wscript: remove dead option 2021-07-03 19:53:46 +03:00
f0d53af66d waifulib: xcompile: upgrade again from engine tree, fix motomagx build 2021-07-03 19:35:25 +03:00
dd470d6700 waifulib: xcompile: upgrade tool 2021-07-03 19:21:44 +03:00
6e7653eec1 Move M_PI definition to header. 2021-06-20 13:49:04 +05:00
a541a9699c #ifdef->#if. 2021-06-20 03:53:07 +05:00
fd6f48175f
Comment unused variables (#184)
* Comment unused variables

* Comment out dead code
2021-06-18 13:00:09 +05:00
7552c1df5e
Silence useless warning on Windows (#183) 2021-06-18 07:42:43 +05:00
662af50306
Bump minimum CMake version (lower versions are deprecated) (#182) 2021-06-18 07:41:38 +05:00
d95080281f
Fix implicit conversion (#180) 2021-06-18 07:40:38 +05:00
Roman Chistokhodov
5f56ed6816
Build linux version in Steam runtime. Add building with msvc into workflow and upload artifacts. (#181)
* Run linux builds in steam-runtime

* Add msvc to CI

* Add artifacts
2021-06-18 07:39:58 +05:00
Roman Chistokhodov
b34b6a0778
Fix windows build (#179)
* Add hl.def to cmakelists.txt

* Add appveyor artifact
2021-06-17 23:33:55 +05:00
5e06370a95 Revert breaking changes. 2021-06-17 22:35:36 +05:00
Roman Chistokhodov
d5d8895b8c
Add mingw workflow (#177) 2021-06-16 00:08:11 +05:00
da5efc7146 Get rid of project files for MSVC 98. 2021-06-14 01:39:55 +05:00
72b7471b89 Get rid of hl.def. 2021-06-14 01:36:51 +05:00
6055d3d3eb Avoid .def-file usage. 2021-06-14 01:35:35 +05:00
Roman Chistokhodov
3f6ab0b2fd
Fix Goldsource build (#176) 2021-06-08 02:05:47 +05:00
0557b2dfe3 Fix compilation. 2021-06-07 19:20:38 +05:00
0fab78ad24 wscript: update. 2021-06-07 19:18:13 +05:00
6d8e1c5d0c Got rid "defined". 2021-06-07 19:17:22 +05:00
8366cb170c Fix compilation. 2021-06-07 05:24:30 +05:00
f0b649f507 wscript: update. 2021-06-07 05:12:53 +05:00
0dd90846fe #ifdef->#if 2021-06-07 05:05:58 +05:00
Roman Chistokhodov
27ebf40849
Add github workflow and change the link and badge from travis to github actions (#174) 2021-06-07 00:15:36 +05:00
06dd8a63cd Double promotion fix. 2021-06-06 04:11:36 +05:00
Roman Chistokhodov
b4502f7133 Fix removing squad member 2021-06-06 04:03:40 +05:00
Roman Chistokhodov
59508d66da Allow special beam color for houndeye squad of size 5 2021-06-06 04:01:57 +05:00
Roman Chistokhodov
7a999bf987 Check before SetEnemy in squad monster 2021-06-06 03:58:26 +05:00
2c9cb0c645 Revert "Merge 33413807d0"
This reverts commit 19bdc1d01b.
2021-06-06 03:48:55 +05:00
593c9185aa Do not override IsUseable for mp5. Merge a9b1d9cda8. 2021-06-06 02:48:22 +05:00
464a678b33 Remove WeaponTick and override ItemPostFrame instead. 2021-06-06 02:40:52 +05:00
Roman Chistokhodov
397286021c Try fixing occasional bug with missing mp5 reload animation when holding primary attack after clip was depleted 2021-06-06 01:17:08 +05:00
Roman Chistokhodov
9fecfb50f3 Merge 2ca64e11b0 2021-06-06 00:34:53 +05:00
ea9eb82646 Set monsteryawspeedfix cvar to 1 by default. 2021-06-05 20:56:57 +05:00
6274c601fe Fix trigger_camera fps dependency. Same as https://github.com/ValveSoftware/halflife/issues/2924. 2021-06-05 20:20:22 +05:00
2c7e07ef49 Fix egon beam color. Same as https://github.com/ValveSoftware/halflife/issues/3033. 2021-06-05 20:13:07 +05:00
8c45ae9bb2 Fix underwater breathing sounds when player not fully in the water. Same as https://github.com/ValveSoftware/halflife/issues/3110. 2021-06-05 20:02:32 +05:00
2de4e7ab00 Fix scientist's sound mask. Same as https://github.com/ValveSoftware/halflife/issues/2982. 2021-06-05 19:18:33 +05:00
exstrim401
7fdc58743d
Haiku OS support (#170)
* Haiku OS support

* Add Haiku OS to CMake LibraryNaming
2021-06-05 10:48:51 +03:00