2021-02-23 11:44:11 +01:00
|
|
|
# .kble file format
|
|
|
|
Recommanded extension: `.kble`
|
|
|
|
|
|
|
|
Data stored: level size, level content.
|
|
|
|
|
|
|
|
Encoding:
|
|
|
|
* first byte indicates how big is a chunk of data (in bytes)
|
|
|
|
* second and third bytes indicates level width
|
|
|
|
* fourth and fifth bytes indicates level height
|
2021-02-24 15:22:59 +01:00
|
|
|
* 6th => (6 + data_size * width * height) contains level data
|
2021-02-23 11:44:11 +01:00
|
|
|
|
|
|
|
If the encoding is incorrect, return an error or crash the program.
|