19 #ifndef OPENXCOM_BASESCAPESTATE_H
20 #define OPENXCOM_BASESCAPESTATE_H
22 #include "../Engine/State.h"
44 Text *_txtFacility, *_txtLocation, *_txtFunds;
46 TextButton *_btnNewBase, *_btnBaseInfo, *_btnSoldiers, *_btnCrafts, *_btnFacilities, *_btnResearch, *_btnManufacture, *_btnTransfer, *_btnPurchase, *_btnSell, *_btnGeoscape;
Container for all the information associated with a given user action, like mouse clicks,...
Definition: Action.h:35
Represents a player base on the globe.
Definition: Base.h:48
Interactive view of a base.
Definition: BaseView.h:41
Basescape screen that shows a base's layout and lets the player manage their bases.
Definition: BasescapeState.h:40
~BasescapeState()
Cleans up the Basescape state.
Definition: BasescapeState.cpp:179
void setBase(Base *base)
Sets a new base to display.
Definition: BasescapeState.cpp:229
void init()
Updates the base stats.
Definition: BasescapeState.cpp:201
void viewLeftClick(Action *action)
Handler for clicking the base view.
Definition: BasescapeState.cpp:368
void handleKeyPress(Action *action)
Handler for pressing a base selection hotkey.
Definition: BasescapeState.cpp:500
void btnCraftsClick(Action *action)
Handler for clicking the Equip Craft button.
Definition: BasescapeState.cpp:296
void btnResearchClick(Action *action)
Handler for clicking the Research button.
Definition: BasescapeState.cpp:314
void btnManufactureClick(Action *action)
Handler for clicking the Manufacture button.
Definition: BasescapeState.cpp:323
void btnPurchaseClick(Action *action)
Handler for clicking the Purchase/Hire button.
Definition: BasescapeState.cpp:332
void btnSellClick(Action *action)
Handler for clicking the Sell/Sack button.
Definition: BasescapeState.cpp:341
BasescapeState(Game *game, Base *base, Globe *globe)
Creates the Basescape state.
Definition: BasescapeState.cpp:64
void btnSoldiersClick(Action *action)
Handler for clicking the Soldiers button.
Definition: BasescapeState.cpp:287
void edtBaseChange(Action *action)
Handler for changing the text on the Name edit.
Definition: BasescapeState.cpp:529
void btnGeoscapeClick(Action *action)
Handler for clicking the Geoscape button.
Definition: BasescapeState.cpp:359
void viewRightClick(Action *action)
Handler for right clicking the base view.
Definition: BasescapeState.cpp:394
void btnNewBaseClick(Action *action)
Handler for clicking the Build New Base button.
Definition: BasescapeState.cpp:267
void btnBaseInfoClick(Action *action)
Handler for clicking the Base Information button.
Definition: BasescapeState.cpp:278
void btnTransferClick(Action *action)
Handler for clicking the Transfer button.
Definition: BasescapeState.cpp:350
void viewMouseOver(Action *action)
Handler for hovering the base view.
Definition: BasescapeState.cpp:451
void btnFacilitiesClick(Action *action)
Handler for clicking the Build Facilities button.
Definition: BasescapeState.cpp:305
void miniClick(Action *action)
Handler for clicking the mini base view.
Definition: BasescapeState.cpp:486
void viewMouseOut(Action *action)
Handler for hovering out of the base view.
Definition: BasescapeState.cpp:477
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:45
Interactive globe view of the world.
Definition: Globe.h:45
Mini view of a base.
Definition: MiniBaseView.h:37
A game state that receives user input and reacts accordingly.
Definition: State.h:45
Coloured button with a text label.
Definition: TextButton.h:41
Editable version of Text.
Definition: TextEdit.h:36
Text string displayed on screen.
Definition: Text.h:42
COPYING:
Definition: BaseInfoState.cpp:41