hedgewars/ArgParsers.pas
changeset 9309 7e8f91634f80
parent 9302 1cf37fd7bc47
child 9521 8054d9d775fd
child 9988 317d46a2afd2
--- a/hedgewars/ArgParsers.pas	Mon Jul 01 22:49:28 2013 +0200
+++ b/hedgewars/ArgParsers.pas	Tue Jul 02 23:49:41 2013 +0200
@@ -21,11 +21,15 @@
 unit ArgParsers;
 interface
 
+{$IFNDEF HWLIBRARY}
 procedure GetParams;
+{$ELSE}
+procedure parseCommandLine(argc: LongInt; argv: PPChar);
+{$ENDIF}
 
 implementation
 uses uVariables, uTypes, uUtils, uSound, uConsts;
-var isInternal: Boolean;
+var isInternal: Boolean {$IFDEF HWLIBRARY} = true{$ENDIF};
 
 procedure GciEasterEgg;
 begin