mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
data format docs
Former-commit-id: 5da80ac39d23d518bec0ed4e838fd0a4ae19bd11 Former-commit-id: f7ec7a4cd2c1d7a795aa19352065ee1ea1550fe4
This commit is contained in:
47
work_files/DataFormats/Map data format.txt
Normal file
47
work_files/DataFormats/Map data format.txt
Normal file
@@ -0,0 +1,47 @@
|
||||
Terrarum Game Map Format
|
||||
|
||||
* Endianness: big
|
||||
|
||||
Ord Hex Description
|
||||
00 54 T
|
||||
01 45 E
|
||||
02 4D M
|
||||
03 44 D
|
||||
|
||||
04 01 Number of bits per tile divided by 8, only 1 is supported
|
||||
|
||||
05 Number of layers
|
||||
|
||||
06 00 Reserved
|
||||
07 00 Reserved
|
||||
|
||||
08 World width
|
||||
09 World width
|
||||
0A World width
|
||||
0B World width
|
||||
|
||||
0C World height
|
||||
0D World height
|
||||
0E World height
|
||||
0F World height
|
||||
|
||||
10 Default spawn coord X
|
||||
11 Default spawn coord X
|
||||
12 Default spawn coord X
|
||||
13 Default spawn coord X
|
||||
|
||||
14 Default spawn coord Y
|
||||
15 Default spawn coord Y
|
||||
16 Default spawn coord Y
|
||||
17 Default spawn coord Y
|
||||
|
||||
18 Terrain tiles data (MSB)
|
||||
|
||||
... Wall tiles data (MSB)
|
||||
|
||||
... Tiles data (LSB)
|
||||
0bAAAABBBB - A: Terrain, B: Wall (0-15)
|
||||
|
||||
... Wire tiles data (0-255)
|
||||
|
||||
<EOF>
|
||||
Reference in New Issue
Block a user