mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-28 11:36:26 -05:00
Dynamically set event labels
This commit is contained in:
15
map.h
15
map.h
@@ -129,12 +129,16 @@ public:
|
||||
public:
|
||||
void setName(QString mapName);
|
||||
static QString mapConstantFromName(QString mapName);
|
||||
static QString objectEventsLabelFromName(QString mapName);
|
||||
static QString warpEventsLabelFromName(QString mapName);
|
||||
static QString coordEventsLabelFromName(QString mapName);
|
||||
static QString bgEventsLabelFromName(QString mapName);
|
||||
int getWidth();
|
||||
int getHeight();
|
||||
Tileset* getBlockTileset(int);
|
||||
int getBlockIndex(int layout_id);
|
||||
int getSelectedBlockIndex(int layout_id);
|
||||
int getDisplayedBlockIndex(int layout_id);
|
||||
int getBlockIndex(int);
|
||||
int getSelectedBlockIndex(int);
|
||||
int getDisplayedBlockIndex(int);
|
||||
Metatile* getMetatile(int);
|
||||
QImage getMetatileImage(int);
|
||||
QImage getMetatileTile(int);
|
||||
@@ -188,11 +192,6 @@ public:
|
||||
void redo();
|
||||
void commit();
|
||||
|
||||
QString object_events_label;
|
||||
QString warps_label;
|
||||
QString coord_events_label;
|
||||
QString bg_events_label;
|
||||
|
||||
QList<Event*> getAllEvents();
|
||||
void removeEvent(Event *event);
|
||||
void addEvent(Event *event);
|
||||
|
||||
Reference in New Issue
Block a user