*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1277 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-08-30 05:31:24 +00:00
parent 5114b659c8
commit b57d3cf723
9 changed files with 22 additions and 18 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
#include "cube.h"
Texture *crosshair = NULL;
Texture *notexture = NULL;
hashtable<char *, Texture> textures;
VAR(hwtexsize, 1, 0, 0);
@@ -88,7 +88,7 @@ Texture *textureload(const char *name, int clamp)
if(t) return t;
int xs, ys;
GLuint id = loadsurface(pname, xs, ys, clamp);
if(!id) return crosshair;
if(!id) return notexture;
char *key = newstring(pname);
t = &textures[key];
t->name = key;
@@ -123,7 +123,7 @@ COMMAND(texture, ARG_2STR);
Texture *lookuptexture(int tex)
{
Texture *t = crosshair;
Texture *t = notexture;
if(slots.inrange(tex))
{
Slot &s = slots[tex];