22 #ifndef WATCHMAKER_LL_MESH_H 23 #define WATCHMAKER_LL_MESH_H 25 #include "watchmaker/t3d.h" 26 #include "watchmaker/globvar.h" 27 #include "watchmaker/work_dirs.h" 31 uint8 t3dClipToSurface(Init &init, t3dV3F *pt);
32 void t3dLightChar(t3dMESH *mesh, t3dV3F *p);
33 void t3dProcessGolfSky(t3dMESH *gs);
34 void HideRoomMeshes(Init &init, t3dBODY *body);
35 void t3dUpdateArrow(t3dMESH *m, t3dF32 len);
36 bool t3dSetSpecialAnimFrame(WGame &game,
const char *name, t3dMESH *mesh, int32 nf);
37 void ChangeMeshFlags(t3dMESH *m, int8 add, uint32 newflags);
38 void UpdateObjMesh(Init &init, int32 in);
39 void UpdateBoundingBox(t3dMESH *mesh);
40 void UpdateCharHead(int32 oc, t3dV3F *dir);
41 void SetMeshMaterialMovieFrame(t3dMESH *m, int8 op, int32 newframe);
42 void ChangeMeshMaterialFlag(t3dMESH *m, int8 add, uint32 newflag);
43 void ChangeHaloesStatus(t3dBODY *b, int8 op);
44 uint8 t3dVectMeshInters(t3dMESH *m, t3dV3F start, t3dV3F end, t3dV3F *inters);
45 void t3dLightRoom(Init &init, t3dBODY *b, t3dV3F *p, t3dF32 NearRange, t3dF32 FarRange, t3dF32 IperRange);
46 void t3dUpdateExplosion(t3dMESH *m, t3dF32
scale);
47 bool t3dMoveAndCheck1stCamera(t3dBODY *rr, t3dCAMERA *cc, t3dV3F *mm);
55 uint32 RemoveFlags = 0;
56 uint32 AddMatFlags = 0;
57 uint32 RemoveMatFlags = 0;
60 int8 HaloesStatus = 0;
66 void configure(
const char *name, int16 com,
void *p);
68 uint16 getBndLevel()
const {
return BndLevel; }
69 int32 getFlags()
const {
return Flags; }
70 int8 getHaloesStatus()
const {
return HaloesStatus; }
78 for (
int i = 0; i < MAX_MODIFIED_MESH; i++) {
82 void addMeshModifier(
const Common::String &name, int16 com,
void *p);
89 #endif // WATCHMAKER_LL_MESH_H Definition: 2d_stuff.h:30
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Definition: t3d_body.h:32
Definition: t3d_mesh.h:30