Mercurial > hg > forks > yadex
diff 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 |
line wrap: on
line diff
--- a/src/textures.h Mon Sep 26 11:23:55 2011 +0300 +++ b/src/textures.h Mon Sep 26 12:47:29 2011 +0300 @@ -16,7 +16,7 @@ void ChooseWallTexture(int, int, const char *, int, char **, char *); void GetWallTextureSize(i16 *, i16 *, const char *); -int InvalidTextureName(const char *); -int ValidTextureName(const char *); +bool InvalidTextureName(const char *); +bool ValidTextureName(const char *); #endif