WIP checkpoint: Implement chunk streaming system in GDScript
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
63f7b34db8d8cdea90c76aacccf841ec
|
||||
::res://::1787012057
|
||||
::res://::1787012074
|
||||
README.md::TextFile::-1::1787011777::0::1::::<><><>0<>0<><>::
|
||||
::res://docs/::1787011777
|
||||
::res://docs/architecture/::1787011795
|
||||
@@ -9,9 +9,9 @@ networking.md::TextFile::-1::1787011777::0::1::::<><><>0<>0<><>::
|
||||
world.md::TextFile::-1::1787011777::0::1::::<><><>0<>0<><>::
|
||||
::res://scenes/::1787011795
|
||||
main.tscn::PackedScene::-1::1787011795::0::1::::<><><>0<>0<><>::res://scripts/chunk_stream_manager.gd
|
||||
::res://scripts/::1787011795
|
||||
::res://scripts/::1787012062
|
||||
chunk.gd::GDScript::7364239597441807588::1787011795::0::1::::Chunk<>Node3D<><>0<>0<><>::
|
||||
chunk_data_decoder.gd::GDScript::3922068956043581888::1787011795::0::1::::ChunkDataDecoder<>RefCounted<><>0<>0<><>::
|
||||
chunk_data_decoder.gd::GDScript::3922068956043581888::1787012104::0::1::::ChunkDataDecoder<>RefCounted<><>0<>0<><>::
|
||||
chunk_scene.gd::GDScript::9207602004456600331::1787011795::0::1::::ChunkScene<>Node3D<><>0<>0<><>::
|
||||
chunk_stream_manager.gd::GDScript::2366645676568508746::1787011963::0::1::::ChunkStreamManager<>Node<><>0<>0<><>::
|
||||
dynamic_object_node.gd::GDScript::8863349716576659118::1787011795::0::1::::DynamicObjectNode<>Node3D<><>0<>0<><>::
|
||||
|
||||
@@ -161,13 +161,13 @@ class ChunkPayload:
|
||||
|
||||
# ─── Binary Decoding ────────────────────────────────────────────────────────
|
||||
|
||||
static const MAGIC: PackedByteArray = PackedByteArray([0x41, 0x47, 0x50, 0x43]) # "AGPC"
|
||||
static const HEADER_SIZE: int = 48
|
||||
static const SECTION_META: int = 0x01
|
||||
static const SECTION_TILE: int = 0x02
|
||||
static const SECTION_OBJECT: int = 0x03
|
||||
static const SECTION_FLAGS: int = 0x04
|
||||
static const SECTION_REVISION_META: int = 0x05
|
||||
const MAGIC: PackedByteArray = PackedByteArray([0x41, 0x47, 0x50, 0x43]) # "AGPC"
|
||||
const HEADER_SIZE: int = 48
|
||||
const SECTION_META: int = 0x01
|
||||
const SECTION_TILE: int = 0x02
|
||||
const SECTION_OBJECT: int = 0x03
|
||||
const SECTION_FLAGS: int = 0x04
|
||||
const SECTION_REVISION_META: int = 0x05
|
||||
|
||||
|
||||
## Decode a binary chunk payload into a ChunkPayload.
|
||||
|
||||
Reference in New Issue
Block a user