28 #ifndef WINTERMUTE_AD_SCENE_GEOMETRY_H 29 #define WINTERMUTE_AD_SCENE_GEOMETRY_H 31 #include "engines/wintermute/base/base_object.h" 43 class AdWaypointGroup3D;
49 bool _maxLightsWarning;
51 bool setLightColor(
const char *lightName, uint32 color);
52 uint32 getLightColor(
const char *lightName);
53 DXVector3 getLightPos(
const char *lightName);
54 bool enableNode(
const char *nodeName,
bool enable =
true);
55 bool isNodeEnabled(
const char *nodeName);
56 bool enableLight(
const char *lightName,
bool enable =
true);
57 bool isLightEnabled(
const char *lightName);
61 bool _lastValuesInitialized;
73 static int compareLights(
const void *obj1,
const void *obj2);
77 void pathFinderStep();
79 bool convert2Dto3D(
int x,
int y,
DXVector3 *pos);
80 bool convert2Dto3DTolerant(
int x,
int y,
DXVector3 *pos);
81 bool convert3Dto2D(
DXVector3 *pos, int32 *x, int32 *y);
83 float _waypointHeight;
85 float getHeightAt(
DXVector3 pos,
float Ttlerance = 0.0f,
bool *intFound = NULL);
87 bool storeDrawingParams();
88 bool render(
bool render);
89 bool renderShadowGeometry();
93 bool setActiveCamera(
const char *camera,
float fov,
float nearClipPlane,
float farClipPlane);
94 bool setActiveCamera(
int camera,
float fow,
float nearClipPlane,
float farClipPlane);
100 bool setActiveLight(
char *light);
101 bool setActiveLight(int32 light);
107 bool loadFile(
const char *filename);
117 AdGeomExt *getGeometryExtension(
char *filename);
124 float _PFAlternateDist;
Definition: base_game.h:75
Definition: ad_path3d.h:37
Definition: display_client.h:58
Definition: ad_geom_ext.h:38
Definition: ad_scene_geometry.h:47
Definition: coll_templ.h:347
Definition: base_sprite.h:40
Definition: 3dcamera.h:38
Definition: coll_templ.h:373
Definition: base_object.h:49
Definition: achievements_tables.h:27