ManiaScript
Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
big.h
Go to the documentation of this file.
1 class Void {};
2 class Integer{};
3 class Real{};
4 class Boolean{};
5 class Text{};
6 class Vec2{};
7 class Vec3{};
8 class Int3{};
9 class Ident{};
10 
15 struct CMlScript : public CNod {
16  enum LinkType {
23  };
27  const CMlPage Page;
35  const Integer Now;
39  const Integer Period;
67  const Real MouseX;
71  const Real MouseY;
87  const Boolean KeyUp;
115  Boolean IsKeyPressed(Integer KeyCode);
123  Void EnableMenuNavigation(Boolean EnableInputs,Boolean WithAutoFocus,CMlControl AutoBackControl,Integer InputPriority);
135  Void TriggerPageAction(Text ActionString);
151  Void SendCustomEvent(Text Type,Text[] Data);
155  Void PreloadImage(Text ImageUrl);
156 };
157 
162 struct CMlEntry : public CMlControl {
170  Void StartEdition();
179 };
180 
185 struct CMlFileEntry : public CMlEntry {
190 };
191 
196 struct CMlLabel : public CMlControl {
212  Void SetText(Text NewText);
249 };
250 
255 struct CMlMediaPlayer : public CMlControl {
256 };
257 
262 struct CMlQuad : public CMlControl {
267  };
271  Void ChangeImageUrl(Text fieldName);
320 };
321 
326 struct CMlGauge : public CMlControl {
334  Void SetRatio(Real NewRatio);
338  Void SetClan(Integer NewClan);
367 };
368 
373 struct CMlGraph : public CMlControl {
394 };
395 
400 struct CMlMinimap : public CMlControl {
417 };
418 
423 struct CMlCamera : public CMlControl {
424 };
425 
430 struct CMlBrowser : public CMlScript {
435  };
437  Ok,
440  };
444  const CMap CurMap;
464  Void BrowserBack();
468  Void BrowserQuit();
472  Void BrowserHome();
484  Void SetLocalUserClubLink(Text ClubLink);
485 };
486 
491 struct CManiaApp : public CNod {
492  enum ELinkType {
495  };
499  const Integer Now;
519  const Real MouseX;
523  const Real MouseY;
543  Void LayerCustomEvent(CUILayer Layer,Text Type,Text[] Data);
547  Void OpenLink(Text Url,ELinkType LinkType);
560 };
561 
565 struct CManiaAppEvent : public CNod {
566  enum EType {
571  };
573  Up,
581  };
585  const EType Type;
617  const Text KeyName;
618 };
619 
624 struct CManiaAppTitle : public CManiaApp {
632  Void Menu_Quit();
636  Void Menu_Home();
640  Void Menu_Solo();
648  Void Menu_Local();
656  Void Menu_Editor();
660  Void Menu_Profile();
664  Void PlayMap(Text Map);
673 };
674 
678 struct CStation : public CNod {
682  const CTitle Title;
707 };
708 
713 struct CMlStation : public CMlBrowser {
721  Void EnterStation();
722 };
723 
728 struct CEditorPlugin : public CManiaApp {
734  };
735  enum PlaceMode {
749  };
750  enum EditMode {
751  Unknown,
758  };
766  const CMap Map;
774  Void Undo();
778  Void Redo();
782  Void Quit();
786  Void Help();
790  Void Validate();
794  Void AutoSave();
798  Void SaveMap(Text FileName,Text Path);
878  Void RemoveAll();
922  Boolean CanPlaceBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir,Boolean OnGround,Integer VariantIndex);
926  Boolean PlaceBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
930  Boolean CanPlaceBlock_NoDestruction(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir,Boolean OnGround,Integer VariantIndex);
938  Boolean CanPlaceRoadBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
942  Boolean PlaceRoadBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
946  Boolean CanPlaceTerrainBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
950  Boolean PlaceTerrainBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
954  Boolean PlaceTerrainBlocks_NoDestruction(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
974  CBlock GetBlock(Int3 Coord);
978  Boolean RemoveBlock(Int3 Coord);
982  Boolean RemoveTerrainBlocks(Int3 StartCoord,Int3 EndCoord);
994  Void CopyPaste_AddOrSubSelection(Int3 StartCoord,Int3 EndCoord);
1002  Void SaveMacroblock(CMacroblockModel MacroblockModel);
1010  Void SetInterfaceNumber(CCollector Collector,Integer NewValue);
1014  CMacroblockModel GetMacroblockModelFromName(Text MacroblockModelName);
1018  CBlockModel GetTerrainBlockModelFromName(Text TerrainBlockModelName);
1022  CBlockModel GetBlockModelFromName(Text BlockModelName);
1042  const CBlock[] Blocks;
1171 };
1172 
1177 struct CSmMode : public CMode {
1178  enum EWeapon {
1183  };
1193  };
1204  };
1205  enum EGameplay {
1208  };
1388  const CSmScore[] Scores;
1396  Void PassOn(CSmModeEvent Event);
1400  Void Discard(CSmModeEvent Event);
1404  Void SpawnPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapPlayerSpawn PlayerSpawn,Integer ActivationDate);
1408  Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapPlayerSpawn PlayerSpawn,Integer ActivationDate);
1412  Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapBotPath BotPath,Integer ActivationDate);
1416  Void UnspawnPlayer(CSmPlayer Player);
1420  Void ClearScores();
1424  Void SetPlayerClan(CSmPlayer Player,Integer ClanNum);
1428  Void SetPlayerWeapon(CSmPlayer Player,EWeapon DefaultWeapon,Boolean AutoSwitchWeapon);
1432  Void SetPlayerReloadAllWeapons(CSmPlayer Player,Boolean ReloadAllWeapons);
1444  Void AddPlayerAmmo(CSmPlayer Player,EWeapon Weapon,Real DeltaCount);
1456  Void AddPlayerArmor(CSmPlayer Victim,Integer DeltaArmor,CSmPlayer Shooter,Integer ShooterPoints);
1460  Void RemovePlayerArmor(CSmPlayer Victim,Integer DeltaArmor,CSmPlayer Shooter,Integer ShooterPoints);
1472  Void RespawnPlayer(CSmPlayer Player);
1476  Void RespawnPlayer(CSmPlayer Player,CSmMapLandmark CheckpointLandmark);
1480  CSmPlayer CreateBotPlayer(Ident ModelId,Integer TeamNum);
1484  Void DestroyBotPlayer(CSmPlayer BotPlayer);
1492  Void ScriptedBot_Move(CSmPlayer BotPlayer,Vec3 Goal);
1496  Void ScriptedBot_MoveDelta(CSmPlayer BotPlayer,Vec3 Delta);
1500  Void ScriptedBot_MoveAndAim(CSmPlayer BotPlayer,Vec3 Goal);
1508  Void ScriptedBot_Aim(CSmPlayer BotPlayer,Vec3 Goal);
1512  Void ScriptedBot_AimDelta(CSmPlayer BotPlayer,Real DeltaYaw,Real DeltaPitch);
1524  Void ActionLoad(CSmPlayer Player,EActionSlot ActionSlot,Ident ModelId);
1528  Void ActionBind(CSmPlayer Player,EActionSlot ActionSlot,EActionInput ActionInput);
1532  Void ActionSetVariant(CSmPlayer Player,EActionSlot ActionSlot,Integer ActionVariant);
1536  Void SetNbFakePlayers(Integer NbClan1,Integer NbClan2);
1544  CSmObject ObjectCreate(Ident ModelId);
1548  Void ObjectDestroy(CSmObject Object);
1577 };
1578 
1603  const CSmScore[] Scores;
1640 };
1641 
1646 struct CSmAction : public CNod {
1650  const Integer Now;
1690  Void SendRulesEvent(Text Param1,Text[] Param2,CSmPlayer Shooter,CSmPlayer Victim);
1694  Ident GetAnimModelId(Text ModelName);
1698  Void PlayAnimOnPlayer(Ident AnimModelId,CSmPlayer Player);
1702  Void PlayAnimAtPosition(Ident AnimModelId,Vec3 Position,Vec3 Direction);
1706  Ident GetProjectileModelId(Text ModelName);
1710  Void CreateProjectile(CSmPlayer PlayerToIgnore,Ident ProjectileModelId,Vec3 InitialPosition,Vec3 InitialDirection,Vec3 InitialVelocity);
1714  Void CreateProjectile(CSmPlayer PlayerToIgnore,Ident ProjectileModelId,Vec3 InitialPosition,Vec3 InitialDirection,Vec3 InitialVelocity,Integer ContextId);
1718  Void CreateShoot(CSmPlayer Shooter,Ident ProjectileModelId);
1722  Void CreateShoot(CSmPlayer Shooter,Ident ProjectileModelId,Integer ContextId);
1734  Void Cooldown_Start();
1735 };
1736 
1741 struct CSmMapType : public CMapType {
1745  const CSmMode Mode;
1746 };
1747 
1768  const CTmScore[] Scores;
1793 };
1794 
1799 struct CTmMode : public CMode {
1809  };
1815  };
1820  Normal,
1821  };
1826  };
1850  const CTmScore[] Scores;
1870  Void PassOn(CTmModeEvent Event);
1874  Void Discard(CTmModeEvent Event);
1878  Void Scores_Sort(ETmScoreSortOrder SortOrder);
1882  Void Scores_Clear();
1983 };
1984 
1989 struct CTmMapType : public CMapType {
1993  const CTmMode Mode;
1994 };
1995 
1999 struct CNod {
2003  const Ident Id;
2004 };
2005 
2010 struct CMlPage : public CNod {
2018  CMlControl GetFirstChild(Text ControlId);
2026  Void GetClassChildren(Text Class,CMlFrame Frame,Boolean Recursive);
2031 };
2032 
2037 struct CUser : public CNod {
2038  enum EEchelon {
2049  };
2050  enum ETagType {
2055  };
2057  None,
2060  };
2064  const Text Login;
2068  const Text Name;
2096  const Vec3 Color;
2160  const Text[] Tags_Id;
2181  enum PlayerType {
2183  Fake (not net),
2186  };
2192  };
2193 };
2194 
2199 struct CTitle : public CNod {
2203  const Text TitleId;
2211  const Text Name;
2215  const Text Desc;
2219  const Text InfoUrl;
2228 };
2229 
2233 struct CMlEvent : public CNod {
2234  enum Type {
2242  };
2252  };
2256  const Type Type;
2264  const Text KeyName;
2289 };
2290 
2294 struct CXmlManager : public CNod {
2298  CXmlDocument Create(Text Contents);
2302  CXmlDocument Create(Text Contents,Boolean GenerateText,Boolean GenerateTextRaw,Boolean GenerateTextResursive);
2306  Void Destroy(CXmlDocument Document);
2311 };
2312 
2316 struct CHttpManager : public CNod {
2324  CHttpRequest CreateGet(Text Url,Boolean UseCache);
2328  CHttpRequest CreatePost(Text Url,Text Resource);
2332  Void Destroy(CHttpRequest Request);
2336  Boolean IsValidUrl(Text Url);
2345 };
2346 
2350 struct CAudioManager : public CNod {
2351  enum ELibSound {
2364  };
2372  CAudioSound CreateSound(Text Url,Real VolumedB,Boolean IsMusic,Boolean IsLooping,Boolean IsSpatialized);
2376  Void DestroySound(CAudioSound Sound);
2384  Void PlaySoundEvent(CAudioSound Sound,Real VolumedB);
2388  Void PlaySoundEvent(Text Url,Real VolumedB);
2392  Void PlaySoundEvent(ELibSound Sound,Integer SoundVariant,Real VolumedB);
2396  Void PlaySoundEvent(CAudioSound Sound,Real VolumedB,Integer Delay);
2400  Void PlaySoundEvent(Text Url,Real VolumedB,Integer Delay);
2404  Void PlaySoundEvent(ELibSound Sound,Integer SoundVariant,Real VolumedB,Integer Delay);
2417 };
2418 
2423 struct CMlControl : public CNod {
2429  };
2434  None,
2436  };
2448  Boolean HasClass(Text Class);
2492  Boolean DataAttributeExists(Text DataName);
2496  Text DataAttributeGet(Text DataName);
2500  Void DataAttributeSet(Text DataName,Text DataValue);
2504  Void Show();
2508  Void Hide();
2512  Void Unload();
2516  Void Focus();
2517 };
2518 
2522 struct CMlGraphCurve : public CNod {
2534  Void SortPoints();
2543 };
2544 
2549 struct CMap : public CNod {
2589  const Text MapType;
2641  const Int3 Size;
2642 };
2643 
2647 struct CUILayer : public CNod {
2660  };
2681 };
2682 
2687  enum Type {
2690  (reserved),
2700  };
2701  enum EInput {
2723  };
2727  const Type Type;
2731  const EInput Input;
2736 };
2737 
2741 struct CBlockModel : public CCollector {
2742  enum EBaseType {
2747  };
2752  None,
2754  };
2755  enum EProdState {
2760  };
2764  const Text Name;
2789 };
2790 
2795 struct CMacroblockModel : public CCollector {
2819  const Text Name;
2820 };
2821 
2825 struct CItemAnchor : public CNod {
2831  };
2836 };
2837 
2841 struct CBlock : public CNod {
2847  };
2859  Void UseDefaultAnchor();
2863  Void UseCustomAnchor();
2867  const Int3 Coord;
2880 };
2881 
2886 struct CAnchorData : public CNod {
2903 };
2904 
2909 struct CMode : public CNod {
2910  enum EMedal {
2917  };
2941  const Text MapName;
2945  const CMap Map;
2953  const CUser[] Users;
2957  const CTeam[] Teams;
2973  Void TweakTeamColorsToAvoidHueOverlap();
2977  const Integer Now;
2997  Void RequestLoadMap();
3001  Void RequestUnloadMap();
3017  Void Ladder_OpenMatch_Request();
3021  Void Ladder_AddPlayer(CScore PlayerScore);
3025  Void Ladder_OpenMatch_BeginRequest();
3029  Void Ladder_OpenMatch_AddPlayer(CScore PlayerScore);
3033  Void Ladder_OpenMatch_EndRequest();
3037  Void Ladder_CloseMatchRequest();
3041  Void Ladder_CancelMatchRequest();
3049  Void Ladder_SetResultsVersion(Integer Version);
3053  Void Ladder_SetMatchMakingMatchId(Integer MatchId);
3057  Void Ladder_EnableChallengeMode(Boolean Enable);
3061  Boolean Admin_KickUser(CUser User,Text Reason);
3065  Void Admin_SetLobbyInfo(Boolean IsLobby,Integer LobbyPlayerCount,Integer LobbyMaxPlayerCount,Real LobbyPlayersLevel);
3069  Void AutoTeamBalance();
3073  Void Solo_SetNewRecord(CScore PlayerScore,EMedal PlayerScore);
3093  Integer Synchro_AddBarrier();
3097  Boolean Synchro_BarrierReached(Integer Barrier);
3101  Boolean Users_AreAllies(CUser User1,CUser User2);
3105  Void Users_RequestSwitchToSpectator(CUser User);
3109  CUser Users_CreateFake(Text NickName,Integer RequestedTeam);
3113  Void Users_DestroyFake(CUser User);
3117  Void Users_SetNbFakeUsers(Integer NbTeam1,Integer NbTeam2);
3121  Void Users_DestroyAllFakes();
3125  Void ItemList_Begin();
3129  Ident ItemList_Add(Text ModelName);
3133  Ident ItemList_AddWithSkin(Text ModelName,Text SkinName);
3137  Void ItemList_End();
3141  Void DemoToken_StartUsingToken();
3145  Void DemoToken_StopUsingToken();
3149  Void DemoToken_GetAndUseToken(CUser User);
3153  Void ActionList_Begin();
3157  Ident ActionList_Add(Text ActionName);
3161  Void ActionList_End();
3173  Void Replay_Start();
3177  Void Replay_Stop();
3178 };
3179 
3184 struct CSmPlayer : public CPlayer {
3189  };
3329  const Real AimYaw;
3389  const Real Speed;
3418 };
3419 
3423 struct CSmModeEvent : public CNod {
3424  enum EType {
3442  };
3452  };
3463  };
3465  Weapon,
3466  Movement,
3467  Activable1,
3468  Activable2,
3469  Activable3,
3470  Activable4,
3471  None,
3472  };
3476  const EType Type;
3504  const Real Height;
3560  const Text Param1;
3564  const Text[] Param2;
3584  const CUser User;
3629 };
3630 
3634 struct CSmMapBase : public CNod {
3647 };
3648 
3653 struct CSmMapLandmark : public CNod {
3657  const Text Tag;
3694 };
3695 
3700 struct CSmScore : public CScore {
3736  Void Clear();
3737 };
3738 
3743 struct CSmObject : public CNod {
3744  enum EStatus {
3749  };
3761  Void SetAnchor(CSmMapObjectAnchor ObjectAnchor);
3765  Void SetPlayer(CSmPlayer Player);
3769  Void SetPosition(Vec3 Position);
3773  Void SetPositionAndVel(Vec3 Position,Vec3 Vel);
3777  Void SetUnspawned();
3789  const Vec3 Vel;
3798 };
3799 
3804 struct CMlScriptIngame : public CMlScript {
3805  enum EUISound {
3835  };
3842  };
3870  const CMap Map;
3874  Void ShowCurChallengeCard();
3878  Void ShowModeHelp();
3882  Void CopyServerLinkToClipBoard();
3886  Void JoinTeam1();
3890  Void JoinTeam2();
3894  const CTeam[] Teams;
3898  Void SetSpectateTarget(Text Player);
3902  Void ShowProfile(Text Player);
3906  Void ShowInGameMenu();
3926  Void PlayUiSound(EUISound Sound,Integer SoundVariant,Real Volume);
3930  Void CloseInGameMenu(EInGameMenuResult Result);
3931 };
3932 
3936 struct CSmActionEvent : public CNod {
3937  enum EType {
3942  };
3946  const EType Type;
3974  const Vec3 Normal;
3975 };
3976 
3981 struct CMapType : public CEditorPlugin {
3986  };
3994  Void ClearMapMetadata();
4010  Void StartTestMapWithMode(Text RulesModeName);
4014  Void RequestEnterPlayground();
4018  Void RequestLeavePlayground();
4023 };
4024 
4029 struct CTmMlPlayer : public CPlayer {
4030  enum ERaceState {
4035  };
4087  const Real AimYaw;
4103  const Real Speed;
4116 };
4117 
4122 struct CTmScore : public CScore {
4154  Void Clear();
4155 };
4156 
4161 struct CTmPlayer : public CPlayer {
4201  const Real AimYaw;
4218 };
4219 
4223 struct CTmModeEvent : public CNod {
4224  enum EType {
4231  };
4271  };
4275  const EType Type;
4359  const Real Factor;
4360 };
4361 
4366 struct CMlFrame : public CMlControl {
4375  };
4383  CMlControl GetFirstChild(Text ControlId);
4396 };
4397 
4401 struct CXmlDocument : public CNod {
4413  const CXmlNode[] Nodes;
4417  CXmlNode GetFirstChild(Text Name);
4418 };
4419 
4423 struct CHttpRequest : public CNod {
4427  const Text Url;
4431  const Text Result;
4440 };
4441 
4445 struct CAudioSound : public CNod {
4449  Void Play();
4453  Void Stop();
4486 };
4487 
4491 struct CMapInfo : public CNod {
4519  const Text MapType;
4531  const Text Name;
4535  const Text Path;
4536 };
4537 
4541 struct CCollector : public CNod {
4545  const Text Name;
4550 };
4551 
4561  };
4562 };
4563 
4568 };
4569 
4573 struct CBlockUnit : public CNod {
4577  const Int3 Offset;
4585  const CBlock Block;
4586 };
4587 
4592 struct CTeam : public CNod {
4633 };
4634 
4638 struct CUIConfigMgr : public CNod {
4642  Void ResetAll();
4650  const CUIConfig[] UI;
4654  CUIConfig GetUI(CPlayer Player);
4658  CUIConfig GetUI(CUser User);
4666  CUILayer UILayerCreate();
4670  Void UILayerDestroy(CUILayer Layer);
4674  Void UILayerDestroyAll();
4683 };
4684 
4689 struct CXmlRpc : public CNod {
4697  Void SendCallback(Text Param1,Text Param2);
4701  Void SendCallbackArray(Text Type,Text[] Data);
4705  Void SendCallback_BeginRound();
4709  Void SendCallback_EndRound();
4710 };
4711 
4716 struct CPlayer : public CNod {
4720  const CUser User;
4724  const Text Login;
4728  const Text Name;
4737 };
4738 
4742 struct CSmPlayerDriver : public CNod {
4751  };
4756  };
4765  };
4882 };
4883 
4888 struct CSmBlockPole : public CSmBlock {
4901 };
4902 
4906 struct CSmMapGate : public CNod {
4935 };
4936 
4940 struct CSmMapGauge : public CNod {
4965 };
4966 
4970 struct CSmMapSector : public CNod {
4975 };
4976 
4980 struct CSmMapPlayerSpawn : public CNod {
4981 };
4982 
4986 struct CSmMapBotPath : public CNod {
4990  const Integer Clan;
4994  const Vec3[] Path;
4999 };
5000 
5004 struct CSmMapObjectAnchor : public CNod {
5013 };
5014 
5019 struct CScore : public CNod {
5023  const CUser User;
5044 };
5045 
5050 struct CUIConfig : public CNod {
5063  };
5064  enum EUIStatus {
5065  None,
5070  };
5072  None,
5073  Normal,
5077  };
5079  None,
5085  };
5090  };
5091  enum EUISound {
5092  Default,
5097  EndRound,
5105  Warning,
5121  };
5123  Default,
5130  };
5132  Default,
5135  Manual,
5136  };
5508  Void SendChat(Text Text);
5512  Void SendNotice(Text Text,ENoticeLevel Level,CUser Avatar,EAvatarVariant AvatarVariant,EUISound Sound,Integer SoundVariant);
5516  Text GetLayerManialinkAction(CUILayer Layer);
5520  Void ClearLayerManialinkAction(CUILayer Layer);
5521 };
5522 
5527 struct CTrackManiaScore : public CTmScore {
5528 };
5529 
5533 struct CTmResult : public CNod {
5540  };
5560  Integer Compare(CTmResult Other,ETmRaceResultCriteria Criteria);
5561 };
5562 
5566 struct CXmlNode : public CNod {
5570  const Text Name;
5590  Text GetAttributeText(Text Name,Text DefaultValue);
5594  Integer GetAttributeInteger(Text Name,Integer DefaultValue);
5598  Real GetAttributeReal(Text Name,Real DefaultValue);
5602  Boolean GetAttributeBoolean(Text Name,Boolean DefaultValue);
5606  CXmlNode GetFirstChild(Text Name);
5607 };
5608 
5612 struct CBlockModelVariant : public CNod {
5628  const Int3 Size;
5641 };
5642 
5646 struct CBlockUnitModel : public CNod {
5652  };
5661  };
5665  const Int3 Offset;
5670 };
5671 
5675 struct CXmlRpcEvent : public CNod {
5676  enum EType {
5680  };
5684  const EType Type;
5688  const Text Param1;
5692  const Text Param2;
5701 };
5702 
5707 struct CSmBlock : public CSmLandmark {
5711  const CSmBase Base;
5712 };
5713 
5717 struct CSmSector : public CNod {
5722 };
5723 
5727 struct CSmGauge : public CNod {
5748 };
5749 
5753 struct CBlockModelClip : public CBlockModel {
5759  };
5768  };
5769 };
5770 
5775 struct CSmLandmark : public CNod {
5779  const Text Tag;
5792 };
5793 
5797 struct CSmBase : public CNod {
5810 };
5811 
5812 namespace MathLib {
5813 
5817  Integer Abs(Integer Argument1);
5821  Real Abs(Real Argument1);
5825  Real ToReal(Integer Argument1);
5829  Real Sin(Real Argument1);
5833  Real Cos(Real Argument1);
5837  Real Tan(Real Argument1);
5841  Real Atan2(Real Argument1, Real Argument2);
5845  Real Exp(Real Argument1);
5849  Real Rand(Real Argument1, Real Argument2);
5853  Integer Rand(Integer Argument1, Integer Argument2);
5857  Real NearestReal(Integer Argument1);
5861  Integer NearestInteger(Real Argument1);
5865  Integer FloorInteger(Real Argument1);
5869  Integer CeilingInteger(Real Argument1);
5873  Real Distance(Vec3 Argument1, Vec3 Argument2);
5877  Real DotProduct(Vec3 Argument1, Vec3 Argument2);
5881  Vec3 CrossProduct(Vec3 Argument1, Vec3 Argument2);
5885  Real Angle(Vec3 Argument1, Vec3 Argument2);
5889  Real OrientedAngle(Vec3 Argument1, Vec3 Argument2);
5893  Real PI();
5897  Real Asin(Real Argument1);
5901  Real Acos(Real Argument1);
5905  Real Pow(Real Argument1, Real Argument2);
5909  Real Ln(Real Argument1);
5913  Real Sqrt(Real Argument1);
5919  Integer Max(Integer _A, Integer _B);
5925  Integer Min(Integer _A, Integer _B);
5931  Integer Clamp(Integer _X, Integer _Min, Integer _Max);
5937  Real Max(Real _A, Real _B);
5943  Real Min(Real _A, Real _B);
5949  Real Clamp(Real _X, Real _Min, Real _Max);
5950 };
5951 
5952 namespace TextLib {
5953 
5961  Real ToReal(Text _Text);
5969  Integer ToInteger(Text _Text);
5977  Vec3 ToColor(Text _Text);
5988  Text SubString(Text _Text, Integer _Start, Integer _Length);
5999  Text SubText(Text _Text, Integer _Start, Integer _Length);
6006  Integer Length(Text _Text);
6013  Text ToText(Integer _Integer);
6020  Text ToText(Real _Real);
6027  Text ToText(Boolean _Boolean);
6034  Text ToText(Int3 _Int3);
6041  Text ToText(Vec3 _Vec3);
6052  Text TimeToText(Integer _Time, Boolean _IncludeCentiSeconds);
6060  Text TimeToText(Integer _Time);
6067  Text ColorToText(Vec3 _Color);
6071  Text FormatInteger(Integer Argument1, Integer Argument2);
6077  Text ToUpperCase(Text _TextToChange);
6083  Text ToLowerCase(Text _TextToChange);
6092  Boolean CompareWithoutFormat(Text _Text1, Text _Text2, Boolean _IsCaseSensitive);
6104  Boolean Find(Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive);
6108  Text Compose(Text Argument1);
6112  Text Compose(Text Argument1, Text Argument2);
6116  Text Compose(Text Argument1, Text Argument2, Text Argument3);
6120  Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4);
6124  Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5);
6128  Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5, Text Argument6);
6132  Text MLEncode(Text Argument1);
6136  Text URLEncode(Text Argument1);
6140  Text StripFormatting(Text Argument1);
6144  Text[Void] Split(Text Argument1, Text Argument2);
6148  Text SmartSplit(Text Argument1, Integer Argument2, Integer Argument3, Integer Argument4);
6152  Text Trim(Text Argument1);
6156  Text ReplaceChars(Text Argument1, Text Argument2, Text Argument3);
6165  Text Replace(Text _Text, Text _ToReplace, Text _Replacement);
6166 };
6167 
6168 namespace MapUnits {
6169 
6173  CardinalDirections GetNextDir(CardinalDirections Argument1);
6177  CardinalDirections GetPreviousDir(CardinalDirections Argument1);
6181  CardinalDirections GetOpposedDir(CardinalDirections Argument1);
6185  CardinalDirections AddDirs(CardinalDirections Argument1, CardinalDirections Argument2);
6189  CardinalDirections SubDirs(CardinalDirections Argument1, CardinalDirections Argument2);
6193  Int3 GetNeighbourCoord(Int3 Argument1, CardinalDirections Argument2);
6197  Int3 GetRotatedOffset(Int3 Argument1, CardinalDirections Argument2);
6201  Int3 GetRotatedOffsetPositive(Int3 Argument1, CardinalDirections Argument2, Int3 Argument3);
6202 };
6203 
6204 namespace AnimLib {
6205 
6211  Real SmoothStep(Real _X);
6217  Real Ease(Text _Function, Real _T, Real _Base, Real _Change, Real _Duration);
6223  Real EaseLinear(Integer _T, Real _Base, Real _Change, Integer _Duration);
6229  Real EaseInQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
6235  Real EaseOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
6241  Real EaseInOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
6247  Real EaseInCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
6253  Real EaseOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
6259  Real EaseInOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
6265  Real EaseInQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
6271  Real EaseOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
6277  Real EaseInOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
6283  Real EaseInQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
6289  Real EaseOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
6295  Real EaseInOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
6301  Real EaseInSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
6307  Real EaseOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
6313  Real EaseInOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
6319  Real EaseInExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
6325  Real EaseOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
6331  Real EaseInOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
6337  Real EaseInCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
6343  Real EaseOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
6349  Real EaseInOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
6355  Real EaseInBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
6361  Real EaseOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
6367  Real EaseInOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
6373  Real EaseInElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
6379  Real EaseOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
6385  Real EaseInOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
6391  Real EaseInElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
6397  Real EaseOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
6403  Real EaseInOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
6409  Real EaseInBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
6415  Real EaseOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
6421  Real EaseInOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
6422 };
6423