aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/SDK
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-04 13:32:26 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-04 13:32:26 +0000
commit4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c (patch)
treef1dd7ea8e016f5612a58feea4a25f26d1391f3ae /plugins/SDK
parentd33f56a40d9e8325a2782f90bb253dece5127c5f (diff)
downloadusdx-4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c.tar.gz
usdx-4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c.tar.xz
usdx-4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c.zip
- switches.inc removed from ModiSDK.pas and StrUtils.pas as the plugins do not find it
- FPC compatibility (Assembler mode set, Mode-delphi set, ...) - Plugin "Don't get worse" updated for USDX 1.1 compatibility - Other plugins need to be updated too. Perhaps include them to the main project later. Note that the party mode is disabled at the moment so plugins will not work. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1499 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'plugins/SDK')
-rw-r--r--plugins/SDK/ModiSDK.pas2
-rw-r--r--plugins/SDK/StrUtils.pas10
2 files changed, 8 insertions, 4 deletions
diff --git a/plugins/SDK/ModiSDK.pas b/plugins/SDK/ModiSDK.pas
index 76dcf8ea..c0e66387 100644
--- a/plugins/SDK/ModiSDK.pas
+++ b/plugins/SDK/ModiSDK.pas
@@ -6,8 +6,6 @@ interface
{$MODE Delphi}
{$ENDIF}
-{$I switches.inc}
-
type //PluginInfo, for Init
TPluginInfo = record
//Info
diff --git a/plugins/SDK/StrUtils.pas b/plugins/SDK/StrUtils.pas
index a5735b8f..069c89c3 100644
--- a/plugins/SDK/StrUtils.pas
+++ b/plugins/SDK/StrUtils.pas
@@ -2,7 +2,9 @@ unit StrUtils;
interface
-{$I switches.inc}
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
uses ModiSDK;
@@ -12,6 +14,10 @@ procedure FreeStr(Str: PChar);
implementation
+{$IFDEF FPC}
+ {$ASMMODE Intel}
+{$ENDIF}
+
{function StrToAChar(Str: String): AChar;
var
L, I: Integer;
@@ -70,4 +76,4 @@ begin
FreeMem(Str);
end;
-end. \ No newline at end of file
+end.