From: Ketmar Dark Date: Tue, 21 Jun 2016 02:01:58 +0000 (+0300) Subject: Merge branch 'master' of ssh://repo.or.cz/d2df-sdl X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=0e46dc14295c14554d7e8216282054679b2f9a5a;hp=72c3f99bafeeefa72bcbc3c9c589a82a53c3a73d Merge branch 'master' of ssh://repo.or.cz/d2df-sdl --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3f29eae --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# Project-specific +bin/ +tmp/ + +# Precompiled and Delphi-specific files +# without *.res +*.obj +*.dcu +*.cbk +*.dof +*.ddp + +# Commonly used temporary files +~* +*.~* +*.tmp +*.bak +*.lps diff --git a/src/engine/e_log.pas b/src/engine/e_log.pas index f3dab4e..75b325e 100644 --- a/src/engine/e_log.pas +++ b/src/engine/e_log.pas @@ -69,7 +69,7 @@ begin begin case RecordCategory of MSG_FATALERROR: write('FATAL: '); - MSG_WARNING: write('WARNINIG: '); + MSG_WARNING: write('WARNING: '); end; writeln(TextLine); end; diff --git a/src/game/Doom2DF.lpi b/src/game/Doom2DF.lpi new file mode 100644 index 0000000..3d42f1c --- /dev/null +++ b/src/game/Doom2DF.lpi @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + <UseAppBundle Value="False"/> + <ResourceType Value="res"/> + </General> + <i18n> + <EnableI18N LFM="False"/> + </i18n> + <VersionInfo> + <StringTable ProductVersion=""/> + </VersionInfo> + <BuildModes Count="1"> + <Item1 Name="Default" Default="True"/> + </BuildModes> + <PublishOptions> + <Version Value="2"/> + </PublishOptions> + <RunParams> + <local> + <FormatVersion Value="1"/> + </local> + </RunParams> + <Units Count="1"> + <Unit0> + <Filename Value="Doom2DF.dpr"/> + <IsPartOfProject Value="True"/> + </Unit0> + </Units> + </ProjectOptions> + <CompilerOptions> + <Version Value="11"/> + <PathDelim Value="\"/> + <Target> + <Filename Value="..\..\bin\Doom2DF"/> + </Target> + <SearchPaths> + <IncludeFiles Value="..\lib\vampimg;..\lib\vampimg\JpegLib;..\lib\vampimg\ZLib;$(ProjOutDir)"/> + <OtherUnitFiles Value="..\lib\vampimg;..\lib\vampimg\JpegLib;..\lib\vampimg\ZLib"/> + <UnitOutputDirectory Value="..\..\tmp"/> + </SearchPaths> + <Parsing> + <SyntaxOptions> + <SyntaxMode Value="Delphi"/> + </SyntaxOptions> + </Parsing> + <CodeGeneration> + <Optimizations> + <OptimizationLevel Value="2"/> + </Optimizations> + </CodeGeneration> + <Other> + <CompilerMessages> + <MsgFileName Value=""/> + </CompilerMessages> + <CustomOptions Value="-dUSE_FMOD"/> + <CompilerPath Value="$(CompPath)"/> + </Other> + </CompilerOptions> + <Debugging> + <Exceptions Count="3"> + <Item1> + <Name Value="EAbort"/> + </Item1> + <Item2> + <Name Value="ECodetoolError"/> + </Item2> + <Item3> + <Name Value="EFOpenError"/> + </Item3> + </Exceptions> + </Debugging> +</CONFIG> diff --git a/src/shared/MAPDEF.pas b/src/shared/MAPDEF.pas index d414e72..9fd1bec 100644 --- a/src/shared/MAPDEF.pas +++ b/src/shared/MAPDEF.pas @@ -224,7 +224,7 @@ const TEXTURE_SPECIAL_ACID2 = DWORD(-3); TEXTURE_NONE = DWORD(-4); -Type +type TPoint = packed record X, Y: LongInt; end; @@ -304,13 +304,13 @@ Type HealInterval: Word; HealMax: Boolean; HealSilent: Boolean); - TRIGGER_SHOT: (ShotType: Byte; + TRIGGER_SHOT: (ShotPos: TPoint; + ShotType: Byte; + ShotTarget: Byte; ShotSound: Boolean; + ShotAllMap: Boolean; ShotPanelID: Integer; - ShotTarget: Byte; ShotIntSight: Word; - ShotAllMap: Boolean; - ShotPos: TPoint; ShotAngle: Word; ShotWait: Word; ShotAccuracy: Word;