◆ compareLocation()
static bool Titanic::CRoomFlags::compareLocation |
( |
uint |
flags1, |
|
|
uint |
flags2 |
|
) |
| |
|
static |
Compares the current flags against the specified flags for a matching elevator, floor, and room
◆ compareClassElevator()
static bool Titanic::CRoomFlags::compareClassElevator |
( |
uint |
flags1, |
|
|
uint |
flags2 |
|
) |
| |
|
static |
Compares two room flags together
◆ isTitania()
static bool Titanic::CRoomFlags::isTitania |
( |
uint |
flags1, |
|
|
uint |
flags2 |
|
) |
| |
|
static |
Returns true if the current flags is for Titania's room
◆ set()
void Titanic::CRoomFlags::set |
( |
uint |
data | ) |
|
|
inline |
◆ get()
uint Titanic::CRoomFlags::get |
( |
| ) |
const |
|
inline |
◆ getSpecialRoomFlags()
static uint Titanic::CRoomFlags::getSpecialRoomFlags |
( |
const CString & |
roomName | ) |
|
|
static |
Gets the special flags for a transport or succubus room
◆ isSuccUBusRoomFlags()
bool Titanic::CRoomFlags::isSuccUBusRoomFlags |
( |
| ) |
const |
Returns true if the current flags are in the succubus list
◆ getRoomDesc()
CString Titanic::CRoomFlags::getRoomDesc |
( |
| ) |
const |
Get a description for the room
◆ getElevatorBits()
uint Titanic::CRoomFlags::getElevatorBits |
( |
| ) |
const |
Get the bits for the elevator number
◆ setElevatorNum()
void Titanic::CRoomFlags::setElevatorNum |
( |
uint |
val | ) |
|
|
inline |
◆ getElevatorNum()
uint Titanic::CRoomFlags::getElevatorNum |
( |
| ) |
const |
|
inline |
◆ getPassengerClassBits()
uint Titanic::CRoomFlags::getPassengerClassBits |
( |
| ) |
const |
Gets the bits for the passenger class
◆ setPassengerClassBits()
void Titanic::CRoomFlags::setPassengerClassBits |
( |
uint |
val | ) |
|
Set the bits for the passenger class
◆ getPassengerClassNum()
PassengerClass Titanic::CRoomFlags::getPassengerClassNum |
( |
| ) |
const |
|
inline |
Gets the passenger class number
◆ getPassengerClassDesc()
CString Titanic::CRoomFlags::getPassengerClassDesc |
( |
| ) |
const |
Get a description for the passenger class
◆ getFloorBits()
uint Titanic::CRoomFlags::getFloorBits |
( |
| ) |
const |
Gets the bits for the floor number
◆ setFloorNum()
void Titanic::CRoomFlags::setFloorNum |
( |
uint |
floorNum | ) |
|
◆ getFloorNum()
uint Titanic::CRoomFlags::getFloorNum |
( |
| ) |
const |
◆ setRoomBits()
void Titanic::CRoomFlags::setRoomBits |
( |
uint |
roomBits | ) |
|
Sets the bits for the room number
◆ getRoomBits()
uint Titanic::CRoomFlags::getRoomBits |
( |
| ) |
const |
Gets the bits for the room number
◆ getRoomNum()
uint Titanic::CRoomFlags::getRoomNum |
( |
| ) |
const |
|
inline |
◆ getElevatorDesc()
CString Titanic::CRoomFlags::getElevatorDesc |
( |
| ) |
const |
Get a description for the elevator number
◆ getFloorDesc()
CString Titanic::CRoomFlags::getFloorDesc |
( |
| ) |
const |
Get a description for the floor number
◆ getRoomNumDesc()
CString Titanic::CRoomFlags::getRoomNumDesc |
( |
| ) |
const |
Gets a string for the room number
◆ changeClass()
void Titanic::CRoomFlags::changeClass |
( |
PassengerClass |
newClassNum | ) |
|
Change the passenger class
◆ setRandomLocation()
void Titanic::CRoomFlags::setRandomLocation |
( |
PassengerClass |
classNum, |
|
|
bool |
flag |
|
) |
| |
Sets a random destination in the flags
◆ getSuccUBusClass()
PassengerClass Titanic::CRoomFlags::getSuccUBusClass |
( |
const CString & |
roomName | ) |
const |
Gets the passenger class for a succubus associated with a given room
◆ getSuccUBusRoomName()
CString Titanic::CRoomFlags::getSuccUBusRoomName |
( |
| ) |
const |
Gets the succubus room name associated with the current room flags
◆ whatPassengerClass()
static PassengerClass Titanic::CRoomFlags::whatPassengerClass |
( |
int |
floorNum | ) |
|
|
static |
Returns what passenger class a particular floor number belongs to
◆ isSuccUBusDest()
bool Titanic::CRoomFlags::isSuccUBusDest |
( |
| ) |
const |
|
inline |
Returns true if it's a location with a SuccUBus terminal
◆ isFirstClassSuite()
bool Titanic::CRoomFlags::isFirstClassSuite |
( |
| ) |
const |
|
inline |
Returns true if the player is in their 1st class stateroom
The documentation for this class was generated from the following file: