Commit Graph

33 Commits

Author SHA1 Message Date
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 ac62c9d25e [protocol] Simplify aliasing, use correct name and size 2020-10-31 02:20:31 -07:00
DankParrot 2692a0eabf [protocol] Add names to case-specific structs 2020-08-22 16:49:35 -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
Joshua Ashton 2d1403548c Merge branch 'master' of https://git.froggi.es/frogcraft/FeatherMC into master 2020-08-13 05:27:26 +01:00
DankParrot 7307a2733e First attempt at Send Chunk Data packet 2020-08-12 20:55:43 -07:00
Joshua Ashton 799f0f2552 Implement basic chat functionality 2020-08-08 01:25:32 +01:00
Joshua Ashton 79c277a440 Refactor logging :) 2020-08-07 06:23:22 +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 5f29e9cc28 Fix GCC not recognizing template call 2020-08-03 16:52:38 -07:00
Joshua Ashton 5f1af9226a Use 1.15.2 for now 2020-08-03 07:31:33 +01:00
Joshua Ashton e8244a3359 Add packet generation + handling automagically 2020-08-03 06:07:32 +01: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