2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 08:05:50 +03:00
Commit Graph

836 Commits

Author SHA1 Message Date
dreamstalker
53649a3da2 Expose pointer to the cmd_source through rehlds API 2015-06-26 21:26:33 +04:00
dreamstalker
1463a1a2f8 Fixed issues found by Coverity in the engine 2015-06-26 21:21:55 +04:00
dreamstalker
e4134d144a Merge pull request #39 from dreamstalker/_38
Fixed #38
2015-06-23 20:22:31 +04:00
dreamstalker
328c32f8c9 Fixed the "server failed to transmit file 'AY&SY..." bug 2015-06-23 20:08:42 +04:00
dreamstalker
b08e7cb679 Fix Linux build 2015-06-23 00:27:25 +04:00
dreamstalker
90f24f0413 ReHLDS API: Added interceptor for string commands handled by the engine
Mark rehlds_syserror() as noreturn
Added missing includes in ReHLDS API
2015-06-23 00:15:27 +04:00
dreamstalker
f5a9f2e413 Workaround for 'stack misaligned when inlining SSE' bug in icc 2015-06-17 23:36:36 +04:00
dreamstalker
da547bd7c7 SV_ConnectClient: format *sid properly 2015-06-16 14:04:26 +04:00
dreamstalker
7314efd6e5 Merge pull request #36 from dreamstalker/_34_tests
Fixed #34: Implemented safe strcpy()
2015-06-16 13:58:31 +04:00
dreamstalker
646171f579 Merge pull request #35 from WPMGPRoSToTeMa/getclientlisteningfix
Fixed #37: Voice_GetClientListening bugfix
2015-06-16 13:36:07 +04:00
WPMGPRoSToTeMa
69fd6eff17 Voice_GetClientListening bugfix 2015-06-15 19:09:25 +03:00
dreamstalker
3cd4a52567 Implemented strcpy_safe which is safe to use with overlapping src and dst buffers
Use strcpy_safe in Info_ functions
2015-06-14 23:08:03 +04:00
dreamstalker
34686c3819 Tests for Info_ functions 2015-06-14 22:56:25 +04:00
dreamstalker
ae5cbf8cbc Merge pull request #33 from dreamstalker/unicode_strtools_tests
unicode_strtools unit tests
2015-06-13 22:53:07 +04:00
dreamstalker
f2e8610689 unicode_strtools unit tests 2015-06-13 22:22:08 +04:00
theAsmodai
2d7490d614 Merge pull request #32 from theAsmodai/master
Fixes in SV_ExtractFromUserinfo, SV_CheckForDuplicateNames, SV_CheckUserinfo
2015-06-13 16:51:52 +03:00
asmodai
a6788217e7 Fixes in SV_ExtractFromUserinfo, SV_CheckForDuplicateNames, SV_CheckUserinfo. 2015-06-13 16:40:27 +03:00
dreamstalker
438726f462 Fixed typo in Q_UnicodeConvertT
Rehlds Demo Player: print number of frames calculated when demo ends successfully
2015-06-13 16:08:16 +04:00
dreamstalker
ddc6d1e3d4 Link clock_gettime from librt to avoid dependency of GLIBC_1.17 2015-06-12 17:15:23 -05:00
dreamstalker
fe10787125 Merge pull request #30 from theAsmodai/master
Fixed message fragments validation.
2015-06-07 22:29:04 +04:00
asmodai
895f0beda5 Added names for network constants. 2015-06-07 21:06:20 +03:00
asmodai
c3e5486612 Fixed message fragments validation.
Fixed NET_GetLong.
Passing netadr_t to functions by reference instead of copying.
Added missed Q_ prefix for stdlib functions.
2015-06-07 03:55:42 +03:00
dreamstalker
324ff95e72 Merge pull request #29 from dreamstalker/_28
Fixed #28: Link libstdc++ statically on linux
2015-06-06 23:55:37 +04:00
dreamstalker
b6c01cdd4c Link libstdc++ statically on linux
Updated gradle to 2.4
Updated gradle-cpp-plugin to 1.2
2015-06-06 23:40:49 +04:00
dreamstalker
80692e3821 Publish flightdecoder API to maven repo 2015-06-06 21:50:56 +04:00
dreamstalker
76b017901b Merge pull request #27 from dreamstalker/flightrec
Implemented decoder for FlightRecorder's logs
2015-06-06 21:07:34 +04:00
dreamstalker
f2b95b0305 Implemented decoder for FlightRecorder logs 2015-06-06 16:24:53 +04:00
dreamstalker
e95737f7ed Merge pull request #26 from theAsmodai/master
JITted DELTA_TestDelta.
2015-05-30 10:56:15 +04:00
asmodai
7a973d1afb JITted DELTA_TestDelta.
Maked unit test for DELTA_TestDelta.
Unrolled tail recursion in SV_FindTouchedLeafs and SV_LinkContents.
Other small optimizations and fixes.
2015-05-29 23:21:20 +03:00
dreamstalker
391bd5d627 Merge branch 'master' into flightrec
SSE4.2's crc32 is actually crc32c - removed crc32.*
2015-05-25 18:16:30 +04:00
dreamstalker
a7bc333014 Merge pull request #25 from dreamstalker/_24
Fixed #24: Remember fields unmarked by encoder and force set it if entity is used as a baseline
2015-05-24 15:43:39 +04:00
dreamstalker
bc88790bb1 Fixed #24: Remember fields unmarked by encoder and force set it if entity is used as a baseline 2015-05-24 15:29:47 +04:00
dreamstalker
0b1f3af352 Merge pull request #23 from dreamstalker/delta_tests_improvements
Delta encoder tests: refactoring
Added prefetches to delta and deltaJit
2015-05-24 01:55:29 +04:00
dreamstalker
39b803fa3d Delta encoder tests: refactoring
Added prefetches to delta and deltaJit
2015-05-24 01:41:16 +04:00
theAsmodai
4821823407 Merge pull request #22 from theAsmodai/master
Finished work with JIT in DELTA_CheckDelta and DELTA_WriteDelta
2015-05-23 01:04:09 +03:00
asmodai
4071c13e3a Fixed demo tests passing.
Don't generate any JIT code for empty delta memblocks.
Added bits, bytecount and sendfields checks to delta unit tests.
Small optimizations and fixes.
2015-05-23 00:55:26 +03:00
dreamstalker
3226154626 Merge pull request #21 from WPMGPRoSToTeMa/cvarlistfix
cvarlist: Do correct output of string valued cvars
2015-05-22 09:58:55 +04:00
dreamstalker
5bb896dcee Refactoring
DeltaJIT passes tests now
2015-05-22 02:38:25 +03:00
Andrey
7fdb4f73bc Delta JIT improvements. 2015-05-22 02:38:25 +03:00
WPMGPRoSToTeMa
fb3504c9b6 cvarlist: Do correct output of string valued cvars 2015-05-22 02:17:58 +03:00
dreamstalker
5abbc92fda SV_AllocPacketEntities optimization moved under REHLDS_OPT_PEDANTIC
Rehlds Demo Player: write duration in the 'rehlds_demo_stats.log' file when demo ends successfully
6132_hooker.cpp: Minimal setup to play/records demos in hook mode with active Rehlds API
2015-05-21 23:50:18 +04:00
dreamstalker
31bfe3db78 Moved optimized MSG_Write*Bits* under REHLDS_FIXES defined because it uses bf_write_s structure incompatible with the original engine
Fixed wrong tex.coords formula in SurfaceAtPoint()
Added missing calls to SV_CheckWaterTransition() in SV_Physics_Toss()
Flight recorder: Lazy init with HOOK_ENGINE
RehldsDemoPlayer: print heartbeat message every 10Mb of demo
2015-05-21 21:20:40 +04:00
dreamstalker
f2fe5a6c74 SV_WriteEntitiesToClient: don't use intermediate 'fullpack' storage for entities being transmitted
SV_SetupMove: Don't look examine frame->entities after last player
2015-05-21 03:15:03 +04:00
dreamstalker
ed6e5b4a94 Merge pull request #19 from dreamstalker/further_delta_opt
JITted DELTA_CountSendFields
2015-05-20 19:23:15 +04:00
dreamstalker
fea4be8bd1 JITted DELTA_CountSendFields
Use JITted delta in DELTA_CheckDelta
2015-05-20 19:08:33 +04:00
dreamstalker
2cd9b7571c Merge pull request #18 from dreamstalker/bits_write_rewrite
Fixed #17: Implemented faster and safe MSG_Write*Bit*
2015-05-20 17:32:59 +04:00
dreamstalker
3f448f441e Implemented faster and safe MSG_Write*Bit* 2015-05-20 17:21:42 +04:00
dreamstalker
7891b6196a Implemented delta JIT
Implemented name->index map for sv.model_precache[]
Fixed CPPUnitLite tests runner
Source code optimizations for optimal usage of precompiled headers on linux
2015-05-19 23:20:11 +04:00
dreamstalker
5d572afc31 Merge branch 'master' of https://github.com/dreamstalker/rehlds 2015-05-17 21:52:30 +04:00
dreamstalker
60b40a687c Don't build 'hooker' libraries by default 2015-05-17 21:52:07 +04:00