Commit Graph

182 Commits

Author SHA1 Message Date
Alpyne f13918b66f Enable fmtlib ostream usage in Logger 2020-11-06 17:51:37 -08:00
Alpyne b722c5530c Basic foundation for Block registry 2020-11-06 17:51:08 -08:00
Alpyne 6584a2c022 Move ServerProperties classes into Feather::Config
To avoid future conflicts with block Property classes
2020-11-06 17:18:39 -08:00
Alpyne ddf9a7fa20 Functional block breaking! 2020-11-04 16:32:44 -08:00
Alpyne e7d18f7dff Allow cell overflow in block data (pre-1.16 style) 2020-11-04 16:31:11 -08:00
Alpyne b218552cc4 Block mutability for aligned bitfields (1.16 style)
TODO: "In versions prior to 1.16, the full range of bits is used, where the remaining bits of a block index continue on the next long value."
2020-11-04 14:59:50 -08:00
Alpyne b15e039d61 [protocol] Revert using string_view for strings 2020-11-02 14:58:30 -08:00
Alpyne d444a36785 [protocol] Clientbound/serverbound specific type details 2020-11-02 14:57:47 -08:00
Alpyne 150ad7b9ac Add PlayerAction (block breaking etc) packet 2020-10-31 02:20:31 -07:00
Alpyne b370853c2a Add Direction enum 2020-10-31 02:20:31 -07:00
Alpyne f8e86ab9ba Implement PacketReader method ReadPosition 2020-10-31 02:20:31 -07:00
Alpyne ac62c9d25e [protocol] Simplify aliasing, use correct name and size 2020-10-31 02:20:31 -07:00
Alpyne 4c3bf292fb Add .editorconfig 2020-10-30 19:17:26 -07:00
Alpyne e64603c6b6 Move ChunkSection guts to PalettedContainer 2020-10-30 19:17:26 -07:00
Alpyne 55fa33057f Math::CeilDiv (divide and round up) 2020-10-30 19:17:26 -07:00
Alpyne 1c55884ddc bitsizeof(T) macro 2020-10-30 19:17:26 -07:00
Alpyne 1ec9781ec1 Common int types without _t, and byte type
It's my code I do what I want
2020-10-30 19:17:26 -07:00
DankParrot 3f76d50d67 Highlight errors and warning messages in their level color
To make them stand out more from info, trace, debug messages.
2020-08-22 18:52:06 -07:00
DankParrot e91c2d9b50 Make internal assert method inline 2020-08-22 18:48:59 -07:00
DankParrot e37883a9bb Add Assert and AssertOnce macros 2020-08-22 18:44:28 -07:00
DankParrot b95362113b Comment out JobManager while it's not included in git 2020-08-22 18:41:07 -07:00
DankParrot 2692a0eabf [protocol] Add names to case-specific structs 2020-08-22 16:49:35 -07:00
DankParrot 75c1f4ce01 Fix fmtlib including windows.h everywhere 2020-08-22 16:40:09 -07:00
DankParrot 52d583c4c1 [protocol] Implement .switch(cond): {...} 2020-08-19 17:53:04 -07:00
DankParrot b6d99799bd [protocol] Update headers 2020-08-19 17:48:06 -07:00
DankParrot a2ac2531bb [protocol] Packets now use std::string_view 2020-08-19 17:41:28 -07:00
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