Advanced Strategic Command
Public Types | Public Member Functions | List of all members
MapDisplayInterface Class Referenceabstract

#include <mapdisplayinterface.h>

Inheritance diagram for MapDisplayInterface:
Inheritance graph
[legend]

Public Types

typedef Loki::Functor< void,
LOKI_TYPELIST_1(int) > 
SoundStartCallback
 

Public Member Functions

virtual int displayMovingUnit (const MapCoordinate3D &start, const MapCoordinate3D &dest, Vehicle *vehicle, int fieldnum, int totalmove, SoundStartCallback startSound, int duration)=0
 
virtual void displayMap (void)=0
 
virtual void displayMap (Vehicle *additionalVehicle)=0
 
virtual void displayPosition (int x, int y)=0
 
void displayPosition (const MapCoordinate &pos)
 
virtual void resetMovement (void)=0
 
virtual void startAction (void)=0
 
virtual void stopAction (void)=0
 
virtual void cursor_goto (const MapCoordinate &pos)=0
 
virtual void displayActionCursor (int x1, int y1, int x2, int y2)=0
 
virtual void displayActionCursor (const MapCoordinate &pos1, const MapCoordinate &pos2)
 
virtual void removeActionCursor (void)=0
 
virtual void updateDashboard ()=0
 
virtual void repaintDisplay ()=0
 
virtual void setTempView (bool view)=0
 
virtual void showBattle (tfight &battle)=0
 
virtual void playPositionalSound (const MapCoordinate &pos, Sound *snd)=0
 
virtual int getUnitMovementDuration () const =0
 
virtual ~MapDisplayInterface ()
 

Detailed Description

Definition at line 24 of file mapdisplayinterface.h.

Member Typedef Documentation

typedef Loki::Functor<void, LOKI_TYPELIST_1(int) > MapDisplayInterface::SoundStartCallback

Definition at line 26 of file mapdisplayinterface.h.

Constructor & Destructor Documentation

virtual MapDisplayInterface::~MapDisplayInterface ( )
inlinevirtual

Definition at line 45 of file mapdisplayinterface.h.

Member Function Documentation

virtual void MapDisplayInterface::cursor_goto ( const MapCoordinate pos)
pure virtual
virtual void MapDisplayInterface::displayActionCursor ( int  x1,
int  y1,
int  x2,
int  y2 
)
pure virtual
virtual void MapDisplayInterface::displayActionCursor ( const MapCoordinate pos1,
const MapCoordinate pos2 
)
inlinevirtual

Definition at line 37 of file mapdisplayinterface.h.

References displayActionCursor(), MapCoordinate::x, and MapCoordinate::y.

Referenced by displayActionCursor().

virtual void MapDisplayInterface::displayMap ( void  )
pure virtual
virtual void MapDisplayInterface::displayMap ( Vehicle additionalVehicle)
pure virtual

Implemented in PG_MapDisplay, and ReplayMapDisplay.

virtual int MapDisplayInterface::displayMovingUnit ( const MapCoordinate3D start,
const MapCoordinate3D dest,
Vehicle vehicle,
int  fieldnum,
int  totalmove,
SoundStartCallback  startSound,
int  duration 
)
pure virtual
virtual void MapDisplayInterface::displayPosition ( int  x,
int  y 
)
pure virtual
void MapDisplayInterface::displayPosition ( const MapCoordinate pos)
inline

Definition at line 31 of file mapdisplayinterface.h.

References displayPosition(), MapCoordinate::x, and MapCoordinate::y.

Referenced by displayPosition().

virtual int MapDisplayInterface::getUnitMovementDuration ( ) const
pure virtual

Implemented in PG_MapDisplay, and ReplayMapDisplay.

Referenced by MoveUnit::runAction().

virtual void MapDisplayInterface::playPositionalSound ( const MapCoordinate pos,
Sound snd 
)
pure virtual
virtual void MapDisplayInterface::removeActionCursor ( void  )
pure virtual
virtual void MapDisplayInterface::repaintDisplay ( )
pure virtual
virtual void MapDisplayInterface::resetMovement ( void  )
pure virtual
virtual void MapDisplayInterface::setTempView ( bool  view)
pure virtual
virtual void MapDisplayInterface::showBattle ( tfight battle)
pure virtual
virtual void MapDisplayInterface::startAction ( void  )
pure virtual
virtual void MapDisplayInterface::stopAction ( void  )
pure virtual
virtual void MapDisplayInterface::updateDashboard ( )
pure virtual

The documentation for this class was generated from the following file: