Mercurial > mm7
comparison LOD.h @ 434:137c59c3dbc4
Temple of Moon and Dragon Lair can now be entered.
author | Nomad |
---|---|
date | Sun, 24 Feb 2013 01:42:35 +0200 |
parents | a9e9c6989d04 |
children | 9824e2eeee30 |
comparison
equal
deleted
inserted
replaced
433:0eaed3e0d75f | 434:137c59c3dbc4 |
---|---|
1 #pragma once | 1 #pragma once |
2 #include <stdio.h> | 2 #include <stdio.h> |
3 #include <memory.h> | 3 #include <memory.h> |
4 #include <assert.h> | |
4 | 5 |
5 #include "Texture.h" | 6 #include "Texture.h" |
6 | 7 |
7 | 8 |
8 /* 354 */ | 9 /* 354 */ |
155 int _410522(Texture *pDst, const char *pContainer, unsigned int uTextureType); | 156 int _410522(Texture *pDst, const char *pContainer, unsigned int uTextureType); |
156 void SetupPalettes(unsigned int uTargetRBits, unsigned int uTargetGBits, unsigned int uTargetBBits); | 157 void SetupPalettes(unsigned int uTargetRBits, unsigned int uTargetGBits, unsigned int uTargetBBits); |
157 void ReleaseAll2(); | 158 void ReleaseAll2(); |
158 void _4114F2(); | 159 void _4114F2(); |
159 void _4355F7(); | 160 void _4355F7(); |
161 | |
162 inline Texture *GetTexture(int idx) | |
163 { | |
164 assert(idx < 1000); | |
165 if (idx == -1) | |
166 return nullptr; | |
167 return pTextures + idx; | |
168 } | |
160 | 169 |
161 | 170 |
162 /*FILE *pFile; | 171 /*FILE *pFile; |
163 unsigned __int8 pLODName[256]; | 172 unsigned __int8 pLODName[256]; |
164 unsigned int isFileOpened; | 173 unsigned int isFileOpened; |