Skip to content

feat: Add world saving & Loading #21

Description

@Zffu

Add a world saving and loading system by using a region-based savefile system.

Here's how a save file is composed:

typedef struct {
  uint32_t magic; // Version ID
  uint16_t* chunk_indices; // Offsets of the different chunks
  chunk_t* chunks; 
} regionfile_t;

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions