diff options
author | aap <aap@papnet.eu> | 2020-04-09 20:50:24 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-09 20:50:24 +0200 |
commit | 34349c4df2683fca35be37ec626aaa8eef2ddaee (patch) | |
tree | 6a86b547819f30ab784d00891ee99b8924580093 /src/render/TexList.cpp | |
parent | Merge remote-tracking branch 'Fire-Head/master' (diff) | |
download | re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.tar re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.tar.gz re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.tar.bz2 re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.tar.lz re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.tar.xz re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.tar.zst re3-34349c4df2683fca35be37ec626aaa8eef2ddaee.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/TexList.cpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/src/render/TexList.cpp b/src/render/TexList.cpp index daed620a..1689837f 100644 --- a/src/render/TexList.cpp +++ b/src/render/TexList.cpp @@ -1,41 +1,41 @@ -#include "common.h"
-#include "TexList.h"
-#include "rtbmp.h"
-#include "FileMgr.h"
-
-bool CTexList::ms_nTexUsed[MAX_TEXUSED];
-
-void
-CTexList::Initialise()
-{}
-
-void
-CTexList::Shutdown()
-{}
-
-RwTexture *
-CTexList::SetTexture(int32 slot, char *name)
-{
- return nil;
-}
-
-int32
-CTexList::GetFirstFreeTexture()
-{
- for (int32 i = 0; i < MAX_TEXUSED; i++)
- if (!ms_nTexUsed[i])
- return i;
- return -1;
-}
-
-RwTexture *
-CTexList::LoadFileNameTexture(char *name)
-{
- return SetTexture(GetFirstFreeTexture(), name);
-}
-
-void
-CTexList::LoadGlobalTextureList()
-{
- CFileMgr::SetDir("TEXTURES");
+#include "common.h" +#include "TexList.h" +#include "rtbmp.h" +#include "FileMgr.h" + +bool CTexList::ms_nTexUsed[MAX_TEXUSED]; + +void +CTexList::Initialise() +{} + +void +CTexList::Shutdown() +{} + +RwTexture * +CTexList::SetTexture(int32 slot, char *name) +{ + return nil; +} + +int32 +CTexList::GetFirstFreeTexture() +{ + for (int32 i = 0; i < MAX_TEXUSED; i++) + if (!ms_nTexUsed[i]) + return i; + return -1; +} + +RwTexture * +CTexList::LoadFileNameTexture(char *name) +{ + return SetTexture(GetFirstFreeTexture(), name); +} + +void +CTexList::LoadGlobalTextureList() +{ + CFileMgr::SetDir("TEXTURES"); }
\ No newline at end of file |