Commit Graph

203 Commits

Author SHA1 Message Date
Jordan Cristiano 0cd4b38bd1 Updated readme with usage instructions 2015-09-05 22:26:24 -04:00
Jordan Cristiano f73338fef8 Updated readme with vs2013 build instructions 2015-09-05 22:10:55 -04:00
Jordan Cristiano 8ef2c0ebfc Changed output dir of compiled binaries to bin 2015-08-31 23:58:47 -04:00
Jordan Cristiano 372267d192 Rapidjson can only write up to 2^32 - 1 length strings by default, so change the api to reflect that 2015-08-31 23:07:51 -04:00
Jordan Cristiano 806f42dd84 Fixed mismatch of decl/def return types on ReadString 2015-08-31 22:51:15 -04:00
Jordan Cristiano 58a17bc97e Fixed compilation of bitbuf on gcc/clang 2015-08-31 22:16:29 -04:00
Jordan Cristiano efab1c3707 Fixed compilation of jsonfile on gcc/clang 2015-08-31 22:16:06 -04:00
Jordan Cristiano 4d4a751e75 Changed json_checker to cpp file to fix clang build 2015-08-31 22:14:49 -04:00
Jordan Cristiano 7de51e14ba Fixed compile errors with vs2015 2015-07-28 21:08:38 -04:00
Jordan Cristiano 0f471d9b7a Fixed incorrect invalid index check 2015-07-28 21:07:55 -04:00
Jordan Cristiano 42955b7e01 Fixed assigning a temporary to a non const reference 2015-07-15 23:25:22 -04:00
Jordan Cristiano 4e4186d49e Removed stats printout from con writer 2015-07-13 23:26:12 -04:00
Jordan Cristiano 0033d3aeba Added json reader utilities and implemented json reader functions to dem, net, and svc types 2015-07-13 23:25:49 -04:00
Jordan Cristiano 6be95005c5 Added resize function wrapper to Array. Changed redundant else if to else in Array reset 2015-07-13 23:21:06 -04:00
Jordan Cristiano d3b8873481 Renamed WriteAngles to WriteAngle. Made use of WriteAngle and WriteVector 2015-07-13 23:19:55 -04:00
Jordan Cristiano fed62e14a4 Forced json writer to output ascii multibyte sequences 2015-07-13 23:12:10 -04:00
Jordan Cristiano 11ed4883cb Added initialization for demo writer packet buffer 2015-07-13 23:10:57 -04:00
Jordan Cristiano f5d8d9bbf1 Signal to stop reading demo if invalid command is found 2015-07-13 23:08:05 -04:00
Jordan Cristiano 2bf16179ad Added WriteString to jsonfile which takes an std::string 2015-07-13 21:09:07 -04:00
Jordan Cristiano 04b79ff3f8 Updated to cbase64-1.1 2015-07-12 22:57:26 -04:00
Jordan Cristiano e959fb0334 Added WriteChar func to JsonWriterFile 2015-07-12 20:51:25 -04:00
Jordan Cristiano 236919cc4c Added net/dem msg create/destroy funcs to handler namespaces 2015-07-11 03:02:49 -04:00
Jordan Cristiano 1b90dc6298 Changed svc_menu type cast to signed 2015-07-11 02:23:18 -04:00
Jordan Cristiano ef50be7054 Replaced libb64-1.2.1 with cbase64-1.0 2015-07-09 20:52:06 -04:00
Jordan Cristiano 87a3d645e4 Commented out json verifier in main 2015-07-06 00:12:04 -04:00
Jordan Cristiano ab79444732 Added fflush to JsonWriterFile Flush function 2015-07-05 23:44:14 -04:00
Jordan Cristiano 2e597565bf Changed json output to an object stream based format 2015-07-05 23:42:08 -04:00
Jordan Cristiano 43745b85f5 DEM format documentation 2015-07-03 00:27:45 -04:00
Jordan Cristiano 38ff1bd261 Started documenting the dem format 2015-07-02 23:01:26 -04:00
Jordan Cristiano 8e13067339 The last byte of stv demos is cut off, so do that here too 2015-06-30 01:34:55 -04:00
Jordan Cristiano 7bdbce9aef Fixed naming in dem_stringtables structure 2015-06-29 23:31:48 -04:00
Jordan Cristiano cfc6498c25 Fixed not copying trailing bits from dem_stringtables 2015-06-29 23:31:26 -04:00
Jordan Cristiano 65089f3585 Fixed missing bitfile header 2015-06-28 17:32:34 -04:00
Jordan Cristiano cfba42038d Fixed typo in bitbuf error handler name 2015-06-27 21:31:11 -04:00
Jordan Cristiano 1d3656b24b Implemented JsonWriter io class 2015-06-26 01:11:36 -04:00
Jordan Cristiano 45da2a9b2d Made JsonWriterFile flush on destruct 2015-06-26 01:10:46 -04:00
Jordan Cristiano 121dd61e9a Implemented demmessage json writer funcs 2015-06-26 01:06:29 -04:00
Jordan Cristiano 9696646576 Added demowriter check for num bits written being a multiple of 8 2015-06-25 09:02:08 -04:00
Jordan Cristiano b0e5506384 Added bit size calculation for svc_gameeventlist data 2015-06-25 00:01:33 -04:00
Jordan Cristiano aecc11163f Added error check for if the input and output files are the same 2015-06-25 00:00:30 -04:00
Jordan Cristiano fea8bf485c Implemented json write funcs for netmessages 2015-06-24 23:59:39 -04:00
Jordan Cristiano 65a03fdf79 Added json file writing stream class based on rapidjson 2015-06-21 03:25:45 -04:00
Jordan Cristiano 5618e55129 Initialize at declaration instead of after 2015-06-21 03:10:53 -04:00
Jordan Cristiano 8b73c4041b Added calculation for encoded output size based on input size. Calculated size is never more than a byte larger than the actual size. 2015-06-21 03:10:17 -04:00
Jordan Cristiano 3acc56055c Made base64_encode_block use a local variable for stepcount which is saved back to the struct before return 2015-06-21 02:10:51 -04:00
Jordan Cristiano b10aa30f9b Reordered base64_encodedstate members by size, reordered assignments to state struct by member order 2015-06-21 01:29:00 -04:00
Jordan Cristiano a4220df30c Removed base64_encode_value from encode api, as it requires sanitized inputs (6 bit values) and is error prone for users 2015-06-21 01:24:42 -04:00
Jordan Cristiano 9adb42e579 Added encode flag to control whether the encoded string ends in a newline after padding or not 2015-06-21 01:21:20 -04:00
Jordan Cristiano e7e498efd9 Removed encode/decode helper structs 2015-06-19 20:47:35 -04:00
Jordan Cristiano 94d1c32319 Added libb64-1.2.1 for base64 encoding/decoding 2015-06-19 19:34:53 -04:00