From: Ketmar Dark Date: Fri, 25 Aug 2017 00:43:43 +0000 (+0300) Subject: turned on typeinfo (preparing for text-mode maps magic) X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=d1fb1fce0a216ed61503c6ad592154eaf2885d1c;p=d2df-sdl.git turned on typeinfo (preparing for text-mode maps magic) --- 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