noworldtexture cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2297 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+5
-2
@@ -217,16 +217,19 @@ struct Texture
|
||||
int xs, ys, bpp, clamp;
|
||||
GLuint id;
|
||||
};
|
||||
extern Texture *notexture;
|
||||
extern Texture *notexture, *noworldtexture;
|
||||
|
||||
extern void createtexture(int tnum, int w, int h, void *pixels, int clamp, bool mipmap, GLenum format);
|
||||
extern Texture *textureload(const char *name, int clamp = 0);
|
||||
extern Texture *lookuptexture(int tex);
|
||||
extern Texture *lookuptexture(int tex, Texture *failtex = notexture);
|
||||
extern void draw_envbox(int fogdist);
|
||||
extern bool reloadtexture(Texture &t);
|
||||
extern bool reloadtexture(const char *name);
|
||||
extern void reloadtextures();
|
||||
|
||||
static inline Texture *lookupworldtexture(int tex)
|
||||
{ return lookuptexture(tex, noworldtexture); }
|
||||
|
||||
extern int maxtmus;
|
||||
extern void inittmus();
|
||||
extern void resettmu(int n);
|
||||
|
||||
Reference in New Issue
Block a user