Commit Graph

579 Commits

Author SHA1 Message Date
Marc-Antoine Lortie 1f23bff236
Restore Hornetgun fire phase. (#238) 2021-12-31 22:03:05 +05:00
Marc-Antoine Lortie 8768594509
Decrement rocket count only if it was successfully created. (#234)
In addition, make smoke effect and swap sides only if rocket was successfully created.
2021-12-21 04:00:54 +05:00
Marc-Antoine Lortie db95d4a1cc
Removed duplicate field in CShotgun save data table. (#233) 2021-12-20 19:17:49 +05:00
Alibek Omarov 215ac04f70 waifulib: update xcompile from engine branch 2021-12-17 03:16:35 +03:00
Marc-Antoine Lortie f43961e4d0
Simplify glock fire events (#231)
* Refactor EV_FireGlock2.

* Moved EV_FireGlock1 implementation to static function.
2021-12-14 19:23:07 +05:00
Marc-Antoine Lortie f0ed7d1bc1
Fixed wrong base class specified. (#225) 2021-12-10 07:39:06 +05:00
Marc-Antoine Lortie a5344eb4cc
Fixed wrong base class specified. (#226) 2021-12-10 07:38:48 +05:00
Marc-Antoine Lortie 0df2d289bb
Fixed wrong base class specified. (#223) 2021-12-09 06:03:47 +05:00
Marc-Antoine Lortie ccfe0c659e
Fixed wrong base class specified. (#224) 2021-12-09 06:03:12 +05:00
Marc-Antoine Lortie 59fe501254
Fixed wrong base class specified. (#222) 2021-12-09 06:02:49 +05:00
Marc-Antoine Lortie 9aff6c088d
Fixed wrong base class specified. (#220) 2021-12-08 05:50:45 +05:00
Marc-Antoine Lortie dcb83a6856
Fixed wrong base class specified. (#221) 2021-12-08 05:50:25 +05:00
Marc-Antoine Lortie 9d65397325
Fixed incorrect field types. (#219) 2021-12-08 05:50:05 +05:00
Alibek Omarov 8a43dfbaab waifulib: migrate to compiler_optimizations waf tool 2021-12-07 09:00:35 +03:00
Alibek Omarov 46d642b72b waifulib: update xcompile 2021-12-07 08:56:41 +03:00
James Davies a754219217 Add PowerPC support 2021-12-06 01:56:48 +03:00
James Davies b776a2b4fc Add PowerPC support 2021-12-06 01:56:48 +03:00
Marc-Antoine Lortie f7fa565c3f
Removed unused variables in ev_hldm.cpp (#218) 2021-12-06 00:14:52 +05:00
Marc-Antoine Lortie 0a0952e186
Use sound array macros. (#215)
* Use random sound array.

* Use random sound array.

* Use random sound array.

* Use random sound array.

* Use random sound array.
2021-12-06 00:14:31 +05:00
Marc-Antoine Lortie ac2a757b90
Added missing tracerCount for EV_HLDM_FireBullets. (#216) 2021-12-06 00:13:44 +05:00
Roman Chistokhodov 4596f19734
Update windows and visual studio version (#214)
* Update windows and visual studio versions in CI

* Try without XP toolchain

* Revert "Try without XP toolchain"

This reverts commit d80321a818.

* Force 32-bit
2021-12-02 04:19:12 +05:00
Marc-Antoine Lortie 7f8f73c679
Remove unused source files (#212)
* Delete AI_BaseNPC_Schedule.cpp

* Delete soundsystem.cpp
2021-12-01 12:14:12 +05:00
Roman Chistokhodov 3e2808de62
Fix possible bug with talkmonster facing during the script (#213) 2021-11-29 01:04:50 +05:00
Marc-Antoine Lortie 4e7111e434
Removed identical line in conditional statement. (#209) 2021-11-21 15:21:54 +05:00
Marc-Antoine Lortie ec2826a96a
Fixed crossbow fire on empty sequence not playing. (#207) 2021-11-21 15:21:36 +05:00
Marc-Antoine Lortie 3674e3f154
Fixed RPG client prediction results stored in wrong pointer. (#206) 2021-11-21 15:20:38 +05:00
Marc-Antoine Lortie 74b5543c83
Fixed beam attachment invalidated on restore. (#208) 2021-11-21 15:18:13 +05:00
Roman Chistokhodov 0c46e1b5bd
Fix graphs directory being created with strange permissions (#205) 2021-11-19 00:39:50 +05:00
Aydar Zarifullin 6802cda932
premake5.lua: update (#196)
add arch suffix to library names
change mechanism of checking header files existence
add vgui-related options
2021-11-03 22:53:42 +05:00
Roman Chistokhodov b3804d5ad8
Remove redundant dependency on ws2_32 (#204) 2021-11-03 22:52:12 +05:00
Roman Chistokhodov db4cd7846d
Support cmake older than 3.7 (#203) 2021-10-28 22:23:12 +05:00
Alibek Omarov da7322ba38 public: sync build.h with engine 2021-10-28 20:12:01 +03:00
Alibek Omarov 9fde15075b cmake: fix minor 64BIT checks 2021-10-27 21:23:18 +03:00
Alibek Omarov d7123abd50 Update library naming for RISC-V and MIPS64 support 2021-10-27 21:23:18 +03:00
Alibek Omarov 5c6b660e94 public: sync build.h with engine 2021-10-27 21:23:18 +03:00
Alibek Omarov 548fb6e82c gitignore: ignore cmake artifacts 2021-10-27 21:23:18 +03:00
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
Velaron 219fb37f44 Fix CMake build when included from other project 2021-10-12 16:14:28 +03:00
Andrey Akhmichin 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
Andrey Akhmichin 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
Alibek Omarov cc4aebd61a wscript: remove dead option 2021-07-03 19:53:46 +03:00
Alibek Omarov f0d53af66d waifulib: xcompile: upgrade again from engine tree, fix motomagx build 2021-07-03 19:35:25 +03:00
Alibek Omarov dd470d6700 waifulib: xcompile: upgrade tool 2021-07-03 19:21:44 +03:00