2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00
Commit Graph

443 Commits

Author SHA1 Message Date
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
0557b2dfe3 Fix compilation. 2021-06-07 19:20:38 +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
0dd90846fe #ifdef->#if 2021-06-07 05:05:58 +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
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
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
b16001bc1a possible crash fix for DeathNotice 2021-05-10 06:10:35 +03:00
936a303813 Revert "Do not precache sounds for xash3d-only builds."
This reverts commit 9a6ef538b6.
2021-04-19 03:11:56 +05:00
9a6ef538b6 Do not precache sounds for xash3d-only builds. 2021-04-12 09:57:56 +05:00
a07acb3d14 Restore global time on Save/Restore.
Same as https://github.com/ValveSoftware/halflife/issues/3065.
2021-04-04 22:26:34 +05:00
4ba54bdcdc Fix target check.
Same as https://github.com/ValveSoftware/halflife/issues/3083.
2021-04-04 22:11:00 +05:00
08f5c265ce Clamp gravity. 2021-04-04 07:32:25 +05:00
c0720d3cfc Precache missing sounds for sentry gun. 2021-04-04 07:07:54 +05:00
Roman Chistokhodov
2a1867bedf Fix crowbar smack think time 2021-02-27 14:37:12 +03:00
Roman Chistokhodov
c710978549 Fix a bug with extracting ammo from mp5 when argrenades are full 2021-02-11 23:01:32 +03:00
Roman Chistokhodov
0e251e6f09 Fix attack times 2021-02-10 20:21:45 +03:00
Roman Chistokhodov
9fc712da01
Fix checking for gag spawnflag (#143) 2020-12-25 11:14:22 +05:00
2a264d2c9a Add the latest steam changes for cl_autowepswitch cvar. 2020-10-11 00:08:47 +05:00
2de2509094 server: remove "mp_" prefix for non-multiplayer cvars. 2020-10-10 22:45:28 +05:00
47c13ef873 server: Use separate cvar instead of macro for monster yaw speed fix. 2020-10-10 22:43:19 +05:00
Logan
4be53d8527
server: fix monster yaw speed (#137)
This makes the yaw speed for all monsters (scientists, headcrabs, etc.) framerate independent.

Fix by Solokiller with mikela-valve's adjustments:
https://github.com/ValveSoftware/halflife/issues/2458
2020-10-10 22:06:04 +05:00
8e4ded4017 wscript: update yet again. 2020-08-09 03:29:46 +05:00
f20b7259f3 wscript: reorder sources list. 2020-08-01 20:26:28 +05:00
e239f3e1a5 Set EF_BRIGHTFIELD flag for monsters which stuck in the wall only in developer mode. 2020-08-01 19:27:51 +05:00
1d1c99af9f Merge e98a18a980 2020-07-25 13:29:14 +05:00
Roman Chistokhodov
c2064d88ed Remove redundant casts to float when retrieving model frames 2020-07-24 10:46:26 +05:00
Roman Chistokhodov
54181adc8e Fix bigmomma node wait 2020-07-24 10:42:02 +05:00
895e7b7503 Move "build" cvar pointer check to GameDLLInit function. 2020-04-22 14:11:03 +05:00
6cc78b593d Fix compilation. 2020-04-22 14:07:48 +05:00
a758e80f71 Remove physics interface. 2020-04-22 13:51:43 +05:00
Roman Chistokhodov
3e1e8961bf Stop gauss pulse sound on overcharge 2020-03-31 20:46:37 +03:00
fa50aeeb0c Fix wrong quotes. 2020-03-21 18:51:14 +05:00
9f93606b50 Fix possible null pointer dereference. 2020-03-21 18:45:13 +05:00
Roman Chistokhodov
18127ef848 Fix VectorCopy to work correctly with pointers again 2020-02-16 11:19:30 +03:00
c6d793231c wscript: do not set install_path on dos target, set build task names to "server" and "client" 2020-02-12 15:40:06 +07:00
9a08968453 fix undefined symbols and conflicts on OpenWatcom 2020-02-12 15:37:46 +07:00
3ebf7f097b server: fix include hell in animation.cpp 2020-02-12 15:35:25 +07:00
2ba9071798 check if cmath useful, remove posix defines when using owcc 2020-02-12 15:34:05 +07:00
52b067fd4f Fix possible null pointer dereference. 2019-11-16 14:29:09 +05:00
b8825c2039 Fix some potential troubles.
Comment some useless code.
2019-11-16 13:54:47 +05:00
b4d3b5d8be wscript: enable library naming 2019-11-11 04:07:51 +03:00
8622cc945d CMakeLists: remove legacy 64 postfix 2019-11-11 01:07:20 +03:00
tyabus
446f608cf3 Remove outdated Makefiles (#110)
* Remove outdated Makefiles

* Update README.md
2019-11-07 23:11:20 +03:00
4a02cfc012 Merge branch 'double_promotion' 2019-11-05 02:48:47 +05:00
46f5f21392 Fix mp5's bullet spread. 2019-11-04 00:31:52 +05:00
88161eac14 Add "cl_autowepswitch" cvar implementation. 2019-11-03 22:59:33 +05:00
Aimless-Wanderer
b604d86f04
Update wscript 2019-11-01 11:17:12 +02:00
Aimless-Wanderer
682c1c6da9
build: fix travis ci
I think travis is still using Python 3.4.*, so f-strings are not supported yet and android engine doesn't build.
2019-10-31 18:13:22 +02:00
Jonathan Poncelet
a8669459b9 Build: Swapped Win32 check for MSVC check
The linker flag is only relevant to MSVC.
2019-10-31 13:15:44 +00:00
Jonathan Poncelet
1bc65c15f5 Build: Fixed GiveFnptrsToDll not being found on Windows
Also fixed server DLL being named server.dll instead of hl.dll.
2019-10-31 08:14:36 +00: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
b00170a0a2 Support compiling with GCC 3.4.3 2019-10-26 15:49:05 +03:00
6dff6e3c61
Merge pull request #88 from FreeSlave/fix_crowbar_delay
Fix crowbar delay after the first hit
2019-10-17 04:59:32 +05:00
77891cdfa7
Merge pull request #87 from FreeSlave/fix_rapid_crowbar
Fix rapid crowbar bug
2019-10-17 04:59:15 +05:00
Roman Chistokhodov
c96794aa2d Place crowbar delay fix under a macro 2019-10-16 01:51:48 +03:00
Roman Chistokhodov
3fcc119275 Place rapid crowbar fix under a macro 2019-10-16 01:49:02 +03:00
ae6299f636 wscript: use taskgen counter to solve problem with compiling shared code instead of hardcoding indexes 2019-10-16 01:36:41 +03:00
Roman Chistokhodov
5869d67d99 Don't show rpg laser spot when player using func_tank 2019-10-15 07:58:33 +03:00
11adcd5ac8 cmake: Add check for tgmath.h header. 2019-10-13 20:58:14 +05:00
a9f37f6d74 Include tgmath.h and cmath headers. 2019-10-13 20:27:05 +05:00
73397679c2 More double promotion fixes. 2019-10-13 20:10:52 +05:00
ec9bffedaf Partially fix double promotion. 2019-10-13 16:49:25 +05:00
iZarif
a0ccf2d0a1 size of arrays are now a power of two 2019-10-03 00:24:27 +04:00
iZarif
04a31f4a1a fix gcc 8.3.0 format-overflow warnings 2019-10-02 23:15:53 +04:00
5d85a3be8d Fix build. 2019-09-24 03:06:07 +05:00
c9fdcd91e8 A little optimizations. 2019-09-24 03:00:37 +05:00
4623cb0dc2 Revert "Merge 89efd616d6"
This reverts commit c4820ad0df.
2019-09-24 01:41:50 +05:00
Roman Chistokhodov
cb51d2aa17 Fix potential segfault when reading sentences.txt 2019-09-21 01:41:47 +03:00
17e1af726d wscript: remove DEST_OS2 2019-09-19 17:18:57 +03:00
70bd3a2497 Do not break compatibility with amxx plugins(Gauss was broken in some cases). 2019-08-04 02:35:57 +05:00
81fe047f9a Do not create linkents in client library to prevent possible name collision. 2019-07-21 18:47:42 +05:00
Roman Chistokhodov
1f584d7237 Fix crowbar delay after the first hit 2019-07-08 21:20:14 +03:00
Roman Chistokhodov
b349bbfd82 Fix rapid crowbar bug 2019-07-08 21:11:06 +03:00
f6135287e6 Remove some strange code. 2019-07-07 20:30:20 +05:00
40d4e75d4b Fix warnings. 2019-07-07 20:08:01 +05:00
cf6647e07c Try to fix clang build. 2019-07-07 19:45:28 +05:00
93d1ed0294 Add a missing const qualifiers. Remove unneeded casts. 2019-07-07 19:37:24 +05:00
a78709ccbb Add a missing newline characters. 2019-07-07 19:03:04 +05:00
tyabus
873baccceb Replace magic numbers, Put changes under cvar 2019-05-30 22:28:50 +03:00
tyabus
1f2f268173 Add deny noise for func_recharger and func_healthcharger, when activator's health/armor is full 2019-05-30 22:28:50 +03:00
Roman Chistokhodov
60bb207ff4 Fix momentary_door sounds 2019-05-28 04:19:13 +03:00
a699702c00 wscript: strip lib prefix for HLSDK 2019-05-06 04:14:48 +03:00
Roman Chistokhodov
467899b99a Set activity before SetYawSpeed so it has the right activity 2019-05-05 21:07:34 +03:00
470a71540b waf: initial deploy 2019-05-03 19:19:39 +03:00
Roman Chistokhodov
76b7df393a Add spaces between source files in compile.bat 2019-05-02 13:12:57 +03:00
86229f7926 Add cvar to skip unicode check(Same as 4cdb80dce7) 2019-04-11 16:18:47 +03:00
c041db9909 Prevent skipping SetMoveDone call 2019-04-11 16:18:47 +03:00
FOTMarut
8ef6cb2427 Replaced magic numbers with defines in dlls/nodes*
- Changed some symbols to be platform-independent
- Now the CGraph_Retail::copyOverTo method doesn't automatically fall back to manual copy (instead of memcpy) on GRAPH_VERSION increments
2019-04-11 16:18:22 +03:00
FOTMarut
2b61380146 Fix for legacy node graph reading with XASH_64BIT
- Added dlls/nodes_compat.h, which implements two stub classes for reading legacy CGraph and CLink
- Modified CGraph::FLoadGraph in dlls/nodes.cpp to take advantage of them if GRAPH_VERSION != 16 == iVersion
- Slight changes to dlls/nodes.h to be able to test for the value of GRAPH_VERSION in preprocessor directives
2019-04-11 16:18:22 +03:00
Roman Chistokhodov
073f442293 Fix hornetgun recharge time on changelevel 2019-04-11 16:16:13 +03:00
Roman Chistokhodov
43d63a1448 Remove changing of m_szFriends on TalkInit (#58) 2019-02-12 05:01:29 +03: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
352e52eb0d Fix #62 ligthting issue. 2018-07-08 15:49:23 +03:00
744732a381
Merge pull request #59 from nekonomicon/flashlight
Do not show flashlight sprite in spectator mode.
2018-07-02 14:46:32 +03:00
2aab84f643
Merge pull request #61 from nekonomicon/motd
Do not break motd(Revert old changes).
2018-04-11 13:31:05 +07:00
b63c1753a1 Do not break motd(Revert old changes). 2018-04-11 04:48:42 +05:00
Roman Chistokhodov
75bc5105e7 Remove old TEXTURETYPE code 2018-04-08 20:30:17 +03:00
3d7e2b0d93 Do not show flashlight sprite in spectator mode. 2018-04-08 03:32:13 +05:00
9d7ab6acf4 Some fixes for FoV, HUD, egon flare and new compilers. (#52)
* Fix warnings.

* Merge some fixes from https://github.com/Fograin/hl-subs-mod.
2018-03-31 15:09:13 +03:00
4af9030156 Append 64 postfix on 64 bit 2018-03-22 15:23:34 +03:00
6161c6d4d8 Replace snprintf by _snprintf, for MSVC 2018-03-04 00:24:54 +03:00
6818ff091d Remove cast pointer to size_t in cbase.h, it's useless here 2018-03-04 00:21:05 +03:00
ccbc147c90 Fix Battery message spam when armorvalue goes fractional 2018-03-03 23:58:19 +03:00
556e2647fe Do not show train controls after player death. 2018-02-15 18:15:02 +05:00
Roman Chistokhodov
48733fd1a1 All copyright symbols to (c) 2018-01-19 20:00:32 +03:00
Roman Chistokhodov
8dc9245fe3 Copyright symbol to utf-8 2018-01-18 22:36:32 +03:00
c64b300050
Merge pull request #45 from FreeSlave/fix_warnings
Fix some warnings. Disable warning about invalid offsetof as it produ…
2018-01-18 22:15:30 +03:00
88d1a860d7
Merge pull request #44 from nekonomicon/angles
Fix typo.
2018-01-18 22:13:35 +03:00
Roman Chistokhodov
c135463774 add_compile_options for older cmake versions 2018-01-16 15:45:53 +03:00
Roman Chistokhodov
31c1e121b5 Fix some warnings. Disable warning about invalid offsetof as it produces billion warnings in save-restore code 2018-01-13 18:05:13 +03:00
8abffc9371 Fix typo. 2018-01-13 09:01:38 +05:00
c5aa3aa40e Fix amd64 build 2017-12-30 22:22:14 +07:00
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
3dda2ec590 Fix compiling on MSVC2017 2017-12-28 02:02:23 +03:00
7981bad606 Fix weapon selection being broken at the start of demo(or manual fullupdate call) 2017-12-19 00:28:34 +03:00
c128c69ceb Add install() for CMake. 2017-12-19 00:27:56 +03:00
Roman Chistokhodov
bf429f0709 Fix item soda precache 2017-12-16 04:56:23 +03:00
a319233322
Merge pull request #37 from nekonomicon/string_t
A little fixes.
2017-12-11 17:53:08 +03:00
f27d1028ac Do not reorganize variables in classes. Add missing #pragma once directives and more #include guards. 2017-12-11 02:44:30 +05:00
41c9b072e5 Add missing #include guards. 2017-12-10 22:41:27 +05:00
83c0505ffe Add missing precache calls. 2017-12-10 21:08:10 +05:00
2802050329 Add missing break. 2017-12-10 21:05:13 +05:00
18adf0979f Redefine string_t. Fix wrong variables type. 2017-12-10 20:56:46 +05:00
Roman Chistokhodov
e6ea89705f Update README.md, update makefiles, add .bat scripts for msvc 2017-12-09 00:16:29 +03:00
7d33351f77 Add missing file to build lists. 2017-11-18 14:53:44 +05:00
Roman Chistokhodov
5aa11a38b3 Give player exhaustible weapons when taking ammo for them from weaponbox 2017-11-01 16:43:29 +03:00
aaedd794c3 Merge 293b41b8cd 2017-10-15 17:50:05 +05:00
8e799fcf6d Add crowbar idle animations under CROWBAR_IDLE_ANIM macro. 2017-10-15 14:22:14 +05:00
f78471ad1d min->Q_min, max->Q_max. 2017-10-15 01:05:50 +05:00
e7989d438a Fix compatibility with MSVC 6. 2017-10-15 00:12:26 +05:00
65dc1997f7 Fix typo. 2017-10-09 19:44:19 +05:00
e3f953064d Remove unneeded macros. 2017-10-09 19:44:19 +05:00
f14d7cc552 A little fix. 2017-10-09 19:44:19 +05:00
4150b464a0 Improve spectator. 2017-07-24 16:38:38 +05:00
49e740c6f1 Remove unneeded casts. 2017-07-24 02:47:26 +05:00
70c6e42907 Merge 68c9b7cf6b 2017-07-24 00:37:20 +05:00
cf9ba71686 Make UpdateOnRemove() virtual. 2017-07-21 02:29:27 +05:00
bacf65d55b Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d into sdk-update 2017-07-20 23:37:20 +05:00
d1fbb99574 Fix some warnings yet. 2017-07-20 23:32:06 +05:00
c9ac2c6dab Implement mp_satchelfix cvar. 2017-07-20 12:22:02 +05:00
7a5c29cbc9 Clear any effects on disconnect. 2017-07-20 10:51:34 +05:00
d062757f52 Use MAKE_STRING for literals. Remove duplicated code. 2017-07-19 23:25:47 +05:00
946e962f3c Merge 1c71f33cb0 2017-07-19 04:06:19 +05:00
51c682c15e Merge adb6161537 2017-07-19 03:22:08 +05:00
426a0e7ab3 Revert "Revert "Merge 29c4d46ad0""
This reverts commit 5dab1c1f1d.
2017-07-19 02:52:11 +05:00
9dff875d32 Revert "Revert unneeded changes."
This reverts commit 6d2a869ecd.
2017-07-19 02:51:17 +05:00
c2a1b013c2 Merge 001e6a09fa 2017-07-19 02:47:31 +05:00
c8ebe744c3 Fix my mistakes. Apply fixes for rpg and tank laser again. 2017-07-19 02:00:03 +05:00
6d2a869ecd Revert unneeded changes. 2017-07-18 22:56:45 +05:00
5dab1c1f1d Revert "Merge 29c4d46ad0"
This reverts commit 075fd29030.
2017-07-18 22:54:03 +05:00
0af3a37151 Fix build. Remove unneeded changes. 2017-07-17 13:45:39 +05:00
7e5145aaff Merge b15a0f9d56 2017-07-17 13:03:38 +05:00
5a2dccb978 Merge 09a90f4a00 2017-07-17 12:58:28 +05:00
075fd29030 Merge 29c4d46ad0 2017-07-17 12:56:33 +05:00
0570769d35 Merge fd29683101 2017-07-17 12:17:26 +05:00
f318cab1c2 Merge d8daa2f16c 2017-07-17 12:06:26 +05:00
38b2236515 Merge ee1ec9d64f 2017-07-17 12:01:53 +05:00
73a99df894 Merge c66ee97ade 2017-07-17 10:15:17 +05:00
6f8cd70328 Merge 7a627bf8e3 2017-07-17 10:11:39 +05:00
2b2fdac7d0 Merge 336bc05c82 2017-07-17 10:04:33 +05:00
004054586b Merge 52209adc33 2017-07-17 10:01:32 +05:00
cbdf9b5d04 Fix knowledge bugs with satchels again. 2017-07-17 09:48:08 +05:00
1674a4b6d4 Use XASH_64BIT macro 2017-07-14 15:34:44 +00:00
00833188da Use real MAKE_STRING when possible 2017-07-14 13:42:47 +00:00
4661b5c1a5 Increase graph version 2017-07-14 13:11:58 +00:00
a383a57a09 Fix build. 2017-07-11 03:00:05 +05:00
7bba3a124a Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d into sdk-update 2017-07-11 02:14:45 +05:00
8455d69360 Merge d6732ca079 2017-07-11 01:58:22 +05:00
2df762e705 Merge f8db63a45b 2017-07-11 01:40:26 +05:00
77d077c83d Partially merge 3563a1846f 2017-07-11 01:32:53 +05:00
2324270cc2 Do not reduce armor value when godmode is active. 2017-07-10 22:18:45 +05:00
4d7d6f2c37 Turn off flashlight when player dead. 2017-07-10 19:28:56 +05:00
9ebfc98177 Fix field sizes 2017-07-08 21:28:31 +00:00
3bce17e3a0 Fix saverestore on LP64 2017-07-08 20:26:21 +00:00
c16e1ecfef A little fix for nodes on 64bit arches. 2017-07-08 20:13:41 +05:00
4d1dc131b9 Fix mistakes with saverestore after merge. 2017-07-08 20:06:00 +05:00
f575e78a9b Register allow_spectators cvar. 2017-07-06 03:47:59 +05:00
c6b353e092 Fix build. 2017-07-06 02:35:32 +05:00
bdd3e74ebd Detonate satchels under blocked door. 2017-07-06 02:30:10 +05:00
b7d1bd3235 Merge fix for blocked door sound from bubblemod. 2017-07-06 00:44:14 +05:00
6e1059026f Do not detonate hand grenade after weapon switch. 2017-07-06 00:41:13 +05:00
b66f1cb394 Update glock.cpp. 2017-07-06 00:25:22 +05:00
495c771724 Update mp5.cpp. 2017-07-06 00:20:29 +05:00
cf5b2f9e14 Merge https://github.com/ValveSoftware/halflife/pull/1601 2017-07-05 23:50:55 +05:00
e98f45b279 Merge https://github.com/ValveSoftware/halflife/pull/1599 2017-07-05 21:53:57 +05:00
9ef79aee9e Merge 6f020090bd 2017-07-05 21:44:06 +05:00
19bdc1d01b Merge 33413807d0 2017-07-05 19:48:01 +05:00