diff --git a/src/shared/mapdesc.txt b/src/shared/mapdesc.txt
index 759d3759549920e675299181de3639ad7f76aa53..ed949e46c3f798daf426417ad0c990e9fbed631b 100644 (file)
--- a/src/shared/mapdesc.txt
+++ b/src/shared/mapdesc.txt
////////////////////////////////////////////////////////////////////////////////
// main blocks
-TMapHeaderRec_1 is "map" size 452 bytes header {
+TMapHeaderRec_1 is "map" size 452 bytes header binblock 7 {
//_ is "version" type uint minvalue 1 maxvalue 1;
MapName is "name" type char[32] offset 0;
MapAuthor is "author" type char[32] offset 32 default "" omitdefault;
Title is "title" type string default "" omitdefault;
}
-TTextureRec_1 is "texture" size 65 bytes {
+TTextureRec_1 is "texture" size 65 bytes binblock 1 {
Resource is "path" type char[64] offset 0;
Anim is "animated" type bool offset 64 default false omitdefault;
// internals
TexIdx is "texidx" type uint internal;
}
-TPanelRec_1 is "panel" size 18 bytes {
+TPanelRec_1 is "panel" size 18 bytes binblock 2 {
//X is "x" type int offset 0;
//Y is "y" type int offset 4;
Pos is "position" type point offset 0 as xy;
PanIdx is "panidx" type uint internal;
}
-TItemRec_1 is "item" size 10 bytes {
+TItemRec_1 is "item" size 10 bytes binblock 3 {
//X is "x" type int offset 0;
//Y is "y" type int offset 4;
Pos is "position" type point offset 0 as xy;
ItemIdx is "itemidx" type uint internal;
}
-TMonsterRec_1 is "monster" size 10 bytes {
+TMonsterRec_1 is "monster" size 10 bytes binblock 5 {
//X is "x" type int offset 0;
//Y is "y" type int offset 4;
Pos is "position" type point offset 0 as xy;
MonsIdx is "monsidx" type uint internal;
}
-TAreaRec_1 is "area" size 10 bytes {
+TAreaRec_1 is "area" size 10 bytes binblock 4 {
//X is "x" type int offset 0;
//Y is "y" type int offset 4;
Pos is "position" type point offset 0 as xy;
AreaIdx is "areaidx" type uint internal;
}
-TTriggerRec_1 is "trigger" size 148 bytes {
+TTriggerRec_1 is "trigger" size 148 bytes binblock 6 {
//X is "x" type int offset 0;
//Y is "y" type int offset 4;
Pos is "position" type point offset 0 as xy;