PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Attributes | List of all members
LevelSMBX64Event Struct Reference

Level specific Classic Event Entry structure. More...

#include <lvl_filedata.h>

Public Attributes

PGESTRING name
 Name of event.
 
PGESTRING msg
 Message box to spawn if not empty.
 
long sound_id
 Sound ID to play if not zero.
 
long end_game
 Trigger end of game and go to credits screen if not zero.
 
bool nosmoke
 Don't show smoke effect on show/hide/toggle layer visibility.
 
PGESTRINGList layers_hide
 List of layers to hide.
 
PGESTRINGList layers_show
 List of layers to show.
 
PGESTRINGList layers_toggle
 List of layers to toggle (hide visible and show invisible)
 
PGELIST< LevelEvent_Setssets
 List of section settings per each section to apply.
 
PGESTRING trigger
 Trigger another event if not empty.
 
long trigger_timer
 Trigger another event after time in deci-seconds.
 
bool ctrl_up
 Hold "Up" key controllers.
 
bool ctrl_down
 Hold "Down" key controllers.
 
bool ctrl_left
 Hold "Left" key controllers.
 
bool ctrl_right
 Hold "Right" key controllers.
 
bool ctrl_jump
 Hold "Jump" key controllers.
 
bool ctrl_altjump
 Hold "Alt-jump" key controllers.
 
bool ctrl_run
 Hold "Run" key controllers.
 
bool ctrl_altrun
 Hold "Alt-run" key controllers.
 
bool ctrl_start
 Hold "Start" key controllers.
 
bool ctrl_drop
 Hold "Drop" key controllers.
 
bool autostart
 Trigger event automatically on level startup.
 
PGESTRING movelayer
 Install layer motion settings for layer if is not empt.
 
float layer_speed_x
 Set layer X motion in pixels per 1/65.
 
float layer_speed_y
 Set layer Y motion in pixels per 1/65.
 
float move_camera_x
 Setup autoscrool X speed in pixels per 1/65.
 
float move_camera_y
 Setup autoscrool Y speed in pixels per 1/65.
 
long scroll_section
 Setup autoscrool for section ID (starts from 0)
 
unsigned int array_id
 Array-ID is an unique key value identificates each unique block object. Re-counts on each file reloading.
 

Detailed Description

Level specific Classic Event Entry structure.


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