ManiaScript
Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes | List of all members
CEditorPlugin Struct Reference

#include <big.h>

Inheritance diagram for CEditorPlugin:
CManiaApp CNod CMapType CSmMapType CTmMapType

Public Types

enum  CardinalDirections { North, East, South, West }
 
enum  PlaceMode {
  Unknown, Terraform, Block, Macroblock,
  Skin, CopyPaste, Test, Plugin,
  CustomSelection, OffZone, BlockProperty, Path,
  GhostBlock
}
 
enum  EditMode {
  Unknown, Place, FreeLook, Erase,
  Pick, SelectionAdd, SelectionRemove
}
 
- Public Types inherited from CManiaApp
enum  ELinkType { ExternalBrowser, ManialinkBrowser }
 

Public Member Functions

Void ComputeShadows ()
 
Void Undo ()
 
Void Redo ()
 
Void Quit ()
 
Void Help ()
 
Void Validate ()
 
Void AutoSave ()
 
Void SaveMap (Text FileName, Text Path)
 
Void RemoveAllBlocks ()
 
Void RemoveAllTerrain ()
 
Void RemoveAllOffZone ()
 
Void RemoveAllObjects ()
 
Void RemoveAll ()
 
Void RemoveAllBlocksAndTerrain ()
 
Void ShowCustomSelection ()
 
Void HideCustomSelection ()
 
Void CopyPaste_Copy ()
 
Void CopyPaste_Cut ()
 
Void CopyPaste_Remove ()
 
Void CopyPaste_SelectAll ()
 
Void CopyPaste_ResetSelection ()
 
Void OpenToolsMenu ()
 
Void EditMediatrackIngame ()
 
Boolean CanPlaceBlock (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir, Boolean OnGround, Integer VariantIndex)
 
Boolean PlaceBlock (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir)
 
Boolean CanPlaceBlock_NoDestruction (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir, Boolean OnGround, Integer VariantIndex)
 
Boolean PlaceBlock_NoDestruction (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir)
 
Boolean CanPlaceRoadBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
 
Boolean PlaceRoadBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
 
Boolean CanPlaceTerrainBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
 
Boolean PlaceTerrainBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
 
