mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
3ds_chunks.h
Go to the documentation of this file.
1 
7 #ifndef _3DS_CHUNKS_H
8 #define _3DS_CHUNKS_H
9 
10 #define PRIMARY_ID 0x4D4D
11 #define EDIT3DS 0x3D3D // 15677
12 #define KEYF3DS 0xB000
13 #define VERSION 0x0002
14 #define MESH_VERSION 0x3D3E // 15678
15 #define KFVERSION 0x0005
16 #define COLOR_F 0x0010
17 #define COLOR_24 0x0011 // the first of two color parts (e.g. for diffuse)
18 #define LIN_COLOR_24 0x0012 // the second of two color parts( e.g. for diffuse)
19 #define LIN_COLOR_F 0x0013
20 #define INT_PERCENTAGE 0x0030
21 #define FLOAT_PERC 0x0031
22 #define MASTER_SCALE 0x0100 // 256
23 #define IMAGE_FILE 0x1100
24 #define AMBIENT_LIGHT 0x2100
25 #define NAMED_OBJECT 0x4000 // 16384
26 #define OBJ_MESH 0x4100 // 16640
27 #define MESH_VERTICES 0x4110 // 16656
28 #define VERTEX_FLAGS 0x4111
29 #define MESH_FACES 0x4120
30 #define MESH_MATER 0x4130
31 #define MESH_TEX_VERT 0x4140
32 #define MESH_XFMATRIX 0x4160
33 #define MESH_COLOR_IND 0x4165
34 #define MESH_TEX_INFO 0x4170
35 #define HIRARCHY 0x4F00
36 #define MAT_ENTRY 0xAFFF // 45055
37 #define MAT_NAME 0xA000 // 40960
38 #define MAT_AMBIENT 0xA010 // 40976
39 #define MAT_DIFFUSE 0xA020 // 40992
40 #define MAT_SPECULAR 0xA030 // 41008
41 #define MAT_SHININESS 0xA040 // 41024
42 #define MAT_FALLOFF 0xA052
43 #define MAT_EMISSIVE 0xA080
44 #define MAT_SHADING 0xA100 // 41216
45 #define MAT_TEXMAP 0xA200 // 41472
46 #define MAT_TEXFLNM 0xA300
47 #define OBJECT_LIGHT 0x4600
48 #define OBJECT_CAMERA 0x4700
49 #define ANIM_HEADER 0xB00A
50 #define ANIM_OBJ 0xB002
51 #define ANIM_NAME 0xB010
52 #define ANIM_POS 0xB020
53 #define ANIM_ROT 0xB021
54 #define ANIM_SCALE 0xB022
55 
56 #endif