ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::AdSceneGeometry Class Reference

#include <ad_scene_geometry.h>

Inheritance diagram for Wintermute::AdSceneGeometry:
Collaboration diagram for Wintermute::AdSceneGeometry:

List of all members.

Public Member Functions

bool dropWaypoints ()
bool setLightColor (const char *lightName, uint32 color)
uint32 getLightColor (const char *lightName)
Math::Vector3d getLightPos (const char *lightName)
bool enableNode (const char *nodeName, bool enable=true)
bool isNodeEnabled (const char *nodeName)
bool enableLight (const char *lightName, bool enable=true)
bool isLightEnabled (const char *lightName)
bool correctTargetPoint (const Math::Vector3d &source, Math::Vector3d *target)
bool createLights ()
bool enableLights (Math::Vector3d Point, BaseArray< char * > &IgnoreLights)
bool initLoop ()
float getPointsDist (Math::Vector3d p1, Math::Vector3d p2)
void pathFinderStep ()
bool getPath (Math::Vector3d source, Math::Vector3d target, AdPath3D *path, bool rerun=false)
bool convert2Dto3D (int x, int y, Math::Vector3d *pos)
bool convert2Dto3DTolerant (int x, int y, Math::Vector3d *pos)
bool convert3Dto2D (Math::Vector3d *pos, int *x, int *y)
bool directPathExists (Math::Vector3d *p1, Math::Vector3d *p2)
float getHeightAt (Math::Vector3d pos, float Ttlerance=0.0f, bool *intFound=NULL)
bool storeDrawingParams ()
bool render (bool render)
bool renderShadowGeometry ()
Math::Matrix4getViewMatrix ()
bool setActiveCamera (const char *camera, float fov, float nearClipPlane, float farClipPlane)
bool setActiveCamera (int camera, float fow, float nearClipPlane, float farClipPlane)
Camera3DgetActiveCamera ()
bool setActiveLight (char *light)
bool setActiveLight (int light)
void cleanup ()
 AdSceneGeometry (BaseGame *inGame)
virtual ~AdSceneGeometry ()
bool loadFile (const char *filename)

Public Attributes

bool _maxLightsWarning
bool _lastValuesInitialized
Math::Matrix4 _lastWorldMat
Math::Matrix4 _lastViewMat
Math::Matrix4 _lastProjMat
int _lastOffsetX
int _lastOffsetY
Rect32 _drawingViewport
int _lastScrollX
int _lastScrollY
BaseSprite_wptMarker
float _waypointHeight
Math::Matrix4 _viewMatrix
int _activeCamera
int _activeLight
BaseArray< AdWalkplane * > _planes
BaseArray< AdBlock * > _blocks
BaseArray< AdGeneric * > _generics
BaseArray< Camera3D * > _cameras
BaseArray< Light3D * > _lights
BaseArray< AdWaypointGroup3D * > _waypointGroups
uint32 _PFMaxTime

Private Member Functions

AdGeomExtgetGeometryExtension (char *filename)
Math::Vector3d getBlockIntersection (Math::Vector3d *p1, Math::Vector3d *p2)

Private Attributes

bool _PFReady
Math::Vector3d _PFSource
Math::Vector3d _PFTarget
AdPath3D_PFTargetPath
Math::Vector3d _PFAlternateTarget
float _PFAlternateDist
bool _PFRerun
BaseArray< AdPathPoint3D * > _PFPath

Detailed Description

Definition at line 51 of file ad_scene_geometry.h.


Constructor & Destructor Documentation

Wintermute::AdSceneGeometry::AdSceneGeometry ( BaseGame inGame  ) 

Definition at line 61 of file ad_scene_geometry.cpp.

Wintermute::AdSceneGeometry::~AdSceneGeometry (  )  [virtual]

Definition at line 91 of file ad_scene_geometry.cpp.


Member Function Documentation

void Wintermute::AdSceneGeometry::cleanup (  ) 

Reimplemented from Wintermute::BaseObject.

Definition at line 97 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::convert2Dto3D ( int  x,
int  y,
Math::Vector3d pos 
)