Boolean PlaceTerrainBlocks_NoDestruction (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
 
Boolean CanPlaceMacroblock (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
 
Boolean PlaceMacroblock (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
 
Boolean CanPlaceMacroblock_NoDestruction (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
 
Boolean PlaceMacroblock_NoDestruction (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
 
CBlock GetBlock (Int3 Coord)
 
Boolean RemoveBlock (Int3 Coord)
 
Boolean RemoveTerrainBlocks (Int3 StartCoord, Int3 EndCoord)
 
Integer GetBlockGroundHeight (CBlockModel BlockModel, Integer CoordX, Integer CoordZ, CardinalDirections Dir)
 
CBlock GetStartLineBlock ()
 
Void CopyPaste_AddOrSubSelection (Int3 StartCoord, Int3 EndCoord)
 
Boolean CopyPaste_Symmetrize ()
 
Void SaveMacroblock (CMacroblockModel MacroblockModel)
 
Integer GetInterfaceNumber (CCollector Collector)
 
Void SetInterfaceNumber (CCollector Collector, Integer NewValue)
 
CMacroblockModel GetMacroblockModelFromName (Text MacroblockModelName)
 
CBlockModel GetTerrainBlockModelFromName (Text TerrainBlockModelName)
 
CBlockModel GetBlockModelFromName (Text BlockModelName)
 
- Public Member Functions inherited from CManiaApp
CUILayer UILayerCreate ()
 
Void UILayerDestroy (CUILayer Layer)
 
Void UILayerDestroyAll ()
 
Void LayerCustomEvent (CUILayer Layer, Text Type, Text[] Data)
 
Void OpenLink (Text Url, ELinkType LinkType)
 

Public Attributes

const CEditorPluginEvent[] PendingEvents
 
const CMap Map
 
PlaceMode PlaceMode
 
EditMode EditMode
 
Boolean UndergroundMode
 
Boolean BlockStockMode
 
Int3 CursorCoord
 
CardinalDirections CursorDir
 
CBlockModel CursorBlockModel
 
CBlockModel CursorTerrainBlockModel
 
CMacroblockModel CursorMacroblockModel
 
Real CameraVAngle
 
Real CameraHAngle
 
Real CameraToTargetDistance
 
Vec3 TargetedPosition
 
Boolean EnableAirMapping
 
Boolean EnableMixMapping
 
const CItemAnchor[] Items
 
const Text[] MediatrackIngameClips
 
const Text[] MediatrackIngameIsScriptClips
 
Integer MediatrackIngameEditedClipIndex
 
const CBlock[] Blocks
 
const CBlockModel[] BlockModels
 
const CBlockModel[] TerrainBlockModels
 
const CMacroblockModel[] MacroblockModels
 
const CAnchorData[] AnchorData
 
Int3[] CustomSelectionCoords
 
Vec3 CustomSelectionRGB
 
Boolean EnableEditorInputsCustomProcessing
 
const Boolean EditorInputIsDown_Menu
 
const Boolean EditorInputIsDown_SwitchToRace
 
const Boolean EditorInputIsDown_CursorUp
 
const Boolean EditorInputIsDown_CursorRight
 
const Boolean EditorInputIsDown_CursorDown
 
const Boolean EditorInputIsDown_CursorLeft
 
const Boolean EditorInputIsDown_CursorRaise
 
const Boolean EditorInputIsDown_CursorLower
 
const Boolean EditorInputIsDown_CursorTurn
 
const Boolean EditorInputIsDown_CursorPick
 
const Boolean EditorInputIsDown_CursorPlace
 
const Boolean EditorInputIsDown_CursorDelete
 
const Boolean EditorInputIsDown_CameraUp
 
const Boolean EditorInputIsDown_CameraRight
 
const Boolean EditorInputIsDown_CameraDown
 
const Boolean EditorInputIsDown_CameraLeft
 
const Boolean EditorInputIsDown_IconUp
 
const Boolean EditorInputIsDown_IconRight
 
const Boolean EditorInputIsDown_IconDown
 
const Boolean EditorInputIsDown_IconLeft
 
const Real CollectionSquareSize
 
const Real CollectionSquareHeight
 
const Integer CollectionGroundY
 
Text ManialinkText
 
const CMlPage ManialinkPage
 
- Public Attributes inherited from CManiaApp
const Integer Now
 
const Boolean IsVisible
 
const CUser LocalUser
 
const CTitle LoadedTitle
 
Boolean EnableMenuNavigationInputs
 
const Real MouseX
 
const Real MouseY
 
const CUILayer[] UILayers
 
const CXmlManager Xml
 
const CHttpManager Http
 
const CAudioManager Audio
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local Persistent

Member Enumeration Documentation

Enumerator
North 
East 
South 
West 
Enumerator
Unknown 
Place 
FreeLook 
Erase 
Pick 
SelectionAdd 
SelectionRemove 
Enumerator
Unknown 
Terraform 
Block 
Macroblock 
Skin 
CopyPaste 
Test 
Plugin 
CustomSelection 
OffZone 
BlockProperty 
Path 
GhostBlock 

Member Function Documentation

Void CEditorPlugin::AutoSave ( )
Boolean CEditorPlugin::CanPlaceBlock ( CBlockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir,
Boolean  OnGround,
Integer  VariantIndex 
)
Boolean CEditorPlugin::CanPlaceBlock_NoDestruction ( CBlockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir,
Boolean  OnGround,
Integer  VariantIndex 
)
Boolean CEditorPlugin::CanPlaceMacroblock ( CMacroblockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir 
)
Boolean CEditorPlugin::CanPlaceMacroblock_NoDestruction ( CMacroblockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir 
)
Boolean CEditorPlugin::CanPlaceRoadBlocks ( CBlockModel  BlockModel,
Int3  StartCoord,
Int3  EndCoord 
)
Boolean CEditorPlugin::CanPlaceTerrainBlocks ( CBlockModel  BlockModel,
Int3  StartCoord,
Int3  EndCoord 
)
Void CEditorPlugin::ComputeShadows ( )
Void CEditorPlugin::CopyPaste_AddOrSubSelection ( Int3  StartCoord,
Int3  EndCoord 
)
Void CEditorPlugin::CopyPaste_Copy ( )
Void CEditorPlugin::CopyPaste_Cut ( )
Void CEditorPlugin::CopyPaste_Remove ( )
Void CEditorPlugin::CopyPaste_ResetSelection ( )
Void CEditorPlugin::CopyPaste_SelectAll ( )
Boolean CEditorPlugin::CopyPaste_Symmetrize ( )
Void CEditorPlugin::EditMediatrackIngame ( )
CBlock CEditorPlugin::GetBlock ( Int3  Coord)
Integer CEditorPlugin::GetBlockGroundHeight ( CBlockModel  BlockModel,
Integer  CoordX,
Integer  CoordZ,
CardinalDirections  Dir 
)
CBlockModel CEditorPlugin::GetBlockModelFromName ( Text  BlockModelName)
Integer CEditorPlugin::GetInterfaceNumber ( CCollector  Collector)
CMacroblockModel CEditorPlugin::GetMacroblockModelFromName ( Text  MacroblockModelName)
CBlock CEditorPlugin::GetStartLineBlock ( )
CBlockModel CEditorPlugin::GetTerrainBlockModelFromName ( Text  TerrainBlockModelName)
Void CEditorPlugin::Help ( )
Void CEditorPlugin::HideCustomSelection ( )
Void CEditorPlugin::OpenToolsMenu ( )
Boolean CEditorPlugin::PlaceBlock ( CBlockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir 
)
Boolean CEditorPlugin::PlaceBlock_NoDestruction ( CBlockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir 
)
Boolean CEditorPlugin::PlaceMacroblock ( CMacroblockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir 
)
Boolean CEditorPlugin::PlaceMacroblock_NoDestruction ( CMacroblockModel  BlockModel,
Int3  Coord,
CardinalDirections  Dir 
)
Boolean CEditorPlugin::PlaceRoadBlocks ( CBlockModel  BlockModel,
Int3  StartCoord,
Int3  EndCoord 
)
Boolean CEditorPlugin::PlaceTerrainBlocks ( CBlockModel  BlockModel,
Int3  StartCoord,
Int3  EndCoord 
)
Boolean CEditorPlugin::PlaceTerrainBlocks_NoDestruction ( CBlockModel  BlockModel,
Int3  StartCoord,
Int3  EndCoord 
)
Void CEditorPlugin::Quit ( )
Void CEditorPlugin::Redo ( )
Void CEditorPlugin::RemoveAll ( )
Void CEditorPlugin::RemoveAllBlocks ( )
Void CEditorPlugin::RemoveAllBlocksAndTerrain ( )
Void CEditorPlugin::RemoveAllObjects ( )
Void CEditorPlugin::RemoveAllOffZone ( )
Void CEditorPlugin::RemoveAllTerrain ( )
Boolean CEditorPlugin::RemoveBlock ( Int3  Coord)
Boolean CEditorPlugin::RemoveTerrainBlocks ( Int3  StartCoord,
Int3  EndCoord 
)
Void CEditorPlugin::SaveMacroblock ( CMacroblockModel  MacroblockModel)
Void CEditorPlugin::SaveMap ( Text  FileName,
Text  Path 
)
Void CEditorPlugin::SetInterfaceNumber ( CCollector  Collector,
Integer  NewValue 
)
Void CEditorPlugin::ShowCustomSelection ( )
Void CEditorPlugin::Undo ( )
Void CEditorPlugin::Validate ( )

Member Data Documentation

const CAnchorData [] CEditorPlugin::AnchorData
const CBlockModel [] CEditorPlugin::BlockModels
const CBlock [] CEditorPlugin::Blocks
Boolean CEditorPlugin::BlockStockMode
Real CEditorPlugin::CameraHAngle
Real CEditorPlugin::CameraToTargetDistance
Real CEditorPlugin::CameraVAngle
const Integer CEditorPlugin::CollectionGroundY
const Real CEditorPlugin::CollectionSquareHeight
const Real CEditorPlugin::CollectionSquareSize
CBlockModel CEditorPlugin::CursorBlockModel
Int3 CEditorPlugin::CursorCoord
CardinalDirections CEditorPlugin::CursorDir
CMacroblockModel CEditorPlugin::CursorMacroblockModel
CBlockModel CEditorPlugin::CursorTerrainBlockModel
Int3 [] CEditorPlugin::CustomSelectionCoords
Vec3 CEditorPlugin::CustomSelectionRGB
const Boolean CEditorPlugin::EditorInputIsDown_CameraDown
const Boolean CEditorPlugin::EditorInputIsDown_CameraLeft
const Boolean CEditorPlugin::EditorInputIsDown_CameraRight
const Boolean CEditorPlugin::EditorInputIsDown_CameraUp
const Boolean CEditorPlugin::EditorInputIsDown_CursorDelete
const Boolean CEditorPlugin::EditorInputIsDown_CursorDown
const Boolean CEditorPlugin::EditorInputIsDown_CursorLeft
const Boolean CEditorPlugin::EditorInputIsDown_CursorLower
const Boolean CEditorPlugin::EditorInputIsDown_CursorPick
const Boolean CEditorPlugin::EditorInputIsDown_CursorPlace
const Boolean CEditorPlugin::EditorInputIsDown_CursorRaise
const Boolean CEditorPlugin::EditorInputIsDown_CursorRight
const Boolean CEditorPlugin::EditorInputIsDown_CursorTurn
const Boolean CEditorPlugin::EditorInputIsDown_CursorUp
const Boolean CEditorPlugin::EditorInputIsDown_IconDown
const Boolean CEditorPlugin::EditorInputIsDown_IconLeft
const Boolean CEditorPlugin::EditorInputIsDown_IconRight
const Boolean CEditorPlugin::EditorInputIsDown_IconUp
const Boolean CEditorPlugin::EditorInputIsDown_Menu
const Boolean CEditorPlugin::EditorInputIsDown_SwitchToRace
Boolean CEditorPlugin::EnableAirMapping
Boolean CEditorPlugin::EnableEditorInputsCustomProcessing
Boolean CEditorPlugin::EnableMixMapping
const CItemAnchor [] CEditorPlugin::Items
const CMacroblockModel [] CEditorPlugin::MacroblockModels
const CMlPage CEditorPlugin::ManialinkPage
Text CEditorPlugin::ManialinkText
const CMap CEditorPlugin::Map
const Text [] CEditorPlugin::MediatrackIngameClips
Integer CEditorPlugin::MediatrackIngameEditedClipIndex
const Text [] CEditorPlugin::MediatrackIngameIsScriptClips
const CEditorPluginEvent [] CEditorPlugin::PendingEvents
Vec3 CEditorPlugin::TargetedPosition
const CBlockModel [] CEditorPlugin::TerrainBlockModels
Boolean CEditorPlugin::UndergroundMode

The documentation for this struct was generated from the following file: