Changed Moved LoadBMP into the OpenArena namespace

~g2k
This commit is contained in:
2006-06-18 14:30:52 -04:00
parent 64c8c11d0c
commit b03bdb0cbc
2 changed files with 163 additions and 155 deletions

View File

@@ -5,6 +5,8 @@
#include "datatypes.h"
#include "texture.h"
namespace OpenArena{
TextureImage* LoadBMP(const char* Filename);
};
#endif

View File

@@ -20,6 +20,11 @@
#include <cstdio>
#include "../include/bmp.h"
#ifdef WIN32
#pragma warning(disable:4996)
#endif
namespace OpenArena{
#pragma pack(push,1)
struct BITMAP_HEADER
@@ -192,3 +197,4 @@ TextureImage* LoadBMP(const char* fn)
}
return NULL;
}
};