Mercurial > hg > forks > yadex
comparison src/textures.h @ 71:210bfe10609f
Change return type of {Valid|Invalid}TextureName() functions, and make them
check for texture names consisting only of whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Sep 2011 12:47:29 +0300 |
parents | 48d4f8e3fce5 |
children | f05330267c66 |
comparison
equal
deleted
inserted
replaced
70:dd9e9b980eb9 | 71:210bfe10609f |
---|---|
14 /* textures.cc */ | 14 /* textures.cc */ |
15 void DisplayPic(hookfunc_comm_t * c); | 15 void DisplayPic(hookfunc_comm_t * c); |
16 void ChooseWallTexture(int, int, const char *, int, char **, char *); | 16 void ChooseWallTexture(int, int, const char *, int, char **, char *); |
17 void GetWallTextureSize(i16 *, i16 *, const char *); | 17 void GetWallTextureSize(i16 *, i16 *, const char *); |
18 | 18 |
19 int InvalidTextureName(const char *); | 19 bool InvalidTextureName(const char *); |
20 int ValidTextureName(const char *); | 20 bool ValidTextureName(const char *); |
21 | 21 |
22 #endif | 22 #endif |