Commit Graph

117 Commits

Author SHA1 Message Date
DankParrot d2ff0647dd Add .vs dir to gitignore 2020-08-11 17:50:21 -07:00
DankParrot 0bf6b2c232 Meson: Set VS startup project 2020-08-09 16:15:07 -07:00
DankParrot a11ad5ba47 Fix FEATHER_LOG_COLUMNS :) 2020-08-07 20:01:58 -07:00
DankParrot 383f3122cf Fix region file loading 2020-08-07 19:45:04 -07:00
Joshua Ashton 81e71dd452 Add logging comments 2020-08-07 06:55:17 +01:00
Joshua Ashton 1a32bae941 Update new world code for logging 2020-08-07 06:25:10 +01:00
Joshua Ashton 79c277a440 Refactor logging :) 2020-08-07 06:23:22 +01:00
DankParrot 68a8c22c03 Make Property cast operator inline 2020-08-06 21:49:29 -07:00
DankParrot d4256e9e32 Basic layout for world loading 2020-08-06 21:48:54 -07:00
Joshua Ashton f0043ded2a Merge branch 'master' of https://git.froggi.es/frogcraft/FeatherMC into master 2020-08-07 04:12:21 +01:00
Joshua Ashton 5b44d39e9e Static assert sizes in ReverseBytesBitcast 2020-08-07 04:12:10 +01:00
Joshua Ashton f7c6f7ad97 Implement ReverseBytes for float 2020-08-07 04:11:52 +01:00
Joshua Ashton 68a2852043 Implement ReverseBytes for double properly 2020-08-07 04:09:15 +01:00
DankParrot cc597c3240 NBT: Fix reading primitives from compound tag 2020-08-06 19:02:04 -07:00
Joshua Ashton ae99701d00 Update cNBT dep 2020-08-07 01:32:22 +01:00
Joshua Ashton 44b0c34687 Pull in bcrypt dep on Windows 2020-08-07 01:31:56 +01:00
Joshua Ashton 7b7b0e4941 Use nbt_payload type instead of decltype hack 2020-08-07 01:30:48 +01:00
Joshua Ashton 38a5064917 Use c++latest on MSVC 2020-08-07 01:26:46 +01:00
Joshua Ashton 17cd95ebb9 Use my cNBT fork with fixes 2020-08-07 01:23:52 +01:00
DankParrot 9c87657e2c Add basic unconditional KeepAlive 2020-08-05 18:25:36 -07:00
DankParrot a5f37c33a6 Add stub handler for unknown packets 2020-08-05 18:16:28 -07:00
DankParrot 54f346b096 Add enums and local aliases supprot to protocol 2020-08-03 19:14:26 -07:00
DankParrot 1ead4a1590 Spawn the player!!!! 2020-08-03 18:40:15 -07:00
DankParrot 483d1f2e39 Add 'byte' alias for uint8 2020-08-03 18:39:29 -07:00
DankParrot 7c5beda081 Add BlockPos type and Math.h 2020-08-03 18:39:09 -07:00
DankParrot 5e425e402f Add placeholder ReverseBytes for double 2020-08-03 18:38:08 -07:00
DankParrot 880374f98e Fix wrong return type for ReverseBytes 2020-08-03 18:26:45 -07:00
DankParrot 5f29e9cc28 Fix GCC not recognizing template call 2020-08-03 16:52:38 -07:00
DankParrot ecf8a1dd0b Add NBT::Tag::GetData() and NBT::DataBuffer 2020-08-03 16:08:00 -07:00
DankParrot a616c4ce80 Make ListTag iterable 2020-08-02 23:49:16 -07:00
DankParrot 7a03afcad9 Improve core NBT types 2020-08-02 23:49:16 -07:00
Joshua Ashton 5f1af9226a Use 1.15.2 for now 2020-08-03 07:31:33 +01:00
DankParrot 4b6646d8a0 Attempted NBT library with templates
This was a bad idea lol
2020-08-02 22:54:44 -07:00
Joshua Ashton fb0738b37e Add ostream overload to ServerProperties 2020-08-03 06:23:09 +01:00
Joshua Ashton e8244a3359 Add packet generation + handling automagically 2020-08-03 06:07:32 +01:00
DankParrot e11f7ee3c5 Enable cNBT in build 2020-08-01 20:57:32 -07:00
DankParrot b06a3feeb6 Add cNBT submodule dir 2020-08-01 20:51:20 -07:00
DankParrot 8ac6ddfde2 Add zlib subproject 2020-08-01 20:47:53 -07:00
DankParrot 14e416b909 Have meson specify output file to generate_protocol.py 2020-08-01 20:06:45 -07:00
Joshua Ashton 47430c68d2 Hook up protocol generator for now 2020-08-02 02:44:35 +01:00
Joshua Ashton 31e9a181a3 Move generated protocol -> protocol 2020-08-02 01:37:16 +01:00
Joshua Ashton 818c1f55bd Add validity check to TCPListener 2020-08-02 00:55:21 +01:00
Joshua Ashton 5015bfc5c9 Split up networking components to their own files 2020-08-02 00:55:21 +01:00
Joshua Ashton bee6fde1a7 Log connection/disconnect properly 2020-08-02 00:55:21 +01:00
DankParrot e8f6842c30 Add basic GDB launch configuration for vscode 2020-08-01 16:03:19 -07:00
DankParrot ee209d1bbb Update .gitignore for vscode 2020-08-01 16:02:02 -07:00
Joshua Ashton 2d64680804 Initial work on Protocol generation 2020-08-01 22:53:12 +01:00
Joshua Ashton 70d41ab577 Misc protocol cleanup 2020-08-01 22:53:02 +01:00
Joshua Ashton 3fbb7f0691 Logging to TCPListener 2020-08-01 07:35:22 +01:00
Joshua Ashton 50da8c2508 Misc socket cleaning 2020-08-01 07:35:22 +01:00