'wdf.h'不是缺这个文件么
00001 /*
00002 File: wdf.h
00003 */
00004 #ifndef WDF_H
00005 #define WDF_H
00006
00011 // Main chunks
00012 #define WDF_MAIN 0x5744
00013
00014 // General chunks
00015 #define NULL_CHUNK 0x0000
00016 #define NAME 0x0002
00017 #define DESCRIPTION 0x0004
00018 #define CREATOR 0x0006
00019 #define HISTORY 0x0008
00020
00021 // Sub chunks of main
00022 #define INCLUDE_WDF 0x5702
00023
00024 // Objects
00025 #define OBJECT_INSTANCE 0x0100
00026 #define OBJECT_GROUP 0x0200
00027 #define TEMPLATE_GROUP 0x0300
00028 #define POLY_MODEL 0x0400
00029 #define PORTAL 0x0500
00030 #define TERRAIN 0x0600
00031 #define PARTICLE_SYSTEM 0x0700
00032 #define SKY 0x0800
00033
00034 // Object specific sub-chunks
00035 #define COORD_SYSTEM 0x0104
00036
00037 #define MATERIAL 0x0110
00038 #define MATERIAL_DECL 0x0112
00039 #define MATERIAL_REF 0x0114
00040
00041 // Poly Model specific sub-chunks
00042 #define MESH 0x0410
00043 #define RESERVED_42 0x0420 // not used
00044
00045 // Mesh specific sub-chunks
00046 #define VERTEX_LIST 0x0412
00047 #define FACE_LIST 0x0414
00048 #define GENERATE_NORMAL 0x0416
00049 // Vertices and Faces must be written first!
00050 #define NORMAL_LIST 0x0418
00051 #define COLOR_LIST 0x041A
00052 #define TEXT_COOR_LIST 0x041C
00053 #define TRI_STRIP 0x041E
00054
00055 // Vertex info types
00056 #define VTI_ONCE 0x0002
00057 #define VTI_PER_FACE 0x0004
00058 #define VTI_PER_VERTEX 0x0006
00059
00060 #endif