Definition at line 642 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::convert2Dto3DTolerant ( int  x,
int  y,
Math::Vector3d pos 
)

Definition at line 558 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::convert3Dto2D ( Math::Vector3d pos,
int *  x,
int *  y 
)

Definition at line 1300 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::correctTargetPoint ( const Math::Vector3d source,
Math::Vector3d target 
)

Definition at line 935 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::createLights (  ) 

Definition at line 822 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::directPathExists ( Math::Vector3d p1,
Math::Vector3d p2 
)

Definition at line 460 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::dropWaypoints (  ) 

Definition at line 278 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::enableLight ( const char *  lightName,
bool  enable = true 
)

Definition at line 1079 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::enableLights ( Math::Vector3d  Point,
BaseArray< char * > &  IgnoreLights 
)

Definition at line 843 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::enableNode ( const char *  nodeName,
bool  enable = true 
)

Definition at line 1028 of file ad_scene_geometry.cpp.

Camera3D * Wintermute::AdSceneGeometry::getActiveCamera (  ) 

Definition at line 322 of file ad_scene_geometry.cpp.

Math::Vector3d Wintermute::AdSceneGeometry::getBlockIntersection ( Math::Vector3d p1,
Math::Vector3d p2 
) [private]

Definition at line 526 of file ad_scene_geometry.cpp.

AdGeomExt * Wintermute::AdSceneGeometry::getGeometryExtension ( char *  filename  )  [private]

Definition at line 145 of file ad_scene_geometry.cpp.

float Wintermute::AdSceneGeometry::getHeightAt ( Math::Vector3d  pos,
float  Ttlerance = 0.0f,
bool *  intFound = NULL 
)

Definition at line 418 of file ad_scene_geometry.cpp.

uint32 Wintermute::AdSceneGeometry::getLightColor ( const char *  lightName  ) 

Definition at line 1121 of file ad_scene_geometry.cpp.

Math::Vector3d Wintermute::AdSceneGeometry::getLightPos ( const char *  lightName  ) 

Definition at line 1131 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::getPath ( Math::Vector3d  source,
Math::Vector3d  target,
AdPath3D path,
bool  rerun = false 
)

Definition at line 678 of file ad_scene_geometry.cpp.

float Wintermute::AdSceneGeometry::getPointsDist ( Math::Vector3d  p1,
Math::Vector3d  p2 
)

Definition at line 802 of file ad_scene_geometry.cpp.

Math::Matrix4 * Wintermute::AdSceneGeometry::getViewMatrix (  ) 

Definition at line 354 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::initLoop (  ) 

Definition at line 812 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::isLightEnabled ( const char *  lightName  ) 

Definition at line 1095 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::isNodeEnabled ( const char *  nodeName  ) 

Definition at line 1057 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::loadFile ( const char *  filename  ) 

Definition at line 162 of file ad_scene_geometry.cpp.

void Wintermute::AdSceneGeometry::pathFinderStep (  ) 

Definition at line 726 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::render ( bool  render  ) 

Definition at line 401 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::renderShadowGeometry (  ) 

Definition at line 412 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::setActiveCamera ( const char *  camera,
float  fov,
float  nearClipPlane,
float  farClipPlane 
)

Definition at line 311 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::setActiveCamera ( int  camera,
float  fow,
float  nearClipPlane,
float  farClipPlane 
)

Definition at line 289 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::setActiveLight ( char *  light  ) 

Definition at line 342 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::setActiveLight ( int  light  ) 

Definition at line 331 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::setLightColor ( const char *  lightName,
uint32  color 
)

Definition at line 1105 of file ad_scene_geometry.cpp.

bool Wintermute::AdSceneGeometry::storeDrawingParams (  ) 

Definition at line 359 of file ad_scene_geometry.cpp.


Member Data Documentation

Definition at line 127 of file ad_scene_geometry.h.

Definition at line 122 of file ad_scene_geometry.h.

Definition at line 128 of file ad_scene_geometry.h.


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


Generated on Sat Sep 26 2020 05:04:11 for ResidualVM by doxygen 1.7.1
curved edge   curved edge