Tramway SDK
Classes | Enumerations | Functions | Variables
tram::Ext::Design Namespace Reference

Classes

class  Breakable
 
class  Button
 
struct  CharacterClass
 
class  DebugShape
 
class  DebugText
 
class  Decoration
 
struct  EntityChildren
 
class  Pickup
 
class  SoundTable
 
class  Train
 
class  TriggerAutosave
 
class  TriggerHurt
 
class  TriggerMultiple
 
class  TriggerOnce
 
class  TriggerPlayerMovement
 
class  TriggerPush
 
class  TriggerRemove
 
class  TriggerTeleport
 
class  Water
 

Enumerations

enum  {
  BUTTON_FIELD_FLAGS , BUTTON_FIELD_MODEL , BUTTON_FIELD_LIGHTMAP , BUTTON_FIELD_ORIGIN ,
  BUTTON_FIELD_DIRECTION , BUTTON_FIELD_SPEED , BUTTON_FIELD_PAUSE , BUTTON_FIELD_DISTANCE ,
  BUTTON_FIELD_SOUND , BUTTON_FIELD_PARENT , BUTTON_FIELD_LAST
}
 
enum  {
  BUTTON_FLAG_ROTARY = 1 , BUTTON_FLAG_MOMENTARY = 2 , BUTTON_FLAG_TOGGLE = 4 , BUTTON_FLAG_LOCKED = 8 ,
  BUTTON_FLAG_PUSHED = 16
}
 
enum  {
  BUTTON_STATE_NADIR_WAITING , BUTTON_STATE_NADIR_READY , BUTTON_STATE_RISING , BUTTON_STATE_ZENITH_WAITING ,
  BUTTON_STATE_ZENITH_READY , BUTTON_STATE_LOWERING
}
 
enum  SoundAction {
  SOUND_OPEN , SOUND_CLOSE , SOUND_LOCKED , SOUND_END_OPEN ,
  SOUND_END_CLOSE , SOUND_WALK_ON , SOUND_JUMP_ON , SOUND_HIT
}
 

Functions

void Init ()
 
void Update ()
 
void AddChild (name_t parent, id_t child)
 
void UpdateHierarchy (id_t parent_id)
 

Variables

uint32_t KITCHENSINK_SYSTEM = -1u
 
Hashmap< EntityChildrenhierarchy_map ("hierarchy_map", 200)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BUTTON_FIELD_FLAGS 
BUTTON_FIELD_MODEL 
BUTTON_FIELD_LIGHTMAP 
BUTTON_FIELD_ORIGIN 
BUTTON_FIELD_DIRECTION 
BUTTON_FIELD_SPEED 
BUTTON_FIELD_PAUSE 
BUTTON_FIELD_DISTANCE 
BUTTON_FIELD_SOUND 
BUTTON_FIELD_PARENT 
BUTTON_FIELD_LAST 

◆ anonymous enum

anonymous enum
Enumerator
BUTTON_FLAG_ROTARY 
BUTTON_FLAG_MOMENTARY 
BUTTON_FLAG_TOGGLE 
BUTTON_FLAG_LOCKED 
BUTTON_FLAG_PUSHED 

◆ anonymous enum

anonymous enum
Enumerator
BUTTON_STATE_NADIR_WAITING 
BUTTON_STATE_NADIR_READY 
BUTTON_STATE_RISING 
BUTTON_STATE_ZENITH_WAITING 
BUTTON_STATE_ZENITH_READY 
BUTTON_STATE_LOWERING 

◆ SoundAction

Enumerator
SOUND_OPEN 
SOUND_CLOSE 
SOUND_LOCKED 
SOUND_END_OPEN 
SOUND_END_CLOSE 
SOUND_WALK_ON 
SOUND_JUMP_ON 
SOUND_HIT 

Function Documentation

◆ AddChild()

void tram::Ext::Design::AddChild ( name_t  parent,
id_t  child 
)

◆ Init()

void tram::Ext::Design::Init ( )

◆ Update()

void tram::Ext::Design::Update ( )

◆ UpdateHierarchy()

void tram::Ext::Design::UpdateHierarchy ( id_t  parent_id)

Variable Documentation

◆ hierarchy_map

Hashmap< EntityChildren > tram::Ext::Design::hierarchy_map("hierarchy_map", 200) ( "hierarchy_map"  ,
200   
)

◆ KITCHENSINK_SYSTEM

uint32_t tram::Ext::Design::KITCHENSINK_SYSTEM = -1u