📄 train.h
字号:
/******************************************************************************* train.h -- ** Graphics header file for the OpenGVS Harbor Maritime Demo*******************************************************************************/#ifndef TRAIN_H#define TRAIN_H#include <gv_types.h>#include <gv_cam.h>#include <gv_chn.h>#include <gv_fbf.h>#include <gv_geo.h>#include <gv_obj.h>#include <gv_scn.h>#include <gvu_path.h>#include <tgifts.h>#ifdef __cplusplusextern "C" {#endif#define NUM_VEHICLES 3#define BASE_PLATFORM 0#define DESIGN_EYE 1#define HELMET 2typedef enum { SEASON_SUMMER, SEASON_AUTUMN, SEASON_WINTER} Season;/**************************************************** Globals****************************************************/extern Season season;extern GV_Fbf fbf[TMAX_CHANNELS];extern G_Boolean pcf_autoplay;extern G_Boolean pcf_cursor;extern G_Boolean pcf_detail_texture;extern G_Boolean pcf_gfx;extern G_Boolean pcf_realtime;extern G_Boolean pcf_pause;extern G_Boolean pcf_record;extern G_Name pcf_train_file;extern GVU_Path path_owntrain;extern GVU_Path path_other[NUM_VEHICLES];/**************************************************** Function prototypes****************************************************/void gfx_create_resources( void );void gfx_connect_resources( void );void events_init( void );void season_change( Season newseason );#ifdef __cplusplus}#endif#endif /* TRAIN_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -