mapdisplay.cpp File Reference

everything for displaying the map on the screen More...

#include <cmath>
#include <limits>
#include <sstream>
#include "pgeventsupplier.h"
#include "global.h"
#include "typen.h"
#include "mapdisplay.h"
#include "vehicletype.h"
#include "buildingtype.h"
#include "spfst.h"
#include "dialog.h"
#include "loaders.h"
#include "gameoptions.h"
#include "loadbi3.h"
#include "mapalgorithms.h"
#include "graphicset.h"
#include "graphics/blitter.h"
#include "graphics/drawing.h"
#include "loadpcx.h"
#include "iconrepository.h"
#include "mainscreenwidget.h"
#include "sdl/sound.h"
#include "spfst-legacy.h"
#include "dialogs/attackpanel.h"

Include dependency graph for mapdisplay.cpp:

Go to the source code of this file.

Classes

class  ContainerInfoLayer
class  ResourceGraphLayer
class  PipeLayer
class  ReactionFireLayer
class  UnitInfoLayer
class  UnitTrainingLayer
class  WeaponRange
class  PixSel< pixelSize >
class  SourcePixelSelector_DirectSubRectangle< pixelsize >
class  MovePixSel< pixelSize >

Functions

void benchMapDisplay ()
void filterQueuedZoomEvents ()
bool ccompare (const MapCoordinate &a, const MapCoordinate &b)

Variables

bool tempsvisible = true
SigC::Signal0< void > lockMapdisplay
SigC::Signal0< void > unlockMapdisplay
MapDisplayPGtheGlobalMapDisplay = NULL
int lockdisplaymap = 0


Detailed Description

everything for displaying the map on the screen

Definition in file mapdisplay.cpp.


Function Documentation

void benchMapDisplay (  ) 

Definition at line 575 of file mapdisplay.cpp.

bool ccompare ( const MapCoordinate a,
const MapCoordinate b 
)

Definition at line 1355 of file mapdisplay.cpp.

References MapCoordinate::x, and MapCoordinate::y.

Referenced by MapDisplayPG::displayUnitMovement().

void filterQueuedZoomEvents (  ) 

Definition at line 985 of file mapdisplay.cpp.

References CGameOptions::Instance(), CGameOptions::mouse, CGameOptions::Mouse::zoominbutton, and CGameOptions::Mouse::zoomoutbutton.

Referenced by MapDisplayPG::eventMouseButtonDown().


Variable Documentation

int lockdisplaymap = 0

Definition at line 1809 of file mapdisplay.cpp.

SigC::Signal0<void> lockMapdisplay

Definition at line 67 of file mapdisplay.cpp.

Referenced by OverviewMapPanel::OverviewMapPanel().

bool tempsvisible = true

Definition at line 64 of file mapdisplay.cpp.

Referenced by MapRenderer::paintSingleField(), and PG_MapDisplay::setTempView().

MapDisplayPG* theGlobalMapDisplay = NULL

Definition at line 596 of file mapdisplay.cpp.

Referenced by getDefaultMapDisplay(), and MapDisplayPG::MapDisplayPG().

SigC::Signal0<void> unlockMapdisplay

Definition at line 68 of file mapdisplay.cpp.

Referenced by OverviewMapPanel::OverviewMapPanel(), and MapDisplayPG::LockDisplay::~LockDisplay().


Generated on Mon May 21 01:37:58 2012 for Advanced Strategic Command by  doxygen 1.5.1