00001 #ifndef PATHPT_H
00002 #define PATHPT_H
00003
00004 #include "Genesis.h"
00005
00006 #pragma warning( disable : 4068 )
00007
00008 #pragma GE_Type("PathPt.bmp")
00009 typedef struct PathPoint PathPoint;
00010
00011 #pragma GE_Type("PathPt.bmp")
00012 typedef struct PathPoint {
00013
00014 #pragma GE_Published
00015
00016 geVec3d origin;
00017 int PathType;
00018 int ActionType;
00019 float Time;
00020 float Dist;
00021 float VelocityScale;
00022 PathPoint *Next;
00023 geWorld_Model *MoveWithModel;
00024 int Direction;
00025 int ShootTimes;
00026 PathPoint *WatchPoint;
00027
00028 #pragma GE_Private
00029 geVec3d Pos;
00030
00031 #pragma GE_Origin(origin)
00032
00033 #pragma GE_DefaultValue(PathType, "-1")
00034 #pragma GE_DefaultValue(ActionType, "-1")
00035 #pragma GE_DefaultValue(Direction, "1")
00036
00037 #pragma GE_Documentation(Next, "Link to next point")
00038 #pragma GE_Documentation(PathType, "Path Type")
00039 #pragma GE_Documentation(ActionType, "ActionType")
00040 #pragma GE_Documentation(Time, "ActionType Modifier - Only applies to certain actions. If left 0 a default value will be used.")
00041 #pragma GE_Documentation(Dist, "ActionType Modifier - Only applies to certain actions. If left 0 a default value will be used.")
00042 #pragma GE_Documentation(VelocityScale, "ActionType Modifier - Only applies to certain actions. If left 0 a default value will be used.")
00043 #pragma GE_Documentation(MoveWithModel,"Link to model. Entity will move with this model.")
00044 #pragma GE_Documentation(Direction, "Direction from which action is triggered: 1=Forward, -1=Reverse, 0=Both")
00045 } PathPoint;
00046
00047 #pragma warning( default : 4068 )
00048
00049 geBoolean PathPt_Startup(geWorld *World, geVFile *Fs);
00050 geBoolean PathPt_Reset(geWorld *World);
00051 geBoolean PathPt_Frame(geWorld *World, const geXForm3d *ViewPoint, geFloat Time);
00052 geBoolean PathPt_Shutdown(void);
00053
00054 #endif