TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
modelheaders.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef MODELHEADERS_H
20 #define MODELHEADERS_H
21 
22 #include "mpqfile.h" // integer typedefs
23 
24 #pragma pack(push,1)
25 
27 {
28  char id[4];
68  float floats[14];
91 };
92 
93 #pragma pack(pop)
94 #endif
uint32 ofsAnimationLookup
Definition: modelheaders.h:38
uint32 ofsAnimations
Definition: modelheaders.h:36
uint32 nGlobalSequences
Definition: modelheaders.h:33
uint32 ofsParticleEmitters
Definition: modelheaders.h:90
uint32 ofsTexLookup
Definition: modelheaders.h:61
uint32 nLights
Definition: modelheaders.h:81
uint32 nAnimations
Definition: modelheaders.h:35
uint32 ofsCameraLookup
Definition: modelheaders.h:86
Definition: modelheaders.h:26
uint32 nTexReplace
Definition: modelheaders.h:54
uint32 nCameras
Definition: modelheaders.h:83
uint32 nParticleEmitters
Definition: modelheaders.h:89
uint32 ofsAttachLookup
Definition: modelheaders.h:78
uint32 nAttachLookup
Definition: modelheaders.h:77
uint32 ofsKeyBoneLookup
Definition: modelheaders.h:42
uint32 nAnimationLookup
Definition: modelheaders.h:37
uint32 nTexLookup
Definition: modelheaders.h:60
uint32 nViews
Definition: modelheaders.h:45
uint32 nTexAnimLookup
Definition: modelheaders.h:66
uint32 nBoundingNormals
Definition: modelheaders.h:73
uint32 nTransLookup
Definition: modelheaders.h:64
uint32 ofsBones
Definition: modelheaders.h:40
uint32 ofsTextures
Definition: modelheaders.h:49
uint32 ofsLights
Definition: modelheaders.h:82
uint32 nAttachments_2
Definition: modelheaders.h:79
uint32 nBoundingTriangles
Definition: modelheaders.h:69
uint32 ofsRibbonEmitters
Definition: modelheaders.h:88
float floats[14]
Definition: modelheaders.h:68
uint32 ofsTransparency
Definition: modelheaders.h:51
uint32 nameLength
Definition: modelheaders.h:30
uint32 ofsTransLookup
Definition: modelheaders.h:65
uint32 nTextureanimations
Definition: modelheaders.h:52
uint32_t uint32
Definition: Define.h:150
uint32 ofsRenderFlags
Definition: modelheaders.h:57
uint32 ofsBoundingTriangles
Definition: modelheaders.h:70
uint32 nBones
Definition: modelheaders.h:39
uint8 version[4]
Definition: modelheaders.h:29
uint32 ofsBoundingNormals
Definition: modelheaders.h:74
uint32 nVertices
Definition: modelheaders.h:43
uint32 ofsBoundingVertices
Definition: modelheaders.h:72
uint32 nTexUnits
Definition: modelheaders.h:62
uint32 nCameraLookup
Definition: modelheaders.h:85
uint32 ofsColors
Definition: modelheaders.h:47
uint32 ofsTextureanimations
Definition: modelheaders.h:53
uint32 nBoneLookupTable
Definition: modelheaders.h:58
uint32 nRibbonEmitters
Definition: modelheaders.h:87
uint32 ofsVertices
Definition: modelheaders.h:44
uint32 nTextures
Definition: modelheaders.h:48
uint32 nKeyBoneLookup
Definition: modelheaders.h:41
uint32 ofsAttachments_2
Definition: modelheaders.h:80
uint32 ofsAttachments
Definition: modelheaders.h:76
uint32 ofsTexAnimLookup
Definition: modelheaders.h:67
uint8_t uint8
Definition: Define.h:152
uint32 ofsTexUnits
Definition: modelheaders.h:63
uint32 nBoundingVertices
Definition: modelheaders.h:71
uint32 type
Definition: modelheaders.h:32
uint32 nameOfs
Definition: modelheaders.h:31
uint32 ofsCameras
Definition: modelheaders.h:84
uint32 nRenderFlags
Definition: modelheaders.h:56
uint32 ofsBoneLookupTable
Definition: modelheaders.h:59
uint32 ofsGlobalSequences
Definition: modelheaders.h:34
uint32 nAttachments
Definition: modelheaders.h:75
uint32 nTransparency
Definition: modelheaders.h:50
uint32 nColors
Definition: modelheaders.h:46
uint32 ofsTexReplace
Definition: modelheaders.h:55