UI::SpaceGameUI class

User interface for the Space game. The main SPUI is 0x1e453b88.spui

Base classes

class UTFWin::IWinProc
This class is a window procedure, also known as an event/message listener.
class DefaultRefCounted
The default implementation of a reference counted class.
class App::IMessageListener
An interface that can receive messages sent through the app.

Public types

struct TerraformColors
struct TerraformEcosystemSlot

Constructors, destructors, conversion operators

ASSERT_SIZE(TerraformEcosystemSlot, 0x28)

Public functions

void Load()
void SetActivePalette(uint32_t paletteID)

Public variables

int field_10
int field_14
int field_18
LocalizedString mTextPlantScanned
LocalizedString mTextPlantAlreadyScanned
LocalizedString mTextCreatureScanned
LocalizedString mTextCreatureAlreadyScanned
LocalizedString mTextBuildingScanned
LocalizedString mTextBuildingAlreadyScanned
LocalizedString mTextVehicleScanned
LocalizedString mTextVehicleAlreadyScanned
LocalizedString mTextUFOScanned
LocalizedString mTextUFOAlreadyScanned
LocalizedString mTextPlanetSurrendered
LocalizedString mTextPlanetNotSurrendered
LocalizedString mTextTradeRouteProgress
LocalizedString mTextCaptureProgress
LocalizedString mTextRepairTurret
LocalizedString mTextSellTurret
LocalizedString mTextDemolish
LocalizedString mTextSellBuilding
LocalizedString mTextRepairBuilding
LocalizedString mTextRepairSpaceship
LocalizedString mTextBuyBuildings
LocalizedString mTextAccessorizeCitizens
LocalizedString mTextEditSpaceship
LocalizedString mTextSellColony
LocalizedString mTextShow
LocalizedString mTextHide
GlobalUI* mpGlobalUI
The main UI of the space stage. It's 0x1E453B88.spui
int field_228
UILayoutPtr mpSpaceStarRolloverLayout
UILayoutPtr mpSpaceStarTooltipLayout
UILayoutPtr mpSpacePlanetTooltipLayout
cPlayerInventoryPtr mpPlayerInventory
uint32_t mActivePaletteID
vector<uint32_t> mToolPaletteIDs
A list of all available IDs of tool palettes (obtained from the spaceToolPaletteID property).
UILayoutPtr mInventoryItemIcons
0x46FED9C8.spui, a layout that contains all space tools icons
UILayoutPtr mpCaptainDialogLayout
hash_map<uint32_t, SpaceToolPanelUIPtr> mPalettePanels
vector<uint32_t> mFoodwebPaletteIDs
int field_290
SpaceToolPanelUIPtr mpCargoPalettePanel
SpaceToolPanelUIPtr mpCurrentToolPanel
Shown over the spaceship thumbnail.
SpaceToolPanelUIPtr field_29C
hash_map<uint32_t, int> field_2A0
vector<int> field_2C0
hash_map<int, int> field_2D4
uint32_t field_2F4
int field_2F8
ObjectPtr field_2FC
ObjectPtr field_300
ObjectPtr field_304
vector<int> field_308
MinimapPtr mpMinimap
int field_320
LocalizedString mTextSmallPlantSlot
LocalizedString mTextMediumPlantSlot
LocalizedString mTextLargePlantSlot
LocalizedString mTextHerbivoreSlot
LocalizedString mTextCarnivoreOmnivoreSlot
LocalizedString mTextFillPlantsToUnlock
LocalizedString mTextFillRowToUnlock
LocalizedString mTextDominantSpecies
LocalizedString mTextPlanetSpice
LocalizedString mTextUnclaimed
LocalizedString mTextClaimed
LocalizedString mTextTravelCost
LocalizedString mTextTravelDistance
LocalizedString field_428
LocalizedString mTextToolUseCost
LocalizedString mTextFromItemPlanetName
LocalizedString mTextSentient
LocalizedString mTextItemAnimalType
LocalizedString mTextItemPlantType
LocalizedString mTextNotScanned
LocalizedString field_4B4
LocalizedString mTextTerraformLevel
LocalizedString mTextImproveTerraformToUnlock
LocalizedString mTextColonySlot
vector<LocalizedString> field_504
vector<LocalizedString> field_518
float field_52C
vector<TerraformEcosystemSlot> mTerraformEcosystemSlots
The slots shown in the terraform panel (on the minimap) that represents the plants and animals.
TerraformColors mTerraformColors
int field_568
App::MessageListenerData mMessageListenerData
ImagePtr mpFightButtonImage
int field_584
ObjectPtr field_588
ObjectPtr field_58C
ObjectPtr field_590
intrusive_ptr<Object> field_594
IWindowPtr mpSpaceStarRollover
IWindowPtr mpSpaceStarTooltip
ObjectPtr mpSpacePlanetTooltip
CivCommCursorAttachmentPtr mpCivCommCursorAttachment
Controls the mouse rollover that shows the relationships with other empires.
int field_5A8
ObjectPtr field_5AC
ObjectPtr field_5B0
ObjectPtr field_5B4
int field_5B8
int field_5BC
ObjectPtr field_5C0
ObjectPtr field_5C4
int field_5C8
int field_5CC
bool field_5D0
bool field_5D1
bool field_5D2
bool field_5D3
bool field_5D4
bool field_5D5
vector<int> field_5D8
char _padding_5EC
int field_618
ObjectPtr mpFlashWindowManager
TiledScrollPanel field_620
int field_690
ObjectPtr field_694
vector<ObjectPtr> field_698