2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-06 03:55:32 +03:00
Commit Graph

379 Commits

Author SHA1 Message Date
In-line
61afe7a7b9 Update cvar.cpp/cvar.h 2017-02-20 20:05:40 +04:00
In-line
bd8019da9f Add MAX_CVARLIST_FILES define 2017-02-20 19:08:07 +04:00
Lev
590227aa8d Merge pull request #373 from Sh1ft0x0EF/coderev-generic
Fix missing license headers.
2017-02-20 16:39:33 +05:00
Sh1ft0x0EF
1b75722974 Fix missing license headers 2017-02-20 15:03:53 +04:00
Lev
f1e6b6ca40 Merge pull request #372 from Sh1ft0x0EF/coderev-generic
enum-like defines -> enums
2017-02-19 10:20:09 +05:00
Lev
4a90fa39a1 Added crlf at the file ending. 2017-02-19 10:04:22 +05:00
Sh1ft0x0EF
77482953d9 enum-like defines -> enums 2017-02-18 22:53:56 +04:00
Lev
8960c2ec5e Merge pull request #371 from Sh1ft0x0EF/coderev-pragma
Use pragma once for headers.
2017-02-18 20:49:01 +05:00
Sh1ft0x0EF
774e065278 Use pragma once for headers (368B - Same as #368 but using pragma only) 2017-02-18 18:58:37 +04:00
Lev
0b95a4f976 Merge pull request #370 from shelru/Description-fixz
Command parameter description added.
2017-02-18 17:26:44 +05:00
Lev
0cf0746afb Merge pull request #364 from WPMGPRoSToTeMa/patch-7
Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged.
2017-02-18 17:08:17 +05:00
shelru
09fc396a84 Some desc added.
Update description for 'kick' cmd.
2017-02-18 15:59:20 +04:00
Lev
ef8134168b Small refactoring. 2017-02-18 13:58:23 +05:00
Lev
f97308fc78 Refactoring, #362. 2017-02-17 22:40:25 +05:00
Artem Golubikhin
facbbafb8a Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged 2017-02-17 19:14:33 +03:00
Lev
c55837e42a Refactoring: use SOCKET type for sockets, simplified code for invalid socket value. (#359)
* Refactoring: use SOCKET type for sockets, simplified code for invalid socket value.
Fixed bug in reversing.

* Fixed Linux build.
2017-02-17 15:26:44 +03:00
Lev
5c34ee85ea Fixed post build event. 2017-02-15 20:04:23 +05:00
souvikdas95
42ae4c2e97 MSVC Warning Fix (v140_xp) (#355)
MSVC Warnings Fixes (v140_xp).
2017-02-15 19:59:39 +05:00
Lev
9ee7e6e95f Formatting. 2017-02-15 08:41:28 +05:00
Lev
b03dc58897 Fixed most of unrechable code. 2017-02-15 08:10:29 +05:00
Lev
c702da50ef Merge pull request #357 from dreamstalker/fixes20170215
Suffix parameters in type declaration to avoid messing with macros and local variables.
2017-02-15 06:15:27 +05:00
Lev
a0a5202362 Suffix parameters in type declaration to avoid messing with macros and local variables. 2017-02-15 06:04:23 +05:00
In-line
9ecd027518 Remove comment (#352)
* Remove comment.
2017-02-15 05:58:09 +05:00
Lev
6e5a4eb010 Merge pull request #327 from souvikdas95/master
Fixed: parameter constraints in meta forwards & cmd functions.
2017-02-15 05:20:17 +05:00
Souvik Das
656c5d5f52 Fixed: parameter constraint in PF_lightstyle_I 2017-02-15 00:32:54 +05:30
Souvik Das
6a9d611a25 Fixed: parameter constraints in meta forwards 2017-02-15 00:10:58 +05:30
Souvik Das
0a62dab196 Added more constraints to cmd functions 2017-02-14 22:55:31 +05:30
theAsmodai
96d7b982a9 Merge pull request #351 from s1lentq/stdc_compat
Remove link statically with libstdc++
2017-02-14 19:23:09 +03:00
In-line
f892229a40 Use __func__ whenever possible 2017-02-14 19:47:09 +04:00
s1lent
1b893376db Remove link statically with libstdc++ and add compatibility tricks to avoid symbols with version GLIBCXX_3.4.16 and bigger. 2017-02-14 22:02:15 +07:00
s1lent
c2de84abf5 HLDS Launcher: Fix pingboost 1 2017-02-14 17:15:23 +07:00
Lev
562f957477 Fixed typo in comment. 2017-02-14 04:36:40 +05:00
s1lent
5eb2498ced HLDS Launcher: Fix pingboost 2017-02-14 04:39:31 +07:00
s1lent
3bf374d298 Add project Dedicated (hlds launcher without VGUI) 2017-02-14 02:56:38 +07:00
Lev
713eb77e9e Merge pull request #349 from dreamstalker/fixes20170212
Added some comment.
2017-02-13 01:36:01 +05:00
Lev
9905fc6839 Added some comment. 2017-02-13 01:34:25 +05:00
theAsmodai
4fa22385be Merge pull request #348 from dreamstalker/fixes20170212
Fix CreateBaseline call crash under Linux and change parameters passing under Windows.
2017-02-12 23:02:10 +03:00
Lev
eb27095f73 Fix CreateBaseline call crash under Linux and change parameters passing under Windows. 2017-02-12 22:53:07 +05:00
Artem Golubikhin
4ec65317f9 Fixed typo in SV_FindModelNumbers 2017-02-11 06:15:55 +03:00
Lev
2f64cfc873 GCC support (#339)
* GCC support - could be used via -PuseGcc command line argument.

* Refactoring around __FUNCTION__, change __FUNCTION__ into __func__.

* Refactoring, formatting, small fixes.
2017-02-11 01:51:22 +05:00
Lev
b0cd67b112 Merge pull request #338 from WPMGPRoSToTeMa/LocalGametime
Fixed build fail
2017-02-07 01:38:00 +05:00
WPMGPRoSToTeMa
f797704762 Fixed build fail 2017-02-06 20:36:30 +03:00
theAsmodai
027a01bf42 Merge pull request #337 from WPMGPRoSToTeMa/LocalGametime
Fixed local gametime ticking when server is paused
2017-02-06 13:51:12 +03:00
WPMGPRoSToTeMa
dacd3bf14e Fixed local gametime ticking when server is paused 2017-02-06 02:43:59 +03:00
Lev
9d5b94a514 Do model leafs check only in single player. (#336)
* Do model leafs check only in single player.
2017-02-04 23:11:21 +05:00
Lev
f5faf796d9 Small fixes and formatting. (#331)
* Allow hlds.exe to be renamed, just disable testing suite.

* Corrected structure field name.

* A bit of formatting and types fixes.

* Correct the code to avoid visual studio code parsing bug (it doesn't process half of pair curly braces in defines correctly).

* A bit more cleanup.
2017-02-03 23:07:24 +05:00
Artem Golubikhin
6715402425 Workaround for texture precaching on case-sensitive filesystem (#325)
That fixes a problem when texture file for model ends with "t.mdl", not "T.mdl"
2017-01-28 02:02:43 +05:00
Artem Golubikhin
b175d2a829 Removed split packets processing on the server socket 2017-01-27 02:26:33 +03:00
theAsmodai
e6fa6d7c07 Merge pull request #321 from WPMGPRoSToTeMa/FixSpectatorBufferOverflow
Allowed spectator and global unreliable buffer to overflow
2017-01-24 23:41:04 +03:00
WPMGPRoSToTeMa
50dc3acfde Allowed spectator and global unreliable buffer to overflow
Extended spectator buffer
2017-01-24 17:08:18 +03:00
Artem Golubikhin
2382a8876f Fixed auto wad precaching (#319) 2017-01-23 16:58:50 +05:00
In-line
105075e0f6 Micro optimization and report recursive shutdown by Sys_Error (#318)
* Micro optimization in CheckGore
2017-01-23 14:16:03 +05:00
In-line
fb3ec088e1 Fix and optimize file extension checks (#317)
Optimize file extension checks
2017-01-21 22:00:50 +03:00
theAsmodai
47964c847b Merge pull request #314 from In-line/move_numleafs_check_to_model_load
Move model->numleafs check to Mod_LoadLeafs
2017-01-21 14:23:09 +03:00
In-line
f6ce3a447c Move model->numleafs check to Mod_LoadLeafs 2017-01-21 13:14:29 +04:00
Artem Golubikhin
f967c5db95 Additional dead check for kill command handler 2017-01-21 04:29:06 +03:00
theAsmodai
b6fe0ac31f Merge pull request #311 from dreamstalker/cmd_remove_cmd
Added Cmd_RemoveCmd to ReHlds API
2017-01-17 23:51:58 +03:00
s1lentq
fedc99bb85 Add a detailed print in SV_HandleClientMessage 2017-01-15 01:04:02 +07:00
s1lentq
63a037af60 Add badge to README.md 2017-01-13 02:38:51 +07:00
s1lentq
0c8cb64af7 Fix #304
Fix unknown function __cpuidex when used in 3rd party
2017-01-07 19:59:56 +07:00
asmodai
d75af4a219 Added Cmd_RemoveCmd to ReHlds API 2017-01-07 02:42:36 +03:00
theAsmodai
428b05e8ec Merge pull request #305 from dreamstalker/fpu_flags_dont_set
Removed FPU flags changing for SSE builds
2017-01-07 01:54:11 +03:00
asmodai
dace70e2b1 Removed FPU flags changing for SSE builds 2017-01-07 01:36:37 +03:00
In-line
8ec7639995 Move SetCStrikeFlags() from Init_noVirt to Host_InitializeGameDLL 2017-01-06 21:43:00 +04:00
In-line
2ab8b1f884 SetCStrikeFlags once on server start 2017-01-06 10:54:31 +04:00
In-line
bff0dfd7b4 Default *pfilename in COM_Log to status.log (#303)
Default filename in COM_Log changed to hllog.txt
2017-01-05 18:16:57 +03:00
Chuvi
73237e884b Convert g_bIs#GameName# to enum. (#300)
* Convert g_bIs#GameName# to enum.
2017-01-05 03:08:21 +05:00
theAsmodai
22ca60c764 Merge pull request #294 from theAsmodai/noxref_err_icc
Added correct noxref error message for ICC linux builds
2016-12-30 16:32:40 +03:00
LevShisterov
0a139c728e Merge pull request #298 from dreamstalker/Host_Quit_Restart_f_fix
Fixed Host_Quit_Restart_f.
2016-12-30 00:39:08 +05:00
Lev
f28c4c4b4e Fixed Host_Quit_Restart_f. 2016-12-30 00:31:45 +05:00
asmodai
085c8b8017 Added correct noxref error message for ICC linux builds 2016-12-29 01:22:56 +03:00
Semen Ermilov
b9c8be8aec Nohref checks (#293)
* Fixed "error C4996: 'GetVersionExA': was declared deprecated" using a crutch.
* Added NOXREFCHECK to all NOXREF functions.
* Removed NOXREF from Sys_CheckOSVersion because it is being called.
2016-12-28 23:41:12 +05:00
Chuvi
11d1af755f Fixed "error C4996: 'GetVersionExA': was declared deprecated" using a crutch. 2016-12-28 11:10:02 +03:00
theAsmodai
9c59407c9a Merge pull request #290 from dreamstalker/Decal_Init_fix
Fixed decals.wad loading fallback to DEFAULTGAME directory.
2016-12-27 19:27:40 +03:00
Lev
714ecf9651 Fixed decals.wad loading fallback to DEFAULTGAME directory if mod doesn't supply it (like in AG). 2016-12-27 18:47:17 +05:00
theAsmodai
347f42a799 Merge pull request #287 from WPMGPRoSToTeMa/LocalGametime
Added a feature of local gametime which decrease "lags" if you run sa…
2016-12-24 18:42:29 +03:00
WPMGPRoSToTeMa
34f23b1577 Added a feature of local gametime which decrease "lags" if you run same map for a long time (sv_rehlds_local_gametime cvar, related to #193) 2016-12-24 18:05:41 +03:00
asmodai
418ed98b48 Use SSE for some typical floating point operations 2016-12-23 00:39:22 +03:00
asmodai
828c05d93b asmlib update 2016-12-22 19:02:19 +03:00
WPMGPRoSToTeMa
ee4026ec4e Fixed "Malformed packet size" on packets from server to client 2016-12-22 05:07:00 +03:00
LevShisterov
97b072a9f6 PVS/PAS buffer overrun fix (#282)
Fix buffer overrun in adding to fat PVS/PAS.
2016-12-20 00:06:39 +03:00
WPMGPRoSToTeMa
ab5e2aa6ac Fixed sending messages to fakeclients (fixed #279) 2016-12-16 07:17:03 +03:00
s1lentq
076219bcd1 Fix a typo in the checking of bounds of the index for pointer of model. 2016-12-13 06:28:32 +07:00
s1lentq
4fc947807f Refactoring
Fix crash on SV_SingleClipMoveToEntity, added safe check for pointer model
2016-12-12 22:05:45 +07:00
WPMGPRoSToTeMa
fe91b14995 Fixed has_force_unmodified wasn't reset sometimes 2016-12-10 19:47:22 +03:00
WPMGPRoSToTeMa
51ecac79a0 Fixed animation speed when player has attached entities (https://github.com/WPMGPRoSToTeMa/PatchedGoldSrcClient/issues/7) 2016-12-10 03:37:09 +03:00
WPMGPRoSToTeMa
803a5525d1 Fixed invalid host_client for SV_FullClientUpdate call (after #268) 2016-12-04 16:31:24 +03:00
WPMGPRoSToTeMa
a8afbd7d2e Re-fixed hung players #103 and early TeamScore #113 bugs
Global reliable net buffer is deprecated now
2016-12-02 23:41:49 +03:00
s1lentq
4bd4ab6724 Use defines ID of the models, refactoring 2016-12-02 00:11:42 +07:00
s1lentq
5c1be6a61d Clean up code/dwarf 2016-11-22 04:46:48 +07:00
s1lentq
381a4c0ab2 Added cvar syserror_logfile
Changed in some places rehlds_syserror on Sys_Error for log.
2016-11-09 01:01:49 +07:00
s1lentq
212e9638d6 Added safety checks for hookchains impl 2016-11-08 18:06:13 +07:00
s1lentq
b172d20227 reset minor version 2016-11-07 22:27:18 +07:00
s1lentq
4090ff3db5 Refactoring of versioning 2016-11-07 19:27:06 +07:00
s1lentq
be450ea340 Added Q_StripUnprintableAndSpace for API
Mini-refactoring
2016-11-05 01:05:39 +07:00
s1lentq
1bf56b26dd Implemented features of priority for hookchains 2016-11-04 23:45:27 +07:00
s1lentq
646adb22c5 Fix non-printable space character (0x3000) 2016-11-01 21:32:57 +07:00
asmodai
865bdc95f7 Fixed crash when motd_write called without arguments 2016-10-25 01:15:53 +03:00
theAsmodai
7278d67694 Merge pull request #248 from WPMGPRoSToTeMa/NetLogging
Replaced Con_Printf to Con_DPrintf for net messages that can be used …
2016-10-19 22:20:35 +03:00
WPMGPRoSToTeMa
e2be6491ba Replaced Con_Printf to Con_DPrintf for net messages that can be used for flood (related to #247)
Added player name and print to client for some net messages (not for all, need finish this in future)
echo -> svc_print
2016-10-19 20:36:29 +03:00