aboutsummaryrefslogtreecommitdiffstats
path: root/Modis/Duell
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-18 10:57:17 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-18 10:57:17 +0000
commit7bf5487faf2b099ced0b2126c2cca164be80acf1 (patch)
treebb963e1e86b231097ef0e639f96f975a4372f303 /Modis/Duell
parent4f7f9544e5dbf992599865243aee4c6e2a5b5f8e (diff)
downloadusdx-7bf5487faf2b099ced0b2126c2cca164be80acf1.tar.gz
usdx-7bf5487faf2b099ced0b2126c2cca164be80acf1.tar.xz
usdx-7bf5487faf2b099ced0b2126c2cca164be80acf1.zip
Some changes mode on ModiSDK and Depending Files(Plugin Loader, Party SingScreen and Plugins)
Changes make the Pluginsystem more extendable with backwards compatibility in further Versions. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@220 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Modis/Duell')
-rw-r--r--Modis/Duell/Duell.dpr8
1 files changed, 6 insertions, 2 deletions
diff --git a/Modis/Duell/Duell.dpr b/Modis/Duell/Duell.dpr
index 4a22a5d7..cff9d4ef 100644
--- a/Modis/Duell/Duell.dpr
+++ b/Modis/Duell/Duell.dpr
@@ -7,12 +7,13 @@ uses
procedure PluginInfo (var Info: TPluginInfo); stdcall;
begin
Info.Name := 'PLUGIN_DUELL_NAME';
- Info.NumPlayers := 31;
Info.Creator := 'Whiteshark';
Info.PluginDesc := 'PLUGIN_DUELL_DESC';
+ Info.Typ := 8;
+ Info.NumPlayers := 31;
//Options
Info.LoadSong := True; //Whether or not a Song should be Loaded
//Only When Song is Loaded:
@@ -38,7 +39,7 @@ begin
end;
//Executed on Game Start //If True Game begins, else Failure
-function Init (const TeamInfo: TTeamInfo; var Playerinfo: TPlayerinfo; const Sentences: TSentences; const LoadTex: fModi_LoadTex; const Print: fModi_Print; LoadSound: fModi_LoadSound; PlaySound: fModi_PlaySound): boolean; stdcall;
+function Init (const TeamInfo: TTeamInfo; var Playerinfo: TPlayerinfo; const Sentences: TSentences; const Methods: TMethodRec): boolean; stdcall;
begin
Result := True;
end;
@@ -85,6 +86,9 @@ begin
end;
end;
+ //When nobody has Points -> Everybody loose
+ if (MaxScore = 0) then
+ Result := 0;
end;
exports