Mercurial > mm7
diff Render.h @ 1512:af57b3b76fe4
Clean and decouple. (1)
author | yoctozepto |
---|---|
date | Mon, 02 Sep 2013 15:23:09 +0200 |
parents | ab6bf38b2940 |
children | 75fafd8ced59 |
line wrap: on
line diff
--- a/Render.h Mon Sep 02 17:39:31 2013 +0600 +++ b/Render.h Mon Sep 02 15:23:09 2013 +0200 @@ -1,5 +1,7 @@ #pragma once -#include <stdio.h> + +#include <cstdint> +#include <cstdio> #include "lib\legacy_dx\d3d.h" #include "OSAPI.h" @@ -169,7 +171,7 @@ HWLTexture *LoadTexture(const char *pName, int bMipMaps); FILE *pFile; - uint uSignature; + uint32_t uSignature; unsigned int uDataOffset; unsigned int uNumItems; char *pSpriteNames[50000]; @@ -267,8 +269,8 @@ static Render *Create() {return new Render;} - bool Initialize(bool bWindowed, uint uDefaultDevice, - bool bColoredLights, uint uDetailLevel, uint bTinting); + bool Initialize(bool bWindowed, uint32_t uDefaultDevice, + bool bColoredLights, uint32_t uDetailLevel, bool bTinting); bool IsColorKeySupported(IDirectDraw4 *); @@ -435,7 +437,7 @@ unsigned int uMinDeviceTextureDim; int field_10365C; unsigned int bUsingSpecular; - uint uFogColor; + uint32_t uFogColor; int field_103668; unsigned int pHDWaterBitmapIDs[7]; char field_103688[32]; @@ -447,7 +449,7 @@ int _gpu_memory_used; void ( *pBeforePresentFunction)(); int field_1036C4; - uint bFogEnabled; + uint32_t bFogEnabled; int field_1036CC; RenderBillboardD3D pBillboardRenderListD3D[1000]; unsigned int uNumBillboardsToDraw;