Commit Graph

216 Commits

Author SHA1 Message Date
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
Andrey Akhmichin 5d85a3be8d Fix build. 2019-09-24 03:06:07 +05:00
Andrey Akhmichin c9fdcd91e8 A little optimizations. 2019-09-24 03:00:37 +05:00
Andrey Akhmichin 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
Alibek Omarov 17e1af726d wscript: remove DEST_OS2 2019-09-19 17:18:57 +03:00
Andrey Akhmichin 70bd3a2497 Do not break compatibility with amxx plugins(Gauss was broken in some cases). 2019-08-04 02:35:57 +05:00
Andrey Akhmichin 81fe047f9a Do not create linkents in client library to prevent possible name collision. 2019-07-21 18:47:42 +05:00
Andrey Akhmichin f6135287e6 Remove some strange code. 2019-07-07 20:30:20 +05:00
Andrey Akhmichin 40d4e75d4b Fix warnings. 2019-07-07 20:08:01 +05:00
Andrey Akhmichin cf6647e07c Try to fix clang build. 2019-07-07 19:45:28 +05:00
Andrey Akhmichin 93d1ed0294 Add a missing const qualifiers. Remove unneeded casts. 2019-07-07 19:37:24 +05:00
Andrey Akhmichin 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
Alibek Omarov 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
Alibek Omarov 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
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