Commit Graph

156 Commits

Author SHA1 Message Date
DankParrot 1e2e6da787 [protocol] Implement object arrays 2020-08-19 16:06:38 -07:00
DankParrot 8a6fdb67ef [protocol] Implement nested objects 2020-08-19 15:21:02 -07:00
DankParrot f5fdf4b27e protocol.hjson: Implement arrays 2020-08-18 21:37:44 -07:00
DankParrot 450e04bd2f protocol.hjson: Add conditional clauses 2020-08-18 20:32:02 -07:00
DankParrot b02bdfc90b protocol.hjson: Remove local aliases feature.
Will be replaced with local types
2020-08-18 19:49:39 -07:00
DankParrot c4da1c4fad Implement alternative enum syntax
https://trello.com/c/8SWTk9jt/29-alternative-enum-syntax
2020-08-18 19:45:15 -07:00
DankParrot c26fc81a2b Tidy up and comment protocol.hjson 2020-08-18 18:50:41 -07:00
DankParrot e09c70a51a New protocol.hjson type system 2020-08-18 18:26:46 -07:00
DankParrot e71ae319a2 Add read/write specializations for bool 2020-08-18 18:26:01 -07:00
DankParrot 2b06f0c149 BlockState: store properties 2020-08-13 18:47:19 -07:00
DankParrot 2db8c240c1 Handle invalid local palette block states 2020-08-13 18:45:34 -07:00
DankParrot ea2ff1b8fd Comment out most spammy log traces 2020-08-13 18:42:21 -07:00
DankParrot eec887a052 World: Load spawn chunks at start 2020-08-13 18:41:05 -07:00
DankParrot c71e330026 Fix spacing in meson.build again 2020-08-13 18:39:43 -07:00
DankParrot 83ecf57e76 NBT iterator for CompoundTag + fix warnings 2020-08-13 18:38:43 -07:00
Joshua Ashton 5d1257456f Initial work on sending multiple chunks 2020-08-13 18:06:28 +01:00
Joshua Ashton 4e1a4c92b3 Add libjobs 2020-08-13 17:46:15 +01:00
Joshua Ashton a854f9e1ea Fix spacing in meson.build 2020-08-13 16:15:47 +01:00
Joshua Ashton b563f3ed45 Add WriteSubMessage helper 2020-08-13 15:56:24 +01:00
Joshua Ashton 71f78fa89c Support > 4 bitsPerBlock 2020-08-13 15:54:57 +01:00
Joshua Ashton f6bb87ab2b Work on sending chunks 2020-08-13 10:24:29 +01:00
Joshua Ashton 2d1403548c Merge branch 'master' of https://git.froggi.es/frogcraft/FeatherMC into master 2020-08-13 05:27:26 +01:00
DankParrot f0b3533418 Add blocks.json 2020-08-12 20:57:19 -07:00
DankParrot 80314a2da0 Temporarily disable free() for NBT::DataBuffer 2020-08-12 20:56:58 -07:00
DankParrot 7307a2733e First attempt at Send Chunk Data packet 2020-08-12 20:55:43 -07:00
DankParrot a3693bb321 Add local palette loading 2020-08-12 20:54:48 -07:00
DankParrot b286899237 Remove Chunk::heightmaps for now 2020-08-12 20:54:13 -07:00
DankParrot dc6677672a Begin implementation of chunk loading 2020-08-12 20:15:51 -07:00
DankParrot 9689e7996f Implement global palette loading 2020-08-12 20:14:06 -07:00
DankParrot 144c980355 Placeholder: BlockState 2020-08-12 20:05:25 -07:00
DankParrot d38f673c63 NBT: Only call free() if we allocated it 2020-08-12 20:00:17 -07:00
DankParrot 4569c1429d NBT: Indexing operator for ArrayTag 2020-08-12 19:59:56 -07:00
DankParrot 35f91c17a1 NBT: Allow parsing from compressed data 2020-08-12 19:36:40 -07:00
DankParrot 935d29a30d NBT: Bool operator 2020-08-12 18:50:49 -07:00
DankParrot a46ad28499 NBT: Add CompoundTag::GetCompound 2020-08-12 18:17:47 -07:00
DankParrot 017fa39adc Fix ChunkPos cast warning 2020-08-12 18:00:24 -07:00
DankParrot 17c77dc57c Fix annoying Property.h warning 2020-08-12 17:58:24 -07:00
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 799f0f2552 Implement basic chat functionality 2020-08-08 01:25:32 +01:00
Joshua Ashton a5a79e2d38 Add steal to lockable 2020-08-08 01:24:46 +01: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