ff7tk
0.02
Toolkit for making FF7 Tools
|
Info about field locations. More...
#include <FF7Location.h>
Public Member Functions | |
QString | fileName (int i) |
get filename for location (flevel file) More... | |
QString | fileName (int MapID, int LocID) |
get filename for location (flevel file) More... | |
QString | locationString (int i) |
locations String showing menu More... | |
QString | locationString (QString fileName) |
locations String showing menu More... | |
QString | mapID (int i) |
get map id number More... | |
QString | mapID (QString fileName) |
get map id number More... | |
QString | locationID (int i) |
get location id number More... | |
QString | locationID (QString fileName) |
get location id number More... | |
QString | x (int i) |
x coord of save or valid placment More... | |
QString | x (QString fileName) |
x coord of save or valid placment More... | |
QString | y (int i) |
y coord of save or valid placment More... | |
QString | y (QString fileName) |
y coord of save or valid placment More... | |
QString | t (int i) |
triangle of save or valid placment More... | |
QString | t (QString fileName) |
triangle of save or valid placment More... | |
QString | d (int i) |
direction your facing More... | |
QString | d (QString fileName) |
direction your facing More... | |
int | len (void) |
how many items on the location list do we have More... | |
Info about field locations.
Definition at line 36 of file FF7Location.h.
QString FF7Location::d | ( | int | i | ) |
direction your facing
i | Number on the locations list |
Definition at line 27 of file FF7Location.cpp.
References LOCATION::d, and Locations.
Referenced by LocationViewer::setLocation().
QString FF7Location::d | ( | QString | fileName | ) |
direction your facing
fileName | fileName of location |
Definition at line 92 of file FF7Location.cpp.
References LOCATION::d, len(), and Locations.
QString FF7Location::fileName | ( | int | i | ) |
get filename for location (flevel file)
i | Number on the location list |
Definition at line 20 of file FF7Location.cpp.
References LOCATION::filename, and Locations.
Referenced by LocationViewer::chkAutoUpdateChanged(), LocationViewer::init_display(), LocationViewer::init_fieldItems(), LocationViewer::itemChanged(), LocationViewer::sbLocIdChanged(), LocationViewer::sbMapIdChanged(), and LocationViewer::setLocation().
QString FF7Location::fileName | ( | int | MapID, |
int | LocID | ||
) |
get filename for location (flevel file)
MapID | Map Number location is on |
LocID | Location Id for location |
Definition at line 29 of file FF7Location.cpp.
References LOCATION::filename, len(), and Locations.
|
inline |
how many items on the location list do we have
Definition at line 156 of file FF7Location.h.
Referenced by d(), fileName(), LocationViewer::init_display(), locationID(), locationString(), mapID(), LocationViewer::setSelected(), t(), x(), and y().
QString FF7Location::locationID | ( | int | i | ) |
get location id number
i | Number on the locations list |
Definition at line 23 of file FF7Location.cpp.
References LOCATION::loc_id, and Locations.
Referenced by LocationViewer::init_display(), LocationViewer::itemChanged(), and LocationViewer::setLocation().
QString FF7Location::locationID | ( | QString | fileName | ) |
get location id number
fileName | fileName of location |
Definition at line 56 of file FF7Location.cpp.
References len(), LOCATION::loc_id, and Locations.
QString FF7Location::locationString | ( | int | i | ) |
locations String showing menu
i | Number on the locations list |
Definition at line 21 of file FF7Location.cpp.
References Locations.
Referenced by LocationViewer::init_display(), and LocationViewer::setLocation().
QString FF7Location::locationString | ( | QString | fileName | ) |
locations String showing menu
fileName | fileName of location |
Definition at line 38 of file FF7Location.cpp.
References len(), LOCATION::location, and Locations.
QString FF7Location::mapID | ( | int | i | ) |
get map id number
i | Number on the locations list |
Definition at line 22 of file FF7Location.cpp.
References Locations, and LOCATION::map_id.
Referenced by LocationViewer::init_display(), LocationViewer::itemChanged(), and LocationViewer::setLocation().
QString FF7Location::mapID | ( | QString | fileName | ) |
get map id number
fileName | fileName of location |
Definition at line 47 of file FF7Location.cpp.
References len(), Locations, and LOCATION::map_id.
QString FF7Location::t | ( | int | i | ) |
triangle of save or valid placment
i | Number on the locations list |
Definition at line 26 of file FF7Location.cpp.
References Locations, and LOCATION::t.
Referenced by LocationViewer::setLocation().
QString FF7Location::t | ( | QString | fileName | ) |
triangle of save or valid placment
fileName | fileName of location |
Definition at line 83 of file FF7Location.cpp.
References len(), Locations, and LOCATION::t.
QString FF7Location::x | ( | int | i | ) |
x coord of save or valid placment
i | Number on the locations list |
Definition at line 24 of file FF7Location.cpp.
References Locations, and LOCATION::x.
Referenced by LocationViewer::setLocation().
QString FF7Location::x | ( | QString | fileName | ) |
x coord of save or valid placment
fileName | fileName of location |
Definition at line 65 of file FF7Location.cpp.
References len(), Locations, and LOCATION::x.
QString FF7Location::y | ( | int | i | ) |
y coord of save or valid placment
i | Number on the locations list |
Definition at line 25 of file FF7Location.cpp.
References Locations, and LOCATION::y.
Referenced by LocationViewer::setLocation().
QString FF7Location::y | ( | QString | fileName | ) |
y coord of save or valid placment
fileName | fileName of location |
Definition at line 74 of file FF7Location.cpp.
References len(), Locations, and LOCATION::y.