diff --git a/compiler/compile/compile.bdsproj b/compiler/compile/compile.bdsproj new file mode 100755 index 00000000..f3a831bb --- /dev/null +++ b/compiler/compile/compile.bdsproj @@ -0,0 +1,168 @@ + + + + + + + + + + + + compile.dpr + + + 7.0 + + + 8 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + True + True + WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; + + False + + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + False + False + False + True + True + True + + + 0 + 0 + 1 + False + False + False + 16384 + 1048576 + 4194304 + + + + + + + + + + + + False + + + + + + False + + + + + + False + + + False + False + 1 + 0 + 0 + 0 + False + False + False + False + False + 1031 + 1252 + + + + + 1.0.0.0 + + + + + + 1.0.0.0 + + + + diff --git a/compiler/compile/compile.dpr b/compiler/compile/compile.dpr index 3e76cbf4..3cbf6e05 100755 --- a/compiler/compile/compile.dpr +++ b/compiler/compile/compile.dpr @@ -43,13 +43,13 @@ var sr: TSearchRec; i: Word; begin - WriteLn('//AMXXSC compile.exe'); + WriteLn('//AMXXPC compile.exe'); WriteLn('// by the AMX Mod X Dev Team'); WriteLn; - if not FileExists(ExtractFilePath(ParamStr(0))+'amxxsc.exe') then + if not FileExists(ExtractFilePath(ParamStr(0))+COMPILER_EXE) then begin - WriteLn('// Could not find amxxsc.exe'); + WriteLn('// Could not find '+COMPILER_EXE); AppExit; end; diff --git a/compiler/compile/compile.exe b/compiler/compile/compile.exe new file mode 100755 index 00000000..62f26dd0 Binary files /dev/null and b/compiler/compile/compile.exe differ diff --git a/compiler/compile/icon.res b/compiler/compile/icon.res new file mode 100755 index 00000000..cb9c014c Binary files /dev/null and b/compiler/compile/icon.res differ diff --git a/compiler/compile/uFunc.pas b/compiler/compile/uFunc.pas index e8fda2de..292d3adf 100755 --- a/compiler/compile/uFunc.pas +++ b/compiler/compile/uFunc.pas @@ -36,6 +36,9 @@ interface uses Windows, SysUtils, Classes, Math, IniFiles; +resourcestring + COMPILER_EXE = 'amxxpc.exe'; + procedure AppExit; procedure CompilePlugin(const Name: String); function GetAgeFromDat(const FileName: String): Integer; @@ -79,7 +82,7 @@ begin try cStart := GetTickCount; - if not GetConsoleOutput(ExtractFilePath(ParamStr(0))+'amxxsc.exe "'+FilePath+FileName+'" "-o'+Compiled+'"',Output) then + if not GetConsoleOutput(ExtractFilePath(ParamStr(0))+COMPILER_EXE+' "'+FilePath+FileName+'" "-o'+Compiled+'"',Output) then begin WriteLn('// Internal error.'); AppExit; diff --git a/compiler/compile/version.rc b/compiler/compile/version.rc index 8c7ff4e7..e3d50087 100755 --- a/compiler/compile/version.rc +++ b/compiler/compile/version.rc @@ -1,7 +1,7 @@ VS_VERSION_INFO VERSIONINFO -FILEVERSION 0,2,0,0 -PRODUCTVERSION 0,2,0,0 +FILEVERSION 1,5,0,0 +PRODUCTVERSION 1,5,0,0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP // VFT_APP VFT_DLL //FILEFLGAGS: @@ -12,17 +12,17 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "Comments", "AMXXSC compile.exe\0" + VALUE "Comments", "AMXXPC compile.exe\0" //VALUE "CompanyName", "AMXX Development Team\0" - VALUE "FileDescription", "AMXXSC compile.exe\0" - VALUE "FileVersion", "0.20\0" - VALUE "InternalName", "AMXXSC compile.exe\0" - VALUE "LegalCopyright", "(c) 2004, AMXX Development Team\0" + VALUE "FileDescription", "AMXXPC compile.exe\0" + VALUE "FileVersion", "1.5\0" + VALUE "InternalName", "AMXXPC compile.exe\0" + VALUE "LegalCopyright", "(c) 2004-2005, AMXX Development Team\0" //VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "compile.exe\0" //VALUE "PrivateBuild", "\0" - VALUE "ProductName", "AMXXSC compile.exe\0" - VALUE "ProductVersion", "0.20\0" + VALUE "ProductName", "AMXXPC compile.exe\0" + VALUE "ProductVersion", "1.5\0" //VALUE "SpecialBuild", "\0" END END diff --git a/compiler/compile/version.res b/compiler/compile/version.res new file mode 100755 index 00000000..f4beb148 Binary files /dev/null and b/compiler/compile/version.res differ