GLWPlanView.cpp File Reference

#include <GLW/GLWPlanView.h>
#include <GLW/GLWTranslate.h>
#include <GLEXT/GLState.h>
#include <GLEXT/GLViewPort.h>
#include <image/ImageFactory.h>
#include <tankgraph/TargetRendererImplTank.h>
#include <client/ScorchedClient.h>
#include <client/ClientState.h>
#include <graph/MainCamera.h>
#include <client/ClientLinesHandler.h>
#include <landscape/Landscape.h>
#include <landscape/LandscapePoints.h>
#include <landscapemap/LandscapeMaps.h>
#include <tank/TankContainer.h>
#include <tank/TankState.h>
#include <tank/TankPosition.h>
#include <common/Vector.h>
#include <common/Defines.h>
#include <common/Logger.h>
#include <common/OptionsTransient.h>
#include <common/ToolTipResource.h>
#include <coms/ComsMessageSender.h>
#include <coms/ComsLinesMessage.h>
#include <graph/OptionsDisplay.h>
#include <lang/LangResource.h>
#include <math.h>

Go to the source code of this file.

Functions

 REGISTER_CLASS_SOURCE (GLWPlanView)
static void drawQuad (float x, float y, float w, float h)

Variables

static const float degToRad = 3.14f / 180.0f
static const float maxAnimationTime = 2.0f


Function Documentation

static void drawQuad ( float  x,
float  y,
float  w,
float  h 
) [static]

Definition at line 371 of file GLWPlanView.cpp.

References glTexCoord2f(), and glVertex2f().

Referenced by GLWPlanView::drawBuoys(), and GLWPlanView::drawTanks().

REGISTER_CLASS_SOURCE ( GLWPlanView   ) 


Variable Documentation

const float degToRad = 3.14f / 180.0f [static]

Definition at line 50 of file GLWPlanView.cpp.

Referenced by TankLib::getGunPosition().

const float maxAnimationTime = 2.0f [static]

Definition at line 51 of file GLWPlanView.cpp.

Referenced by GLWPlanView::simulate().


Generated on Mon Feb 16 15:14:56 2009 for Scorched3D by  doxygen 1.5.3