20 #include "../Engine/InteractiveSurface.h" 28 class SavedBattleGame;
42 bool _isMouseScrolling;
43 bool _isMouseScrolled;
44 int _xBeforeMouseScrolling, _yBeforeMouseScrolling;
45 int _mouseScrollX, _mouseScrollY;
46 Position _posBeforeMouseScrolling, _cursorPosition;
47 Uint32 _mouseScrollingStartTime;
48 int _totalMouseMoveX, _totalMouseMoveY;
49 bool _mouseMovedOverThreshold;
69 void stopScrolling(
Action *action);
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:32
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Surface that the user can interact with.
Definition: InteractiveSurface.h:37
Class handling camera movement, either by mouse or by events on the battlescape.
Definition: Camera.h:33
void animate()
Updates the minimap animation.
Definition: MiniMapView.cpp:399
int down()
Changes the displayed minimap level.
Definition: MiniMapView.cpp:174
Container of a set of surfaces.
Definition: SurfaceSet.h:35
void draw()
Draws the minimap.
Definition: MiniMapView.cpp:60
int up()
Changes the displayed minimap level.
Definition: MiniMapView.cpp:163
MiniMapView is the class used to display the map in the MiniMapState.
Definition: MiniMapView.h:34
MiniMapView(int w, int h, int x, int y, Game *game, Camera *camera, SavedBattleGame *battleGame)
Creates the MiniMapView.
Definition: MiniMapView.cpp:52
The battlescape data that gets written to disk when the game is saved.
Definition: SavedBattleGame.h:47
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:41
Easy handling of X-Y-Z coordinates.
Definition: Position.h:28
Definition: BaseInfoState.cpp:40