s1lent
780afd0227
Prevent crash when steam not active yet
2017-12-20 20:49:36 +07:00
s1lent
e6a9fd1095
Small refactoring r_studio.cpp
2017-12-20 20:05:12 +07:00
s1lent
f5784be364
Reversed CIPRateLimit
...
Minor refactoring
2017-12-19 21:34:15 +07:00
Dmitry Novikov
5e2bd82b00
Improve movement toss ( #555 )
2017-12-18 19:01:18 +07:00
Lev
a761c5d380
Small refactoring in pr_edict.
2017-12-15 20:23:36 +05:00
s1lent
6994b32f25
HLTV: Rename GROUP_UNKNOWN to GROUP_MULTICAST
2017-12-15 01:39:49 +07:00
s1lent
690296605f
Revert: sv_force_ent_intersection
2017-12-15 01:11:54 +07:00
s1lent
2d85358e7e
SV_FlyMove: fixed illogical checks
2017-12-15 00:28:05 +07:00
s1lent
4ea810eeba
sv_phys.cpp: minor refactoring and more comments
2017-12-14 23:40:26 +07:00
s1lent
fda9ee3fe2
Removed HOOK_ENGINE
2017-12-12 18:32:38 +07:00
theAsmodai
7d041ea357
DeltaJit: ( #545 )
...
Update originalMarkedFieldsMask after strings checking
Refactoring
2017-12-12 17:30:51 +07:00
s1lent
eaabafc16d
FileSystem: Fixes #552
2017-12-11 18:10:16 +07:00
Dmitry Novikov
60f2181a55
Rework #529 , #530 ( #553 )
...
* Rework #529 , #530
Fix comment to S2A_RULES
Closes #529
Closes #530
2017-12-11 17:52:38 +07:00
s1lent
170df2ab49
Back to default limit of ipfilter.
...
Closes #537
2017-12-11 17:29:42 +07:00
Artem Golubikhin
9594150810
Fixed head hull detection in SV_HullForBsp ( #525 )
2017-12-09 23:50:47 +07:00
s1lent
e5d26bc4d2
HLTV-Core: Fixed wrong size of lightstyles
...
HLTV-Console: Added macros LAUNCHER_FIXES
2017-12-09 23:24:18 +07:00
theAsmodai
aac529d2e4
Allow build rehlds without x86 delta jit ( #546 )
2017-12-09 21:08:29 +07:00
s1lent
fd64218ecd
Fixes #547
...
Refactoring minor net_ws.cpp
2017-12-09 21:00:18 +07:00
s1lent
5f1672ca85
Move math sse to macros REHLDS_SSE
2017-12-09 17:07:39 +07:00
s1lent
4fad5255ba
Refactoring world.cpp, sv_phys.cpp, sv_move.cpp
2017-12-09 14:12:35 +07:00
s1lent
0daf12924d
Add project FileSystem_Stdio
2017-12-06 02:38:58 +07:00
Alibek Omarov
dab2663e6c
Remove size constant on memset() call ( #541 )
2017-11-09 01:55:56 +03:00
s1lent
cc90106339
CCommandLine::CheckParm Fix undefined behavior
...
Add flag -no-pie to linker for executable files
2017-10-25 01:03:22 +07:00
s1lent
3317627359
Remove leading lib prefix on all projects
2017-10-22 23:00:45 +07:00
Artem Golubikhin
2829c7ffde
Fixed saving temporary string in PF_lightstyle_I ( #532 )
...
Fixed saving temporary string in PF_lightstyle_I
Marked mismatched code (HLTV)
Fixed lightstyle copying in ParseSaveTables (SinglePlayer)
2017-10-09 17:06:05 +02:00
In-line
190e0261af
Optimize size by removing unused data and functions
2017-09-28 21:10:33 +04:00
s1lent
a444ce046b
HLTV: Support GCC
2017-09-27 20:43:24 +07:00
WPMGPRoSToTeMa
0d20fdf770
Moved fixed flags under REHLDS_FIXES and LAUNCHER_FIXES
...
Removed fixed flags from unnecessary places
2017-09-12 21:26:11 +03:00
WPMGPRoSToTeMa
274b80bb93
Make DLL loading more safe
2017-09-10 18:14:33 +03:00
theAsmodai
4246a44557
Merge pull request #519 from theAsmodai/master
...
Use CONTENTS_EMPTY const (Fix #517 )
2017-08-24 13:22:29 +02:00
asmodai
3047a7b54b
Use CONTENTS_EMPTY const
2017-08-23 17:07:09 +03:00
Artem Golubikhin
5bd5e891d1
[NEED TESTS AND REVIEWS] Reworked EXT_FUNC usage ( #513 )
...
* Added missed EXT_FUNC for engfuncs and pm
* Added missed EXT_FUNC for exposed interfaces
* Added missed EXT_FUNC for ReHLDS API interfaces
* Added EXT_FUNC to export macros (added missed EXT_FUNC to exported functions like CreateInterface, F and NET_Sleep_Timeout)
2017-08-05 01:57:36 +05:00
s1lent
b1f93cb321
Fix build fails (affected #512 )
2017-08-01 23:36:07 +07:00
Artem Golubikhin
369b857155
Fixed F exporting
2017-07-31 04:51:40 +03:00
Dmitry Novikov
9b75935be0
ReHLDS API: Updated 3.3 ( #506 )
...
ReHLDS API: Add AddExtDll, RemoveExtDll, AddCvarListener, RemoveCvarListener, GetEntityInit, CreateFakeClient
Bump minor API version
2017-07-26 05:10:39 +03:00
In-line
1cea370869
Fix IsWhiteSpace ( #434 )
2017-07-25 13:45:03 +03:00
s1lent
b4ef456411
HLTV: Use Q_* defines
2017-07-24 18:43:24 +07:00
s1lent
b0660861cb
Fixed crash hlds, when building with GCC 6.X and later
...
Fix gcc compile
2017-07-24 01:09:08 +07:00
s1lent
2cf2fc6b63
Reconstruction & cleanup include files
...
Remove useless include files and part of code too
Move defines Q_* functions from engine/common.h to public/strtools.h
Rename functions:
strcopy > Q_strlcpy
strncopy > Q_strnlcpy
2017-07-23 17:05:15 +07:00
s1lent
06ed0a12fd
Added platform toolset selector for VS2017
2017-07-23 13:10:21 +07:00
theAsmodai
49f657e3c4
Merge pull request #493 from WPMGPRoSToTeMa/patch-9
...
Added BOM skipping for .cfg files
2017-07-11 15:07:38 +03:00
Artem Golubikhin
ccd82079d1
Added BOM skipping for .cfg files
2017-07-11 03:36:43 +03:00
In-line
cd9e83dd8d
Use mtune=generic instead of march for GCC
2017-07-10 22:00:09 +04:00
WPMGPRoSToTeMa
17fdec348d
Rework of #5 to support CS Beta ( #487 fix)
2017-07-02 00:55:27 +03:00
s1lent
eac20aef3a
GCC 5.X: Force disable macro _GLIBCXX_USE_CXX11_ABI for compatibility oldest version libstdc++
...
Fix #476
2017-06-28 18:26:29 +07:00
asmodai
55da681497
Hash cdkey once when client connected
2017-06-13 13:34:18 +03:00
s1lent
8276436809
Fixes #471
2017-05-21 18:08:28 +07:00
s1lent
5981a4c544
HLTV: Some fixes director part and small refactoring.
2017-05-13 22:33:38 +07:00
Dmitry Novikov
92b6fd6944
Add WIN32_LEAN_AND_MEAN to prevent tons of unused windows definitions from headers. ( #470 )
2017-05-12 00:06:45 +03:00
Dmitry Novikov
49483d3b05
HLTV: Refactoring and fixes ( #469 )
2017-05-11 23:11:16 +03:00
Dmitry Novikov
5ae03d2c5c
Launcher fix crash on linux ( #468 )
2017-05-11 18:51:45 +03:00
Dmitry Novikov
4663183f7a
Implemented SystemWrapper.cpp ( #467 )
...
Launcher Refactoring
Simplified code #393
2017-05-10 12:37:20 +03:00
s1lent
18f75dadf4
HLTV: Fix typo.
2017-05-09 21:38:59 +07:00
Dmitry Novikov
7432df957c
HLTV: Some fixes and small refactoring. ( #466 )
...
* HLTV: Some fixes and small refactoring.
Update README.md
2017-05-09 16:43:15 +03:00
s1lent
759f51552e
Fixes wrong port sending via steamapi
2017-05-07 19:09:02 +07:00
s1lent
33d76dd68e
launcher: support xp
2017-05-06 21:45:51 +07:00
Dmitry Novikov
f2b080ebba
Merge pull request #457 from s1lentq/hltv-patch1
...
HLTV: Fix crash and small refactoring.
2017-05-05 19:06:31 +03:00
theAsmodai
96b985b799
Merge pull request #456 from dreamstalker/launcher_refactoring
...
Fix launcher crash on linux
2017-05-05 18:38:21 +03:00
s1lent
fa6bc4b98e
HLTV: Fix crash and small refactoring.
...
HLTV: Removed the obsolete filesystem_steam.
2017-05-05 22:33:07 +07:00
asmodai
0c4f5d37ad
Fix crash on linux
2017-05-05 18:30:10 +03:00
theAsmodai
97edca1d90
Merge pull request #410 from dreamstalker/launcher_refactoring
...
Launcher refactoring
2017-05-04 22:32:00 +03:00
s1lent
98ba97820a
HLTV: Fix crash the client on the connection to master server.
2017-05-05 00:23:59 +07:00
s1lent
1f355d6a5b
SV_RecursiveHullCheck: fix typo
...
DELTA_TestDelta: reverse engineering mistake.
2017-05-04 04:28:06 +07:00
s1lent
cd7798b7a8
Merge branch 'master' of github.com:dreamstalker/rehlds into hltv
2017-05-04 00:50:08 +07:00
Lev
a6ebcc747c
Merge branch 'master' into launcher_refactoring
2017-05-03 20:41:14 +05:00
Lev
337847ddc1
Merge pull request #366 from Sh1ft0x0EF/coderev
...
[Codebase] const-like defines -> consts
2017-05-03 20:37:38 +05:00
s1lent
46cd13fcd6
Add project HLTV
2017-05-03 22:02:15 +07:00
In-line
a3d05f2301
Fix #445
2017-04-29 23:41:49 +04:00
In-line
0698bcc899
Refactor Sys_FloatTime in linux
2017-04-29 11:14:13 +04:00
In-line
f812b2ea2e
Fix possible null dereferences ( #443 )
...
* Fix possible null dereference in R_StudioCalcBonePosition
* Fix possible null dereference in NET_LagPacket
* Fix possible null dereference in SV_CreatePacketEntities_internal
2017-04-27 19:55:25 +05:00
In-line
edbb15a0ca
Add missing NOXREF and NOXREFCHECK to Host_Crash_f
2017-04-27 17:10:25 +04:00
In-line
187e04e25e
Refactor calls ( #445 )
...
Refactor NET_LagPacket calls
Refactor R_StudioCalcBonePosition call
2017-04-26 18:36:13 +03:00
In-line
4da6a09875
Fix out of bounds assign in Sys_InitGame ( #444 )
...
* Fix out of bounds assign in Sys_InitGame.
2017-04-26 18:44:18 +05:00
Sh1ft0x0EF
416637e970
Const-like defines -> consts
2017-04-26 04:51:40 +04:00
theAsmodai
c895428d1d
Merge pull request #439 from In-line/patch-6
...
Optimize PF_IsMapValid_I
2017-04-25 18:43:16 +03:00
theAsmodai
18afb757b7
Merge pull request #438 from In-line/patch-4
...
Add REHLDS_FIXES checks
2017-04-25 18:38:03 +03:00
In-line
52c6d0f855
Refactor & Fix pr_cmds.cpp ( #437 )
...
* Use sizeof in PF_stuffcmd_I
* Undef IGETINDEX_CHECK_FIELD after usage
* Move index variables to loops
* Use __func__ whenever possible, addition to #353
2017-04-25 20:30:32 +05:00
In-line
63357e9ce3
Optimize PF_IsMapValid_I
2017-04-25 18:41:50 +04:00
In-line
5f117f2c9e
Add REHLDS_FIXES checks
2017-04-25 18:38:20 +04:00
s1lent
6bda5ecbba
Restructuring of rehlds for HLTV project.
...
Improved hooks stuff: Removed wrappers for virtual functions hooks.
2017-04-24 04:25:31 +07:00
In-line
7efc256c7c
Update IsComment ( #433 )
...
Refactor IsComment.
2017-04-23 17:19:56 +05:00
asmodai
6ee60a1f76
invert condition
2017-03-23 00:47:27 +03:00
Lev
45a84ead82
Add check for NULL edict.
2017-03-21 01:14:27 +05:00
asmodai
0f4b380bee
Added brackets after sizeof
2017-03-19 22:01:04 +03:00
asmodai
2c98e14606
Launcher refactoring
2017-03-19 21:57:14 +03:00
Lev
be6a16eb39
Use TYPE_xxx defines for *hltv values.
2017-03-19 23:45:35 +05:00
Lev
e92df0e3f4
Merge pull request #409 from dreamstalker/fixes201703192
...
Make cycle more close to original.
2017-03-19 22:41:16 +05:00
Lev
a4d2cd722f
Merge pull request #412 from dreamstalker/fixes201703193
...
Add and use netsrc_s size.
2017-03-19 22:36:21 +05:00
Lev
ac3fdd5c5a
Add and use netsrc_s size.
2017-03-19 21:58:48 +05:00
Lev
7c8dd5964d
Leave FL_DORMANT in flags on disconnect if present (used by CS).
2017-03-19 21:46:20 +05:00
Lev
278573df1b
Make cycle more close to original.
...
Optimisation in call to the sleep function.
2017-03-19 19:57:07 +05:00
Lev
95a7df6ba5
Reset edict flags on client disconnect.
2017-03-19 19:50:38 +05:00
Lev
48bb47d2dc
Allow to modify triggers collection while iterating it (prevent crash).
2017-03-19 08:00:58 +05:00
Lev
f026c38333
Make mapcycle.txt sending optional, because not used on the client and cause parse error if file is large. Also truncate if sending is enabled.
...
Added sv_rehlds_send_mapcycle cvar.
2017-03-15 12:03:40 +05:00
Chuvi
386fc4959e
Changed magic number -2 (0xFFFFFFFE to NET_HEADER_FLAG_SPLITPACKET)
2017-03-12 19:36:11 +03:00
Lev
28ee0d7456
Updated dedicated.rc file.
2017-03-12 19:44:38 +05:00
Lev
3607fc154a
Fix compilation under GCC.
2017-03-12 18:25:11 +05:00
Lev
69c1833b4b
Move sv_delta_s declaration to the public file.
...
Add missing files to the project.
2017-03-12 18:09:38 +05:00
Lev
099f062c3f
Drop unneded dedicated.sln file.
2017-03-11 21:49:00 +05:00
Lev
762751b7d5
Enable useGcc gradle option for dedicated project.
2017-03-11 18:30:25 +05:00
Lev
3fb1bcaaba
Enable useGcc gradle option for dedicated project.
2017-03-11 18:24:10 +05:00
Lev
fd8e550f0d
Enable useGcc gradle option for dedicated project.
2017-03-11 18:17:11 +05:00
Chuvi
08825fdf0d
Add tab completion support in launcher. ( #393 )
...
Add tab completion support in launcher.
2017-03-10 03:15:08 +05:00
Lev
5ea579d274
Adjust public amalgamation on dedicated project. Add files to project.
2017-03-09 08:07:22 +05:00
Lev
46bf6e7af1
Remove excess project configurations.
2017-03-08 20:23:55 +05:00
Chuvi
70d1c4a79a
Selecting correct toolset for VS2013/VS2015.
...
Probably, VS2017 should be added here too.
2017-03-08 15:55:00 +03:00
Lev
f3cc1943af
Add md5.cpp to project.
...
Add dedicated project to solution.
Warnings fixes.
2017-03-08 06:10:42 +05:00
In-line
f8e2b5004c
Add separate files for MD5 ( #386 )
...
* Add separate files for MD5
* Add license header to md5.h
* Add license header to md5.cpp
2017-03-02 01:21:19 +03:00
In-line
83e51d1151
Fix -netthread check ( #385 )
...
* Fix -netthread check
* Update net_ws.cpp
* Update net_ws.cpp
2017-03-02 01:19:23 +03:00
theAsmodai
fbdf8fb47d
Unit tests for IsSafeFileToDownload ( #384 )
...
* Added unit tests for IsSafeFileToDownload
* Fixed tests fail
* fixed crash
* Added more checks
2017-03-02 01:18:44 +03:00
theAsmodai
b9f88c1de8
Merge pull request #383 from In-line/FixNetSleep_Timeout
...
Refactor NET_Sleep_Timeout
2017-03-02 01:18:32 +03:00
In-line
5d1a416b03
Move max socket calculation to proper place
2017-02-27 22:41:17 +04:00
In-line
41d62afef0
Refactor NET_Sleep_Timeout
2017-02-27 22:38:10 +04:00
theAsmodai
415fddf615
Merge pull request #379 from In-line/FixHostStatus
...
Remove temp buffer from Host_Status_Printf
2017-02-25 17:53:23 +03:00
In-line
64bd89bb8e
Remove temp buffer from Host_Status_Printf
2017-02-24 12:32:31 +04:00
In-line
d51847f2b6
Optimize MD5_Print function
2017-02-24 11:49:17 +04:00
In-line
9387422655
Fix IsSafeFileToDownload (thx [WPMG]PRoSToTeM@) ( #374 )
...
Fix nullptr dereferencing in IsSafeFileToDownload.
2017-02-21 03:18:45 +05:00
In-line
ec49dbbbf3
Use _func_ in NET_GetLong
2017-02-20 20:35:36 +04:00
In-line
228c365f61
Update cvar.cpp
2017-02-20 20:07:41 +04:00
In-line
310e963a38
Update cvar.cpp
2017-02-20 20:06:55 +04:00
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