DEADSOFTWARE

map reader now independent of record size and alignment
[d2df-sdl.git] / src / shared / MAPSTRUCT.pas
index 5b26f6513a8ee1f2776b9dd6559d876587295351..b72499d95de8b6fc497f31929cc1b2967b074b51 100644 (file)
@@ -1,3 +1,19 @@
+(* Copyright (C)  DooM 2D:Forever Developers
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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}
 unit MAPSTRUCT;
 
 {
@@ -105,8 +121,8 @@ type
    TexturePanel: Integer;
    TriggerType:  Byte;
    ActivateType: Byte;
-   Keys:         Byte; 
-   DATA:         Byte128;
+   Keys:         Byte;
+   DATA:         Byte128; //WARNING! should be exactly equal to sizeof(TTriggerData)
   end;
 
   TBlock = packed record