Commit Graph

200 Commits

Author SHA1 Message Date
Jordan Cristiano
f4cd7f96e2 Made CommandPacket const reference in writers 2015-06-18 20:38:17 -04:00
Jordan Cristiano
8be05db10d Removed variable assignment as the value to set is unknown and will not be read in this case 2015-06-18 20:26:23 -04:00
Jordan Cristiano
778e20803c Changed NetHandlers bit read/write types to typedefs 2015-06-18 20:23:26 -04:00
Jordan Cristiano
9ad7c54510 Added guards around DemHandlers functions 2015-06-18 20:19:35 -04:00
Jordan Cristiano
b67f448d18 Changed DemHandlers file read/write types to typedefs 2015-06-18 20:18:55 -04:00
Jordan Cristiano
0d7c67aef8 Added guards around NetHandlers functions 2015-06-18 20:09:06 -04:00
Jordan Cristiano
c6fb1e6ff2 Replaced void* parameter with actual type 2015-06-18 16:16:05 -04:00
Jordan Cristiano
1f74901943 Destruct writer before closing files so writer can flush buffers 2015-06-18 16:11:49 -04:00
Jordan Cristiano
4bf5cea15b Made some bitbuf getters const 2015-06-17 02:01:43 -04:00
Jordan Cristiano
df008f5a73 Replaced bitbuf global error handler with per class error recovery handler 2015-06-15 22:29:54 -04:00
Jordan Cristiano
522f5a11ee Added rapidjson-1.0.2 json reader/writer 2015-06-14 22:59:30 -04:00
Jordan Cristiano
b2f3469b16 Restructured external includes 2015-06-14 22:58:23 -04:00
Jordan Cristiano
7cc79178e7 Fixed not writing delta byte in svc_packetentities 2015-06-14 20:51:36 -04:00
Jordan Cristiano
91e63d3f39 Copy trailing bits to output after each packet for file hash matching 2015-06-14 20:50:09 -04:00
Jordan Cristiano
361119f19f Flush the conlog output fp when finished writing 2015-06-14 20:48:57 -04:00
Jordan Cristiano
a02b034115 premake script cleanup 2015-06-14 17:27:36 -04:00
Jordan Cristiano
c07678a37e Added _CRT_SECURE_NO_WARNINGS define to remove warnings for fopen 2015-06-14 17:27:21 -04:00
Jordan Cristiano
cf4068fde7 Added asserts for message id type 2015-06-14 17:26:29 -04:00
Jordan Cristiano
b3daf554a7 Fixed typo 2015-06-14 17:26:05 -04:00
Jordan Cristiano
38ff2f956e Moved demo reading/writing sources to io directory 2015-06-14 17:25:49 -04:00
Jordan Cristiano
a504a0e492 Made demreader use demmessage handling funcs 2015-06-14 17:24:04 -04:00
Jordan Cristiano
b1830dccae Added demo message handling functions 2015-06-14 17:23:09 -04:00
Jordan Cristiano
cc7066ac86 Fixed demowriter not writing packet type before the packet 2015-06-14 17:21:56 -04:00
Jordan Cristiano
b06015835c Fixed demo writer writing empty packets 2015-06-14 17:21:34 -04:00
Jordan Cristiano
4218c60eff Moved demofile headers to demofile directory 2015-06-14 17:09:41 -04:00
Jordan Cristiano
fbb73f1b75 Added status check IsOk function for demo file reader/writer 2015-06-14 17:05:50 -04:00
Jordan Cristiano
3fd026efa9 Source formatting 2015-06-14 17:05:20 -04:00
Jordan Cristiano
44c36ab0f2 Added Array versions of ReadRawData and ReadUserCmd 2015-06-14 17:04:05 -04:00
Jordan Cristiano
284a99fff7 Renamed parameters in Read/WriteUserCmd and ReadRawData 2015-06-14 17:03:19 -04:00
Jordan Cristiano
569a482549 Changed sourcesdk include to just include externals path 2015-06-14 16:49:44 -04:00
Jordan Cristiano
4c560eacac Added array class 2015-06-14 16:12:09 -04:00
Jordan Cristiano
21087117d7 Remove old netmessages source 2015-06-09 17:41:39 -04:00
Jordan Cristiano
4a2922edaa Added dem_unknown to demo messages enum 2015-05-27 23:10:58 -04:00
Jordan Cristiano
6304643a89 Added parsing of dem_stringtables 2015-05-27 22:58:53 -04:00
Jordan Cristiano
2ed3320b84 Partial implementation of demo file writer 2015-05-27 22:58:19 -04:00
Jordan Cristiano
05d1518653 Made DemoFileReader::ReadUserCmd return length of usercmd instead of sequence number 2015-05-27 22:57:30 -04:00
Jordan Cristiano
803db77e49 Added SourceGameContext& to IDemoWriter::WriteNetPacket 2015-05-27 22:54:07 -04:00
Jordan Cristiano
d9df1117f5 Fixed __restrict warning in bitbuf 2015-05-27 22:52:10 -04:00
Jordan Cristiano
6a40e771af Netmessage cleanup 2015-05-27 22:51:30 -04:00
Jordan Cristiano
bbf100a5c7 Removed dem_customdata because it's not in this protocol set 2015-05-26 19:03:16 -04:00
Jordan Cristiano
3c4c786283 Removed unused var in svc_updatestringtable 2015-05-15 20:46:09 -04:00
Jordan Cristiano
33026aa8ba Merge pull request #3 from dy-dx/vagrant-instructions
add vagrant.sh for setting up linux deps; add usage instructions
2015-05-15 19:39:23 -04:00
Chris Kim
09c39f897a add vagrant.sh for setting up linux deps; add usage instructions 2015-05-15 19:29:17 -04:00
Chris Kim
a94715a302 remove toolset "clang" option from premake5.lua 2015-05-15 19:27:32 -04:00
Jordan Cristiano
fe967e7656 Added missing stdlib.h for abs on gcc 2015-05-15 19:16:15 -04:00
Jordan Cristiano
c2336e52c4 Removed pragma once in cpp files 2015-05-15 19:15:58 -04:00
Jordan Cristiano
5494f820a0 Merge pull request #2 from dy-dx/fix-premake-scripts
fix premake scripts
2015-05-15 19:02:30 -04:00
Chris Kim
a1ccf22d87 fix premake scripts 2015-05-15 19:00:08 -04:00
Jordan Cristiano
fc622bc5ef Replaced std::defaultfloat with unsetf call. defaultfloat is not available in gcc <5 2015-05-15 18:58:36 -04:00
Jordan Cristiano
90c0fdce58 this is demboyz 2015-05-15 18:10:23 -04:00