19 #ifndef OPENXCOM_MANAGEALIENCONTAINMENTSTATE_H
20 #define OPENXCOM_MANAGEALIENCONTAINMENTSTATE_H
22 #include "../Engine/State.h"
23 #include "../Menu/OptionsBaseState.h"
45 OptionsOrigin _origin;
48 Text *_txtTitle, *_txtUsed, *_txtAvailable, *_txtItem, *_txtLiveAliens, *_txtDeadAliens;
50 Timer *_timerInc, *_timerDec;
51 std::vector<int> _qtys;
52 std::vector<std::string> _aliens;
54 int _aliensSold, _researchedAliens;
56 Uint8 _color, _color2;
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
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:45
ManageAlienContainment screen that lets the player manage alien numbers in a particular base.
Definition: ManageAlienContainmentState.h:42
void lstItemsRightArrowClick(Action *action)
Handler for clicking a Decrease arrow in the list.
Definition: ManageAlienContainmentState.cpp:285
void increase()
Increases the quantity of an alien by one.
Definition: ManageAlienContainmentState.cpp:375
ManageAlienContainmentState(Game *game, Base *base, OptionsOrigin origin)
Creates the ManageAlienContainment state.
Definition: ManageAlienContainmentState.cpp:54
void updateStrings()
Updates the quantity-strings of the selected alien.
Definition: ManageAlienContainmentState.cpp:423
void lstItemsLeftArrowClick(Action *action)
Handler for clicking an Increase arrow in the list.
Definition: ManageAlienContainmentState.cpp:323
void lstItemsMousePress(Action *action)
Handler for pressing-down a mouse-button in the list.
Definition: ManageAlienContainmentState.cpp:338
void decreaseByValue(int change)
Decreases the quantity of an alien by the given value.
Definition: ManageAlienContainmentState.cpp:411
void lstItemsRightArrowPress(Action *action)
Handler for pressing a Decrease arrow in the list.
Definition: ManageAlienContainmentState.cpp:262
void decrease()
Decreases the quantity of an alien by one.
Definition: ManageAlienContainmentState.cpp:400
void lstItemsRightArrowRelease(Action *action)
Handler for releasing a Decrease arrow in the list.
Definition: ManageAlienContainmentState.cpp:272
void think()
Runs the timers.
Definition: ManageAlienContainmentState.cpp:199
void lstItemsLeftArrowPress(Action *action)
Handler for pressing an Increase arrow in the list.
Definition: ManageAlienContainmentState.cpp:300
void lstItemsLeftArrowRelease(Action *action)
Handler for releasing an Increase arrow in the list.
Definition: ManageAlienContainmentState.cpp:310
void increaseByValue(int change)
Increases the quantity of an alien by the given value.
Definition: ManageAlienContainmentState.cpp:386
void btnOkClick(Action *action)
Handler for clicking the OK button.
Definition: ManageAlienContainmentState.cpp:211
~ManageAlienContainmentState()
Cleans up the ManageAlienContainment state.
Definition: ManageAlienContainmentState.cpp:190
void btnCancelClick(Action *action)
Handler for clicking the Cancel button.
Definition: ManageAlienContainmentState.cpp:253
A game state that receives user input and reacts accordingly.
Definition: State.h:45
Coloured button with a text label.
Definition: TextButton.h:41
Text string displayed on screen.
Definition: Text.h:42
List of Text's split into columns.
Definition: TextList.h:43
Timer used to run code in fixed intervals.
Definition: Timer.h:38
Box with a coloured border and custom background.
Definition: Window.h:43
COPYING:
Definition: BaseInfoState.cpp:41