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

Level specific Warp entry structure. Defines preferences of each Warp entry. More...

#include <lvl_filedata.h>

Public Attributes

long ix
 X position of Entrance point.
 
long iy
 Y position of Entrance point.
 
bool isSetIn
 [Editing only, is not saving into file] is entrance point placed to the level
 
long ox
 X position of Exit point.
 
long oy
 Y position of Exit point.
 
bool isSetOut
 [Editing only, is not saving into file] is exit point placed to the level
 
int idirect
 Direction of entrance point: [3] down, [1] up, [2] left, [4] right (not same as exit!)
 
int odirect
 Direction of exit point: [1] down [3] up [4] left [2] right (not same as entrance!)
 
int type
 Warp type: [1] pipe, [2] door, [0] instant.
 
PGESTRING lname
 Target level filename (Exit from this leven and enter to target level)
 
long warpto
 Warp Array-ID in the target level (if 0 - enter into target level at spawn point)
 
bool lvl_i
 Level entrance (this point can be used only as entrance point where player will enter into level)
 
bool lvl_o
 Level exit (entering into this warp will trigger exiting of level)
 
long world_x
 Target World map X coordinate.
 
long world_y
 Target World map Н coordinate.
 
int stars
 Stars required to be allowed for enter into this warp.
 
PGESTRING layer
 Name of a parent layer. Default value is "Default".
 
bool unknown
 [Unused] resrved boolean flag, always false
 
bool novehicles
 
bool allownpc
 Allows player to move through this warp carried NPC's.
 
bool locked
 Player need to carry a key to be allowed to enter into this warp.
 
unsigned int array_id
 Array-ID is an unique key value identificates each unique block object. Re-counts on each file reloading.
 
unsigned int index
 Recent array index where block was saved (used to speed-up settings synchronization)
 

Detailed Description

Level specific Warp entry structure. Defines preferences of each Warp entry.

Member Data Documentation

bool LevelDoor::novehicles

Unmount all vehicles when player tried to enter into this warp (all vehucles are will be returned back on exiting from level)


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