From d1fb1fce0a216ed61503c6ad592154eaf2885d1c Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Fri, 25 Aug 2017 03:43:43 +0300 Subject: [PATCH] turned on typeinfo (preparing for text-mode maps magic) --- src/game/g_grid.pas | 2 ++ src/sfs/sfs.pas | 1 + src/shared/MAPDEF.pas | 1 + src/shared/MAPSTRUCT.pas | 1 + src/shared/a_modes.inc | 2 +- 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/g_grid.pas b/src/game/g_grid.pas index 882ef3a..6017ad4 100644 --- a/src/game/g_grid.pas +++ b/src/game/g_grid.pas @@ -1284,8 +1284,10 @@ var f, ptag, distSq: Integer; x0, y0, x1, y1: Integer; // horizontal walker + {$IFDEF GRID_USE_ORTHO_ACCEL} wklen, wkstep: Integer; hopt: Boolean; + {$ENDIF} begin result := Default(ITP); lastObj := Default(ITP); diff --git a/src/sfs/sfs.pas b/src/sfs/sfs.pas index a18ad73..5621f50 100644 --- a/src/sfs/sfs.pas +++ b/src/sfs/sfs.pas @@ -415,6 +415,7 @@ end; type TVolumeInfo = class + public fFactory: TSFSVolumeFactory; fVolume: TSFSVolume; fPackName: AnsiString; // äëÿ îäíîãî è òîãî æå ôàéëà áóäåò òîëüêî îäèí òîì! diff --git a/src/shared/MAPDEF.pas b/src/shared/MAPDEF.pas index 05c5101..640b69d 100644 --- a/src/shared/MAPDEF.pas +++ b/src/shared/MAPDEF.pas @@ -14,6 +14,7 @@ * along with this program. If not, see . *) {$INCLUDE a_modes.inc} +{$M+} unit MAPDEF; { diff --git a/src/shared/MAPSTRUCT.pas b/src/shared/MAPSTRUCT.pas index d9913a4..f2bc726 100644 --- a/src/shared/MAPSTRUCT.pas +++ b/src/shared/MAPSTRUCT.pas @@ -14,6 +14,7 @@ * along with this program. If not, see . *) {$INCLUDE a_modes.inc} +{$M+} unit MAPSTRUCT; { diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc index ee78b4f..a0ea220 100644 --- a/src/shared/a_modes.inc +++ b/src/shared/a_modes.inc @@ -48,7 +48,7 @@ {$SCOPEDENUMS OFF} // this will possibly be changed later {$SMARTLINK ON} {$TYPEDADDRESS ON} -{$TYPEINFO OFF} +{$TYPEINFO ON} {$VARSTRINGCHECKS OFF} {$S-} // disable stack checking -- 2.29.2