liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RPG::Map Class Reference

#include <rpg_map.h>

+ Collaboration diagram for RPG::Map:

Public Types

enum  ScrollType {
  ScrollType_none = 0,
  ScrollType_vertical = 1,
  ScrollType_horizontal = 2,
  ScrollType_both = 3
}
 
enum  GeneratorMode {
  GeneratorMode_single_passage = 0,
  GeneratorMode_linked_rooms = 1,
  GeneratorMode_maze_passage = 2,
  GeneratorMode_open_room = 3
}
 
enum  GeneratorTiles {
  GeneratorTiles_one = 0,
  GeneratorTiles_two = 1
}
 

Public Member Functions

 Map ()
 

Public Attributes

int ID
 
int chipset_id
 
int width
 
int height
 
int scroll_type
 
bool parallax_flag
 
std::string parallax_name
 
bool parallax_loop_x
 
bool parallax_loop_y
 
bool parallax_auto_loop_x
 
int parallax_sx
 
bool parallax_auto_loop_y
 
int parallax_sy
 
bool generator_flag
 
int generator_mode
 
bool top_level
 
int generator_tiles
 
int generator_width
 
int generator_height
 
bool generator_surround
 
bool generator_upper_wall
 
bool generator_floor_b
 
bool generator_floor_c
 
bool generator_extra_b
 
bool generator_extra_c
 
std::vector< uint32_t > generator_x
 
std::vector< uint32_t > generator_y
 
std::vector< int16_t > generator_tile_ids
 
std::vector< int16_t > lower_layer
 
std::vector< int16_t > upper_layer
 
std::vector< Eventevents
 
int save_count
 

Detailed Description

Definition at line 22 of file rpg_map.h.

Member Enumeration Documentation

Enumerator
GeneratorMode_single_passage 
GeneratorMode_linked_rooms 
GeneratorMode_maze_passage 
GeneratorMode_open_room 

Definition at line 30 of file rpg_map.h.

Enumerator
GeneratorTiles_one 
GeneratorTiles_two 

Definition at line 36 of file rpg_map.h.

Enumerator
ScrollType_none 
ScrollType_vertical 
ScrollType_horizontal 
ScrollType_both 

Definition at line 24 of file rpg_map.h.

Constructor & Destructor Documentation

Member Data Documentation

int RPG::Map::chipset_id

Definition at line 44 of file rpg_map.h.

Referenced by RPG::SaveMapInfo::Fixup(), Map(), and RPG::SaveMapInfo::Setup().

std::vector<Event> RPG::Map::events

Definition at line 73 of file rpg_map.h.

bool RPG::Map::generator_extra_b

Definition at line 66 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::generator_extra_c

Definition at line 67 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::generator_flag

Definition at line 56 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::generator_floor_b

Definition at line 64 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::generator_floor_c

Definition at line 65 of file rpg_map.h.

Referenced by Map().

int RPG::Map::generator_height

Definition at line 61 of file rpg_map.h.

Referenced by Map().

int RPG::Map::generator_mode

Definition at line 57 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::generator_surround

Definition at line 62 of file rpg_map.h.

Referenced by Map().

std::vector<int16_t> RPG::Map::generator_tile_ids

Definition at line 70 of file rpg_map.h.

int RPG::Map::generator_tiles

Definition at line 59 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::generator_upper_wall

Definition at line 63 of file rpg_map.h.

Referenced by Map().

int RPG::Map::generator_width

Definition at line 60 of file rpg_map.h.

Referenced by Map().

std::vector<uint32_t> RPG::Map::generator_x

Definition at line 68 of file rpg_map.h.

std::vector<uint32_t> RPG::Map::generator_y

Definition at line 69 of file rpg_map.h.

int RPG::Map::height

Definition at line 46 of file rpg_map.h.

Referenced by Map().

int RPG::Map::ID

Definition at line 43 of file rpg_map.h.

Referenced by Map().

std::vector<int16_t> RPG::Map::lower_layer

Definition at line 71 of file rpg_map.h.

bool RPG::Map::parallax_auto_loop_x

Definition at line 52 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

bool RPG::Map::parallax_auto_loop_y

Definition at line 54 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

bool RPG::Map::parallax_flag

Definition at line 48 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::parallax_loop_x

Definition at line 50 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

bool RPG::Map::parallax_loop_y

Definition at line 51 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

std::string RPG::Map::parallax_name

Definition at line 49 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

int RPG::Map::parallax_sx

Definition at line 53 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

int RPG::Map::parallax_sy

Definition at line 55 of file rpg_map.h.

Referenced by Map(), and RPG::SaveMapInfo::Setup().

int RPG::Map::save_count

Definition at line 74 of file rpg_map.h.

Referenced by Map().

int RPG::Map::scroll_type

Definition at line 47 of file rpg_map.h.

Referenced by Map().

bool RPG::Map::top_level

Definition at line 58 of file rpg_map.h.

Referenced by Map().

std::vector<int16_t> RPG::Map::upper_layer

Definition at line 72 of file rpg_map.h.

int RPG::Map::width

Definition at line 45 of file rpg_map.h.

Referenced by Map().


The documentation for this class was generated from the following files: