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