DEADSOFTWARE

the game is able to read text maps now (WARNING! the feature is still experimental!)
[d2df-sdl.git] / src / shared / MAPSTRUCT.pas
index 8a873b5014a32c8cdb8f662d268c69321250ef3f..f2bc726d450b42fa38f4685bb2ff90641d869bfe 100644 (file)
@@ -13,7 +13,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *)
-{$MODE DELPHI}
+{$INCLUDE a_modes.inc}
+{$M+}
 unit MAPSTRUCT;
 
 {
@@ -122,7 +123,7 @@ type
    TriggerType:  Byte;
    ActivateType: Byte;
    Keys:         Byte;
-   DATA:         Byte128;
+   DATA:         Byte128; //WARNING! should be exactly equal to sizeof(TTriggerData)
   end;
 
   TBlock = packed record