Mercurial > might-and-magic-trilogy
diff LOD.h @ 131:d2ca891da89f
Слияние
author | Ritor1 |
---|---|
date | Wed, 07 Nov 2012 22:10:04 +0600 |
parents | 430786d916d6 |
children | 8e802a11b20d |
line wrap: on
line diff
--- a/LOD.h Wed Nov 07 22:09:43 2012 +0600 +++ b/LOD.h Wed Nov 07 22:10:04 2012 +0600 @@ -1,7 +1,7 @@ #pragma once #include <stdio.h> #include "Texture.h" - +#include <memory.h> /* 354 */ @@ -20,6 +20,12 @@ #pragma pack(push, 1) struct FileHeader { + inline FileHeader() + { + memset(array_0000B0, 0, 28); + memset(array_0000CC, 0, 52); + } + void Reset(); unsigned __int8 pSignature[4];