
Public Member Functions | |
| PG_MapDisplay (MapDisplayPG *mapDisplayWidget_) | |
| int | displayMovingUnit (const MapCoordinate3D &start, const MapCoordinate3D &dest, Vehicle *vehicle, int fieldnum, int totalmove, SoundStartCallback soundStart, int duration) |
| void | deleteVehicle (Vehicle *vehicle) |
| void | displayMap (void) |
| void | displayMap (Vehicle *vehicle) |
| void | displayPosition (int x, int y) |
| void | resetMovement (void) |
| void | startAction (void) |
| void | stopAction (void) |
| void | cursor_goto (const MapCoordinate &pos) |
| void | displayActionCursor (int x1, int y1, int x2, int y2) |
| void | removeActionCursor (void) |
| void | updateDashboard () |
| void | repaintDisplay () |
| void | setTempView (bool view) |
| void | showBattle (tfight &battle) |
| void | playPositionalSound (const MapCoordinate &pos, Sound *snd) |
| int | getUnitMovementDuration () const |
Definition at line 53 of file pg_mapdisplay.cpp.
| PG_MapDisplay::PG_MapDisplay | ( | MapDisplayPG * | mapDisplayWidget_ | ) | [inline] |
Definition at line 56 of file pg_mapdisplay.cpp.
| int PG_MapDisplay::displayMovingUnit | ( | const MapCoordinate3D & | start, | |
| const MapCoordinate3D & | dest, | |||
| Vehicle * | vehicle, | |||
| int | fieldnum, | |||
| int | totalmove, | |||
| SoundStartCallback | soundStart, | |||
| int | duration | |||
| ) |
Definition at line 81 of file pg_mapdisplay.cpp.
References actmap, GameMap::actplayer, chhochfliegend, chschwimmend, Player::diplomacy, MapDisplayPG::displayUnitMovement(), fieldVisibility(), GameMap::getField(), MapCoordinate3D::getNumericalHeight(), ContainerBase::getOwner(), GameMap::getPlayerView(), Vehicle::height, GameMap::player, MapCoordinate3D::setNumericalHeight(), DiplomaticStateVector::sharesView(), visible_all, and visible_now.
| void PG_MapDisplay::deleteVehicle | ( | Vehicle * | vehicle | ) | [inline] |
Definition at line 59 of file pg_mapdisplay.cpp.
| void PG_MapDisplay::displayMap | ( | void | ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 140 of file pg_mapdisplay.cpp.
References repaintMap.
| void PG_MapDisplay::displayMap | ( | Vehicle * | vehicle | ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 151 of file pg_mapdisplay.cpp.
References MapDisplayPG::registerAdditionalUnit(), and repaintMap.
| void PG_MapDisplay::displayPosition | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 159 of file pg_mapdisplay.cpp.
References MapDisplayPG::centerOnField(), and MapDisplayPG::fieldInView().
| void PG_MapDisplay::resetMovement | ( | void | ) | [inline, virtual] |
| void PG_MapDisplay::startAction | ( | void | ) | [virtual] |
| void PG_MapDisplay::stopAction | ( | void | ) | [virtual] |
| void PG_MapDisplay::cursor_goto | ( | const MapCoordinate & | pos | ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 145 of file pg_mapdisplay.cpp.
References MapDisplayPG::cursor, and MapDisplayPG::Cursor::goTo().
| void PG_MapDisplay::displayActionCursor | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2 | |||
| ) | [inline, virtual] |
| void PG_MapDisplay::removeActionCursor | ( | void | ) | [inline, virtual] |
Implements MapDisplayInterface.
Definition at line 68 of file pg_mapdisplay.cpp.
References MapDisplayPG::cursor, and MapDisplayPG::Cursor::invisible.
| void PG_MapDisplay::updateDashboard | ( | ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 176 of file pg_mapdisplay.cpp.
References updateFieldInfo.
| void PG_MapDisplay::repaintDisplay | ( | ) | [virtual] |
| void PG_MapDisplay::setTempView | ( | bool | view | ) | [inline, virtual] |
Implements MapDisplayInterface.
Definition at line 73 of file pg_mapdisplay.cpp.
References tempsvisible.
| void PG_MapDisplay::showBattle | ( | tfight & | battle | ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 134 of file pg_mapdisplay.cpp.
References actmap, and showAttackAnimation().
| void PG_MapDisplay::playPositionalSound | ( | const MapCoordinate & | pos, | |
| Sound * | snd | |||
| ) | [virtual] |
Implements MapDisplayInterface.
Definition at line 186 of file pg_mapdisplay.cpp.
References Sound::play().
| int PG_MapDisplay::getUnitMovementDuration | ( | ) | const [inline, virtual] |
Implements MapDisplayInterface.
Definition at line 76 of file pg_mapdisplay.cpp.
References CGameOptions::Instance(), and CGameOptions::movespeed.
1.5.1