- Moved FML into core folder

- Endurance plugin
- map class nbCheckpoints
- added script callbacks registration
This commit is contained in:
Steffen Schröder
2013-11-25 19:46:29 +01:00
parent 65394e165e
commit 7f1646f25d
65 changed files with 141 additions and 4 deletions

View File

@ -0,0 +1,31 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style '321Go'
*
* @author steeffeen
*/
class Quad_321Go extends Quad {
/**
* Constants
*/
const STYLE = '321Go';
const SUBSTYLE_3 = '3';
const SUBSTYLE_2 = '2';
const SUBSTYLE_1 = '1';
const SUBSTYLE_Go = 'Go!';
/**
* Construct 321Go quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
}
}
?>

View File

@ -0,0 +1,54 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'BgRaceScore2'
*
* @author steeffeen
*/
class Quad_BgRaceScore2 extends Quad {
/**
* Constants
*/
const STYLE = 'BgRaceScore2';
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
const SUBSTYLE_BgCardServer = 'BgCardServer';
const SUBSTYLE_BgScores = 'BgScores';
const SUBSTYLE_Cartouche = 'Cartouche';
const SUBSTYLE_CartoucheLine = 'CartoucheLine';
const SUBSTYLE_CupFinisher = 'CupFinisher';
const SUBSTYLE_CupPotentialFinisher = 'CupPotentialFinisher';
const SUBSTYLE_Fame = 'Fame';
const SUBSTYLE_Handle = 'Handle';
const SUBSTYLE_HandleBlue = 'HandleBlue';
const SUBSTYLE_HandleRed = 'HandleRed';
const SUBSTYLE_HandleSelectable = 'HandleSelectable';
const SUBSTYLE_IsLadderDisabled = 'IsLadderDisabled';
const SUBSTYLE_IsLocalPlayer = 'IsLocalPlayer';
const SUBSTYLE_LadderPoints = 'LadderPoints';
const SUBSTYLE_LadderRank = 'LadderRank';
const SUBSTYLE_Laps = 'Laps';
const SUBSTYLE_Podium = 'Podium';
const SUBSTYLE_Points = 'Points';
const SUBSTYLE_SandTimer = 'SandTimer';
const SUBSTYLE_ScoreLink = 'ScoreLink';
const SUBSTYLE_ScoreReplay = 'ScoreReplay';
const SUBSTYLE_SendScore = 'SendScore';
const SUBSTYLE_Speaking = 'Speaking';
const SUBSTYLE_Spectator = 'Spectator';
const SUBSTYLE_Tv = 'Tv';
const SUBSTYLE_Warmup = 'Warmup';
/**
* Construct BgRaceScore2 quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
}
}
?>

View File

@ -0,0 +1,35 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Bgs1'
*
* @author steeffeen
*/
class Quad_Bgs1 extends Quad {
/**
* Constants
*/
const STYLE = 'Bgs1';
/**
* Construct Bgs1 quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp", "BgButton", "BgButtonBig", "BgButtonGlow", "BgButtonGrayed",
"BgButtonOff", "BgButtonShadow", "BgButtonSmall", "BgCard", "BgCard1", "BgCard2", "BgCard3", "BgCardBuddy",
"BgCardChallenge", "BgCardFolder", "BgCardInventoryItem", "BgCardList", "BgCardOnline", "BgCardPlayer", "BgCardSystem",
"BgCardZone", "BgColorContour", "BgDialogBlur", "BgEmpty", "BgGradBottom", "BgGradLeft", "BgGradRight", "BgGradTop",
"BgGradV", "BgHealthBar", "BgIconBorder", "BgList", "BgListLine", "BgPager", "BgProgressBar", "BgShadow", "BgSlider",
"BgSystemBar", "BgTitle2", "BgTitle3", "BgTitle3_1", "BgTitle3_2", "BgTitle3_3", "BgTitle3_4", "BgTitle3_5", "BgTitleGlow",
"BgTitlePage", "BgTitleShadow", "BgWindow1", "BgWindow2", "BgWindow3", "EnergyBar", "EnergyTeam2", "Glow", "HealthBar",
"NavButton", "NavButtonBlink", "NavButtonQuit", "ProgressBar", "ProgressBarSmall", "Shadow");
}
}
?>

View File

@ -0,0 +1,35 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Bgs1InRace'
*
* @author steeffeen
*/
class Quad_Bgs1InRace extends Quad {
/**
* Constants
*/
const STYLE = 'Bgs1InRace';
/**
* Construct Bgs1InRace quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp", "BgButton", "BgButtonBig", "BgButtonGlow", "BgButtonGrayed",
"BgButtonOff", "BgButtonShadow", "BgButtonSmall", "BgCard", "BgCard1", "BgCard2", "BgCard3", "BgCardBuddy",
"BgCardChallenge", "BgCardFolder", "BgCardInventoryItem", "BgCardList", "BgCardOnline", "BgCardPlayer", "BgCardSystem",
"BgCardZone", "BgColorContour", "BgDialogBlur", "BgEmpty", "BgGradBottom", "BgGradLeft", "BgGradRight", "BgGradTop",
"BgGradV", "BgHealthBar", "BgIconBorder", "BgList", "BgListLine", "BgPager", "BgProgressBar", "BgShadow", "BgSlider",
"BgSystemBar", "BgTitle2", "BgTitle3", "BgTitle3_1", "BgTitle3_2", "BgTitle3_3", "BgTitle3_4", "BgTitle3_5", "BgTitleGlow",
"BgTitlePage", "BgTitleShadow", "BgWindow1", "BgWindow2", "BgWindow3", "EnergyBar", "EnergyTeam2", "Glow", "HealthBar",
"NavButton", "NavButtonBlink", "NavButtonQuit", "ProgressBar", "ProgressBarSmall", "Shadow");
}
}
?>

View File

@ -0,0 +1,28 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'BgsChallengeMedals'
*
* @author steeffeen
*/
class Quad_BgsChallengeMedals extends Quad {
/**
* Constants
*/
const STYLE = 'BgsChallengeMedals';
/**
* Construct BgsChallengeMedals quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("BgBronze", "BgGold", "BgNadeo", "BgNotPlayed", "BgPlayed", "BgSilver");
}
}
?>

View File

@ -0,0 +1,30 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'BgsPlayerCard'
*
* @author steeffeen
*/
class Quad_BgsPlayerCard extends Quad {
/**
* Constants
*/
const STYLE = 'BgsPlayerCard';
/**
* Construct BgsPlayerCard quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("BgActivePlayerCard", "BgActivePlayerName", "BgActivePlayerScore", "BgCard", "BgCardSystem", "BgMediaTracker",
"BgPlayerCard", "BgPlayerCardBig", "BgPlayerCardSmall", "BgPlayerName", "BgPlayerScore", "BgRacePlayerLine",
"BgRacePlayerName", "ProgressBar");
}
}
?>

View File

@ -0,0 +1,29 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Copilot'
*
* @author steeffeen
*/
class Quad_Copilot extends Quad {
/**
* Constants
*/
const STYLE = 'Copilot';
/**
* Construct Copilot quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("Down", "DownGood", "DownWrong", "Left", "LeftGood", "LeftWrong", "Right", "RightGood", "RightWrong", "Up", "UpGood",
"UpWrong");
}
}
?>

View File

@ -0,0 +1,30 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Emblems'
*
* @author steeffeen
*/
class Quad_Emblems extends Quad {
/**
* Constants
*/
const STYLE = 'Emblems';
const SUBSTYLE_0 = '#0';
const SUBSTYLE_1 = '#1';
const SUBSTYLE_2 = '#2';
/**
* Construct Emblems quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
}
}
?>

View File

@ -0,0 +1,28 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'EnergyBar'
*
* @author steeffeen
*/
class Quad_EnergyBar extends Quad {
/**
* Constants
*/
const STYLE = 'EnergyBar';
/**
* Construct EnergyBar quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("BgText", "EnergyBar", "EnergyBar_0.25", "EnergyBar_Thin", "HeaderGaugeLeft", "HeaderGaugeRight");
}
}
?>

View File

@ -0,0 +1,29 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Hud3dEchelons'
*
* @author steeffeen
*/
class Quad_Hud3dEchelons extends Quad {
/**
* Constants
*/
const STYLE = 'Hud3dEchelons';
/**
* Construct Hud3dEchelons quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("EchelonBronze1", "EchelonBronze2", "EchelonBronze3", "EchelonGold1", "EchelonGold2", "EchelonGold3", "EchelonSilver1",
"EchelonSilver2", "EchelonSilver3");
}
}
?>

View File

@ -0,0 +1,34 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Icons128x128_1'
*
* @author steeffeen
*/
class Quad_Icons128x128_1 extends Quad {
/**
* Constants
*/
const STYLE = 'Icons128x128_1';
/**
* Construct Icons128x128_1 quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("Advanced", "Back", "BackFocusable", "Beginner", "Browse", "Buddies", "Challenge", "ChallengeAuthor", "Coppers",
"Create", "Credits", "Custom", "CustomStars", "Default", "Download", "Easy", "Editor", "Event", "Extreme", "Forever",
"GhostEditor", "Hard", "Hotseat", "Inputs", "Invite", "LadderPoints", "Lan", "Launch", "Load", "LoadTrack", "Manialink",
"ManiaZones", "MedalCount", "MediaTracker", "Medium", "Multiplayer", "Nations", "NewTrack", "Options", "Padlock", "Paint",
"Platform", "PlayerPage", "Profile", "ProfileAdvanced", "ProfileVehicle", "Puzzle", "Quit", "Race", "Rankings", "Replay",
"Save", "ServersAll", "ServersFavorites", "ServersSuggested", "Share", "ShareBlink", "SkillPoints", "Solo", "Statistics",
"Stunts", "United", "Upload", "Vehicles");
}
}
?>

View File

@ -0,0 +1,34 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Icons128x128_Blink'
*
* @author steeffeen
*/
class Quad_Icons128x128_Blink extends Quad {
/**
* Constants
*/
const STYLE = 'Icons128x128_Blink';
/**
* Construct Icons128x128_Blink quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("Advanced", "Back", "BackFocusable", "Beginner", "Browse", "Buddies", "Challenge", "ChallengeAuthor", "Coppers",
"Create", "Credits", "Custom", "CustomStars", "Default", "Download", "Easy", "Editor", "Event", "Extreme", "Forever",
"GhostEditor", "Hard", "Hotseat", "Inputs", "Invite", "LadderPoints", "Lan", "Launch", "Load", "LoadTrack", "Manialink",
"ManiaZones", "MedalCount", "MediaTracker", "Medium", "Multiplayer", "Nations", "NewTrack", "Options", "Padlock", "Paint",
"Platform", "PlayerPage", "Profile", "ProfileAdvanced", "ProfileVehicle", "Puzzle", "Quit", "Race", "Rankings", "Replay",
"Save", "ServersAll", "ServersFavorites", "ServersSuggested", "Share", "ShareBlink", "SkillPoints", "Solo", "Statistics",
"Stunts", "United", "Upload", "Vehicles");
}
}
?>

View File

@ -0,0 +1,30 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Icons128x32_1'
*
* @author steeffeen
*/
class Quad_Icons128x32_1 extends Quad {
/**
* Constants
*/
const STYLE = 'Icons128x32_1';
/**
* Construct Icons128x32_1 quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("Empty", "ManiaLinkHome", "ManiaLinkSwitch", "ManiaPlanet", "Music", "PainterBrush", "PainterFill", "PainterLayer",
"PainterMirror", "PainterSticker", "PainterTeam", "RT_Cup", "RT_Laps", "RT_Rounds", "RT_Script", "RT_Team", "RT_TimeAttack",
"RT_Stunts", "Settings", "SliderBar", "SliderBar2", "SliderCursor", "Sound", "UrlBg", "Windowed");
}
}
?>

View File

@ -0,0 +1,37 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Icons64x64_1'
*
* @author steeffeen
*/
class Quad_Icons64x64_1 extends Quad {
/**
* Constants
*/
const STYLE = 'Icons64x64_1';
/**
* Construct Icons64x64_1 quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("3DStereo", "Add", "ArrowBlue", "ArrowDisabled", "ArrowDown", "ArrowFastNext", "ArrowFastPrev", "ArrowFirst",
"ArrowGreen", "ArrowLast", "ArrowNext", "ArrowPrev", "ArrowRed", "ArrowUp", "Browser", "Buddy", "ButtonLeagues", "Camera",
"CameraLocal", "Check", "ClipPause", "ClipPlay", "ClipRewind", "Close", "Empty", "Finish", "FinishGrey", "First",
"GenericButton", "Green", "IconLeaguesLadder", "IconPlayers", "IconPlayersLadder", "IconServers", "Inbox", "LvlGreen",
"LvlRed", "LvlYellow", "ManiaLinkNext", "ManiaLinkPrev", "Maximize", "MediaAudioDownloading", "MediaPlay", "MediaStop",
"MediaVideoDownloading", "NewMessage", "NotBuddy", "OfficialRace", "Opponents", "Outbox", "QuitRace", "RedHigh", "RedLow",
"Refresh", "RestartRace", "Save", "Second", "ShowDown", "ShowDown2", "ShowLeft", "ShowLeft2", "ShowRight", "ShowRight2",
"ShowUp", "ShowUp2", "SliderCursor", "SliderCursor2", "StateFavourite", "StatePrivate", "StateSuggested", "Sub",
"TagTypeBronze", "TagTypeGold", "TagTypeNadeo", "TagTypeNone", "TagTypeSilver", "Third", "ToolLeague1", "ToolRoot",
"ToolTree", "ToolUp", "TrackInfo", "TV", "YellowHigh", "YellowLow");
}
}
?>

View File

@ -0,0 +1,29 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'Icons64x64_2'
*
* @author steeffeen
*/
class Quad_Icons64x64_2 extends Quad {
/**
* Constants
*/
const STYLE = 'Icons64x64_2';
/**
* Construct Icons64x64_2 quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("ArrowElimination", "ArrowHit", "Disconnected", "DisconnectedLight", "LaserElimination", "LaserHit",
"NucleusElimination", "NucleusHit", "RocketElimination", "RocketHit", "ServerNotice", "UnknownElimination", "UnknownHit");
}
}
?>

View File

@ -0,0 +1,34 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'ManiaPlanetLogos'
*
* @author steeffeen
*/
class Quad_ManiaPlanetLogos extends Quad {
/**
* Constants
*/
const STYLE = 'ManiaPlanetLogos';
const SUBSTYLE_IconPlanets = 'IconPlanets';
const SUBSTYLE_IconPlanetsPerspective = 'IconPlanetsPerspective';
const SUBSTYLE_IconPlanetsSmall = 'IconPlanetsSmall';
const SUBSTYLE_ManiaPlanetLogoBlack = 'ManiaPlanetLogoBlack';
const SUBSTYLE_ManiaPlanetLogoBlackSmall = 'ManiaPlanetLogoBlackSmall';
const SUBSTYLE_ManiaPlanetLogoWhite = 'ManiaPlanetLogoWhite';
const SUBSTYLE_ManiaPlanetLogoWhiteSmall = 'ManiaPlanetLogoWhiteSmall';
/**
* Construct ManiaPlanetLogos quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
}
}
?>

View File

@ -0,0 +1,33 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'ManiaplanetSystem'
*
* @author steeffeen
*/
class Quad_ManiaplanetSystem extends Quad {
/**
* Constants
*/
const STYLE = 'ManiaplanetSystem';
const SUBSTYLE_BgDialog = 'BgDialog';
const SUBSTYLE_BgDialogAnchor = 'BgDialogAnchor';
const SUBSTYLE_BgFloat = 'BgFloat';
const SUBSTYLE_Events = 'Events';
const SUBSTYLE_Medals = 'Medals';
const SUBSTYLE_Statistics = 'Statistics';
/**
* Construct ManiaplanetSystem quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
}
}
?>

View File

@ -0,0 +1,28 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'MedalsBig'
*
* @author steeffeen
*/
class Quad_MedalsBig extends Quad {
/**
* Constants
*/
const STYLE = 'MedalsBig';
/**
* Construct MedalsBig quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("MedalBronze", "MedalGold", "MedalGoldPerspective", "MedalNadeo", "MedalNadeoPerspective", "MedalSilver", "MedalSlot");
}
}
?>

View File

@ -0,0 +1,28 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'TitleLogos'
*
* @author steeffeen
*/
class Quad_TitleLogos extends Quad {
/**
* Constants
*/
const STYLE = 'TitleLogos';
/**
* Construct TitleLogos quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("Author", "Collection", "Icon", "Title");
}
}
?>

View File

@ -0,0 +1,33 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'UIConstruction_Buttons'
*
* @author steeffeen
*/
class Quad_UIConstruction_Buttons extends Quad {
/**
* Constants
*/
const STYLE = 'UIConstruction_Buttons';
/**
* Construct UIConstruction_Buttons quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
array("ActionMaker", "Add", "Author", "AuthorTime", "BgEditors", "BgIcons", "BgMain", "BgTools", "BlockEditor", "Camera",
"Challenge", "CopyPaste", "DecalEditor", "Delete", "Directory", "Down", "Drive", "Erase", "Help", "Item", "Left",
"MacroBlockEditor", "MediaTracker", "ObjectEditor", "OffZone", "Options", "Paint", "Pick", "Plugins", "Quit", "Redo",
"Reload", "Right", "Save", "SaveAs", "ScriptEditor", "SpotModelClearUnused", "SpotModelDuplicate", "SpotModelNew",
"SpotModelRename", "Square", "Stats", "Sub", "TerrainEditor", "TestSm", "Text", "Tools", "Underground", "Undo", "Up",
"Validate", "Validate_Step1", "Validate_Step2", "Validate_Step3");
}
}
?>

View File

@ -0,0 +1,48 @@
<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
* Quad class for style 'UiSMSpectatorScoreBig'
*
* @author steeffeen
*/
class Quad_UiSMSpectatorScoreBig extends Quad {
/**
* Constants
*/
const STYLE = 'UiSMSpectatorScoreBig';
CONST SUBSTYLE_BotLeft = 'BotLeft';
CONST SUBSTYLE_BotLeftGlass = 'BotLeftGlass';
CONST SUBSTYLE_BotRight = 'BotRight';
CONST SUBSTYLE_BotRightGlass = 'BotRightGlass';
CONST SUBSTYLE_CenterShield = 'CenterShield';
CONST SUBSTYLE_CenterShieldSmall = 'CenterShieldSmall';
CONST SUBSTYLE_HandleLeft = 'HandleLeft';
CONST SUBSTYLE_HandleRight = 'HandleRight';
CONST SUBSTYLE_PlayerGlass = 'PlayerGlass';
CONST SUBSTYLE_PlayerIconBg = 'PlayerIconBg';
CONST SUBSTYLE_PlayerJunction = 'PlayerJunction';
CONST SUBSTYLE_PlayerSlot = 'PlayerSlot';
CONST SUBSTYLE_PlayerSlotCenter = 'PlayerSlotCenter';
CONST SUBSTYLE_PlayerSlotRev = 'PlayerSlotRev';
CONST SUBSTYLE_PlayerSlotSmall = 'PlayerSlotSmall';
CONST SUBSTYLE_PlayerSlotSmallRev = 'PlayerSlotSmallRev';
CONST SUBSTYLE_TableBgHoriz = 'TableBgHoriz';
CONST SUBSTYLE_TableBgVert = 'TableBgVert';
CONST SUBSTYLE_Top = 'Top';
CONST SUBSTYLE_UIRange1Bg = 'UIRange1Bg';
CONST SUBSTYLE_UIRange2Bg = 'UIRange2Bg';
/**
* Construct UiSMSpectatorScoreBig quad
*/
public function __construct() {
parent::__construct();
$this->setStyle(self::STYLE);
}
}
?>