Commit Graph

345 Commits

Author SHA1 Message Date
Night Owl 86229f7926 Add cvar to skip unicode check(Same as 4cdb80dce7) 2019-04-11 16:18:47 +03:00
mittorn 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
Alibek Omarov 744732a381
Merge pull request #59 from nekonomicon/flashlight
Do not show flashlight sprite in spectator mode.
2018-07-02 14:46:32 +03:00
mittorn 2aab84f643
Merge pull request #61 from nekonomicon/motd
Do not break motd(Revert old changes).
2018-04-11 13:31:05 +07:00
Night Owl 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
Night Owl 3d7e2b0d93 Do not show flashlight sprite in spectator mode. 2018-04-08 03:32:13 +05:00
Andrey Akhmichin 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
Alibek Omarov 4af9030156 Append 64 postfix on 64 bit 2018-03-22 15:23:34 +03:00
Alibek Omarov 6161c6d4d8 Replace snprintf by _snprintf, for MSVC 2018-03-04 00:24:54 +03:00
Alibek Omarov 6818ff091d Remove cast pointer to size_t in cbase.h, it's useless here 2018-03-04 00:21:05 +03:00
Alibek Omarov ccbc147c90 Fix Battery message spam when armorvalue goes fractional 2018-03-03 23:58:19 +03:00
Night Owl 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
Alibek Omarov 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
Alibek Omarov 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
Night Owl 8abffc9371 Fix typo. 2018-01-13 09:01:38 +05:00
mittorn c5aa3aa40e Fix amd64 build 2017-12-30 22:22:14 +07: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 7981bad606 Fix weapon selection being broken at the start of demo(or manual fullupdate call) 2017-12-19 00:28:34 +03:00
Alibek Omarov 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
Alibek Omarov a319233322
Merge pull request #37 from nekonomicon/string_t
A little fixes.
2017-12-11 17:53:08 +03:00
Night Owl f27d1028ac Do not reorganize variables in classes. Add missing #pragma once directives and more #include guards. 2017-12-11 02:44:30 +05:00
Night Owl 41c9b072e5 Add missing #include guards. 2017-12-10 22:41:27 +05:00
Night Owl 83c0505ffe Add missing precache calls. 2017-12-10 21:08:10 +05:00
Night Owl 2802050329 Add missing break. 2017-12-10 21:05:13 +05:00
Night Owl 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
Night Owl 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
Night Owl aaedd794c3 Merge 293b41b8cd 2017-10-15 17:50:05 +05:00
Night Owl 8e799fcf6d Add crowbar idle animations under CROWBAR_IDLE_ANIM macro. 2017-10-15 14:22:14 +05:00
Night Owl f78471ad1d min->Q_min, max->Q_max. 2017-10-15 01:05:50 +05:00
Night Owl e7989d438a Fix compatibility with MSVC 6. 2017-10-15 00:12:26 +05:00
Night Owl 65dc1997f7 Fix typo. 2017-10-09 19:44:19 +05:00
Night Owl e3f953064d Remove unneeded macros. 2017-10-09 19:44:19 +05:00
Night Owl f14d7cc552 A little fix. 2017-10-09 19:44:19 +05:00
Night Owl 4150b464a0 Improve spectator. 2017-07-24 16:38:38 +05:00
Night Owl 49e740c6f1 Remove unneeded casts. 2017-07-24 02:47:26 +05:00
Night Owl 70c6e42907 Merge 68c9b7cf6b 2017-07-24 00:37:20 +05:00
Night Owl cf9ba71686 Make UpdateOnRemove() virtual. 2017-07-21 02:29:27 +05:00
Night Owl bacf65d55b Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d into sdk-update 2017-07-20 23:37:20 +05:00
Night Owl d1fbb99574 Fix some warnings yet. 2017-07-20 23:32:06 +05:00
Night Owl c9ac2c6dab Implement mp_satchelfix cvar. 2017-07-20 12:22:02 +05:00
Night Owl 7a5c29cbc9 Clear any effects on disconnect. 2017-07-20 10:51:34 +05:00
Night Owl d062757f52 Use MAKE_STRING for literals. Remove duplicated code. 2017-07-19 23:25:47 +05:00
Night Owl 946e962f3c Merge 1c71f33cb0 2017-07-19 04:06:19 +05:00
Night Owl 51c682c15e Merge adb6161537 2017-07-19 03:22:08 +05:00
Night Owl 426a0e7ab3 Revert "Revert "Merge 29c4d46ad0""
This reverts commit 5dab1c1f1d.
2017-07-19 02:52:11 +05:00
Night Owl 9dff875d32 Revert "Revert unneeded changes."
This reverts commit 6d2a869ecd.
2017-07-19 02:51:17 +05:00
Night Owl c2a1b013c2 Merge 001e6a09fa 2017-07-19 02:47:31 +05:00
Night Owl c8ebe744c3 Fix my mistakes. Apply fixes for rpg and tank laser again. 2017-07-19 02:00:03 +05:00
Night Owl 6d2a869ecd Revert unneeded changes. 2017-07-18 22:56:45 +05:00
Night Owl 5dab1c1f1d Revert "Merge 29c4d46ad0"
This reverts commit 075fd29030.
2017-07-18 22:54:03 +05:00
Night Owl 0af3a37151 Fix build. Remove unneeded changes. 2017-07-17 13:45:39 +05:00
Night Owl 7e5145aaff Merge b15a0f9d56 2017-07-17 13:03:38 +05:00
Night Owl 5a2dccb978 Merge 09a90f4a00 2017-07-17 12:58:28 +05:00
Night Owl 075fd29030 Merge 29c4d46ad0 2017-07-17 12:56:33 +05:00
Night Owl 0570769d35 Merge fd29683101 2017-07-17 12:17:26 +05:00
Night Owl f318cab1c2 Merge d8daa2f16c 2017-07-17 12:06:26 +05:00
Night Owl 38b2236515 Merge ee1ec9d64f 2017-07-17 12:01:53 +05:00
Night Owl 73a99df894 Merge c66ee97ade 2017-07-17 10:15:17 +05:00
Night Owl 6f8cd70328 Merge 7a627bf8e3 2017-07-17 10:11:39 +05:00
Night Owl 2b2fdac7d0 Merge 336bc05c82 2017-07-17 10:04:33 +05:00
Night Owl 004054586b Merge 52209adc33 2017-07-17 10:01:32 +05:00
Night Owl cbdf9b5d04 Fix knowledge bugs with satchels again. 2017-07-17 09:48:08 +05:00
mittorn 1674a4b6d4 Use XASH_64BIT macro 2017-07-14 15:34:44 +00:00
mittorn 00833188da Use real MAKE_STRING when possible 2017-07-14 13:42:47 +00:00
mittorn 4661b5c1a5 Increase graph version 2017-07-14 13:11:58 +00:00
Night Owl a383a57a09 Fix build. 2017-07-11 03:00:05 +05:00
Night Owl 7bba3a124a Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d into sdk-update 2017-07-11 02:14:45 +05:00
Night Owl 8455d69360 Merge d6732ca079 2017-07-11 01:58:22 +05:00
Night Owl 2df762e705 Merge f8db63a45b 2017-07-11 01:40:26 +05:00
Night Owl 77d077c83d Partially merge 3563a1846f 2017-07-11 01:32:53 +05:00
Night Owl 2324270cc2 Do not reduce armor value when godmode is active. 2017-07-10 22:18:45 +05:00
Night Owl 4d7d6f2c37 Turn off flashlight when player dead. 2017-07-10 19:28:56 +05:00
mittorn 9ebfc98177 Fix field sizes 2017-07-08 21:28:31 +00:00
mittorn 3bce17e3a0 Fix saverestore on LP64 2017-07-08 20:26:21 +00:00
Night Owl c16e1ecfef A little fix for nodes on 64bit arches. 2017-07-08 20:13:41 +05:00
Night Owl 4d1dc131b9 Fix mistakes with saverestore after merge. 2017-07-08 20:06:00 +05:00
Night Owl f575e78a9b Register allow_spectators cvar. 2017-07-06 03:47:59 +05:00
Night Owl c6b353e092 Fix build. 2017-07-06 02:35:32 +05:00
Night Owl bdd3e74ebd Detonate satchels under blocked door. 2017-07-06 02:30:10 +05:00
Night Owl b7d1bd3235 Merge fix for blocked door sound from bubblemod. 2017-07-06 00:44:14 +05:00
Night Owl 6e1059026f Do not detonate hand grenade after weapon switch. 2017-07-06 00:41:13 +05:00
Night Owl b66f1cb394 Update glock.cpp. 2017-07-06 00:25:22 +05:00
Night Owl 495c771724 Update mp5.cpp. 2017-07-06 00:20:29 +05:00
Night Owl cf5b2f9e14 Merge https://github.com/ValveSoftware/halflife/pull/1601 2017-07-05 23:50:55 +05:00
Night Owl e98f45b279 Merge https://github.com/ValveSoftware/halflife/pull/1599 2017-07-05 21:53:57 +05:00
Night Owl 9ef79aee9e Merge 6f020090bd 2017-07-05 21:44:06 +05:00
Night Owl 19bdc1d01b Merge 33413807d0 2017-07-05 19:48:01 +05:00
Night Owl e7b324da5e Merge 19c8e45d8f 2017-07-05 19:17:59 +05:00
Night Owl 33ba064b88 Merge 4dfa6b8710 2017-07-05 17:53:04 +05:00
Night Owl 55c3eb674c Merge 35fd286cca 2017-07-05 17:39:50 +05:00
Night Owl e5f6f7d9ac Merge 0cbbe099f3 2017-07-05 16:58:26 +05:00
Night Owl ca7464b158 Merge 60a45fb6cd 2017-07-05 16:51:43 +05:00
Night Owl 740a5a2c31 Merge 2baa8fe118 2017-07-05 16:42:08 +05:00
Night Owl 3ad3004dd9 Merge 3e2f7e1e81 2017-07-05 04:03:22 +05:00
Night Owl 9bb5cb2f05 Merge 46ea4af5f8 2017-07-05 03:56:48 +05:00
Night Owl 9c85e5eb77 Merge b3cf83bbf1 2017-07-05 03:46:20 +05:00
Night Owl 95d81733fc Merge 29947a0558 2017-07-05 03:41:48 +05:00
Night Owl 6379954153 Merge e41b164fdf 2da0a12d35 2017-07-05 03:35:40 +05:00
Night Owl f22f1331af Merge 2219190a09 2017-07-05 03:25:39 +05:00
Night Owl c4820ad0df Merge 89efd616d6 2017-07-05 03:12:53 +05:00
Night Owl 2cb20f7b75 Merge 274bd297f9 2017-07-05 02:43:50 +05:00
Night Owl 780b4616fe Merge c98747a35e 2017-07-05 02:41:23 +05:00
Night Owl 4800c0d54c Deactivate satchels on disconnect. 2017-07-03 03:24:14 +05:00
Night Owl 98a562c20e Merge 9d2ae368aa 2017-07-02 21:17:51 +05:00
Night Owl 391c2aa217 Merge 5a13e06f52 2017-07-02 20:09:34 +05:00
Night Owl d3ebe0ac46 Merge e7b5c6be51 2017-07-02 19:52:18 +05:00
Night Owl ac6d7c4384 Merge 5cade5b760 2017-07-02 19:35:16 +05:00
Night Owl 3dfbd2a41f Merge 14fa5e81d0 2017-07-02 19:31:49 +05:00
Night Owl 13a691bdd8 Fix GetHullBounds()
Same as in 8d4515be42
2017-07-02 19:02:52 +05:00
Night Owl 7113204d51 Merge 8903b33ef3 2017-07-02 16:42:54 +05:00
Night Owl cabb03ad45 Merge 2257fa14e7 2017-07-02 16:11:40 +05:00
Night Owl 4ae58b4170 Fix weapon reload bug. Use macros instead of magic numbers. 2017-07-02 05:37:14 +05:00
Night Owl c28d86f748 Fix wrong check. 2017-07-02 02:42:30 +05:00
Night Owl d20c4ff329 Fix build. 2017-07-02 02:36:56 +05:00
Night Owl 2faa732aa1 Apply some @AlliedModders's patches. 2017-06-29 18:56:03 +05:00
Night Owl d217780789 Try fix build again. 2017-06-26 07:41:01 +05:00
Night Owl ecaba0de22 Upload missing file. Fix build. 2017-06-26 07:06:27 +05:00
Night Owl a522ae20c3 Merge some changes from git version of hlsdk. 2017-06-26 05:47:19 +05:00
Night Owl fc276ad52f Do not use -frtti flag. 2017-06-16 19:18:24 +05:00
Night Owl 409848b80f Do not break menuselect behavior. 2017-04-03 21:16:25 +05:00
mittorn 55a3ab741a Fix build 2017-02-09 22:54:09 +06:00
mittorn 617d75545f Fix unaligned access when built by clang 2017-02-09 22:54:09 +06:00
mittorn 80593d29bd Apply fixes from gravgun branch 2017-02-01 14:55:40 +00:00
mittorn 02532a478b Fix visual studio server build 2017-01-10 16:09:44 +07:00
Roman Chistokhodov 56aa9f4a9c Put MOVETYPE_COMPOUND usage under if 2017-01-04 22:05:21 +03:00
Roman Chistokhodov b7990e270d Remove usage of MOVETYPE_COMPOUND to prevent crash 2017-01-03 00:49:22 +03:00
Night Owl 2d0ef9914a Prevent crash when pressed USE and called scripted_sequence. 2016-11-30 01:41:14 +05:00
mittorn 21317e7da3 Fix build on some enviroments 2016-08-18 23:23:03 +00:00
a1batross 396629081c Fix "too quality" @nekonomicon's PR 2016-08-13 13:16:23 +06:00
a1batross 2f317acc24 Fix name in Android.mk 2016-08-11 12:21:14 +06:00
a1batross 008234143e Revert some changes from PR 2016-08-08 15:01:16 +06:00
a1batross 42052a5057 CMake as optional build system 2016-08-08 13:27:59 +06:00
FreeSlave 5d0b6f267e Use ?= on compilers. Remove D_LINUX from client Makefile 2016-08-06 23:37:36 +04:00
FreeSlave d4d78f7691 Add README.md. Some fixes for FreeBSD. Add Makefile for client 2016-08-06 22:25:29 +04:00
Night Owl 611d2b73a5 Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d 2016-08-04 22:48:49 +05:00
mittorn 6c7d89ea76 Fix win64 build 2016-08-03 22:36:50 +00:00
Night Owl d8c8c09d54 Oops. Fix my mistakes. 2016-08-03 02:40:57 +05:00
Night Owl a8b188e1d5 Fix -Wshadow. 2016-08-02 23:16:24 +05:00
Night Owl 932d269e74 Fix memory leak. 2016-08-02 22:24:25 +05:00
Night Owl b925cbd284 Oops. Fix voice. 2016-08-02 21:24:33 +05:00
Night Owl 7c17f6e042 Rework initialization. 2016-08-02 16:59:22 +05:00
Night Owl acd54c6edf Rework DNO_VOICEGAMEMGR macro. 2016-08-01 22:18:54 +05:00
Night Owl 3b8bc0a417 Reformat some files yet. 2016-08-01 16:13:13 +05:00
Night Owl 07347addc2 Move h_cine.cpp to dlls/legacy directory. 2016-07-31 19:54:54 +05:00
Night Owl 327bf79e74 Remove h_cine.cpp from Android.mk. 2016-07-31 19:52:15 +05:00
Night Owl 3728c6c7c2 Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d 2016-07-31 19:33:34 +05:00
Night Owl 5890ff41ee Server format. 2016-07-31 18:48:50 +05:00
mittorn 31a84015ef Skip gauss idle animation on client 2016-07-21 20:38:30 +00:00
Night Owl fad7aa53d7 Remove extra commas and semicolons. 2016-06-25 23:21:01 +05:00
Night Owl 34ec37cc9e Comment useless header. 2016-06-25 21:54:13 +05:00
Night Owl 242983d0f4 move useless files to useless/dlls directory. 2016-06-25 21:45:47 +05:00
Night Owl 769f1e765e Move tempmonster.cpp to examples directory. 2016-06-25 21:39:31 +05:00
Night Owl a0a780d465 Remove tempmonster.cpp from Android.mk 2016-06-25 21:36:56 +05:00
Night Owl 1aac42f504 Remove extra commas and semicolons. Format. 2016-06-25 21:33:39 +05:00
Night Owl 3a691b21a4 Partially fix -Wswitch. 2016-06-13 19:29:45 +05:00
Night Owl a9796904ec Remove unused check. 2016-06-13 18:48:17 +05:00
Night Owl 1866872887 Fix access to uninitialized variables. 2016-06-13 18:45:25 +05:00
mittorn 2c0f598c6d Disable CVoiceGameMgr 2016-06-12 20:43:45 +00:00
mittorn fe4bedb0fb Fix win32 support 2016-06-12 09:14:28 +00:00
mittorn feb2aefd88 Fix copying string to itself 2016-06-05 08:17:09 +00:00
Night Owl 4304846337 CRLF to LF all. 2016-06-04 18:24:23 +05:00
Night Owl e0136428bb Remov flag -fpermissive from Android Makefiles. 2016-06-04 17:20:18 +05:00
Night Owl a569c16c2f Fix strange definition. 2016-06-04 17:17:44 +05:00
Night Owl 015b5425ff Add missing cast. 2016-06-04 17:05:10 +05:00
a1batross 056db40061 Merge @nekonomicon's fixes (#1) 2016-05-18 00:26:08 +03:00
mittorn d287ed4463 64 bit support 2016-04-22 14:27:54 +00:00
Night Owl bdc4e3f8d3 Fix build. 2016-04-18 01:44:31 +05:00
Night Owl 0adbd65d8a Fix build clang. Fix UB. 2016-04-18 01:30:05 +05:00
a1batross c16d00c170 Remove prop.cpp from Android.mk, because we need a clean Half-Life in master branch 2016-04-02 19:24:11 +03:00
mittorn 9fd279a974 Fix DLLEXPORT macro and move it's defination to separate file 2016-03-09 17:11:16 +06:00
mittorn f2ea272c02 [prop] Attacker/owner/damage tweak 2016-03-06 20:13:35 +00:00
mittorn 1ca34fcb43 Fix nodes 2016-03-06 20:12:46 +00:00
mittorn 833bd215d7 Increase detonate threshold 2016-03-03 20:36:58 +00:00
mittorn db3aeb6ebf Change explosion damage type 2016-03-03 20:31:01 +00:00
mittorn 700a102f86 Delayed explosion 2016-03-02 15:01:27 +00:00
mittorn 344364cc71 Fix prop bugs 2016-03-02 14:22:22 +00:00
mittorn 81207e3815 Add sed script and convert all SetXXX macros 2016-03-02 11:39:18 +00:00
mittorn 06d38e3feb Forgot glock.cpp 2016-03-01 07:19:33 +00:00
mittorn ac857199cf Apply some valve's fixes 2016-02-29 20:04:01 +00:00
mittorn 0f599684c5 Upload first port 2016-02-24 21:26:16 +00:00