Mercurial > hg > forks > yadex
annotate 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 |
rev | line source |
---|---|
0 | 1 /* |
33
a68786b9c74b
Oops, used indent with tabs enabled. Remove tabs.
Matti Hamalainen <ccr@tnsp.org>
parents:
25
diff
changeset
|
2 * textures.h |
a68786b9c74b
Oops, used indent with tabs enabled. Remove tabs.
Matti Hamalainen <ccr@tnsp.org>
parents:
25
diff
changeset
|
3 * AYM 2000-04-29 |
0 | 4 */ |
5 | |
6 | |
33
a68786b9c74b
Oops, used indent with tabs enabled. Remove tabs.
Matti Hamalainen <ccr@tnsp.org>
parents:
25
diff
changeset
|
7 #ifndef YH_TEXTURES /* DO NOT ADD ANYTHING BEFORE THIS LINE */ |
0 | 8 #define YH_TEXTURES |
9 | |
10 | |
11 #include "lists.h" | |
12 | |
13 | |
14 /* textures.cc */ | |
25
8eaf72e2041b
Reindent the source using GNU indent and "indent -i4 -bli0 -npcs -nprs -npsl".
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
15 void DisplayPic(hookfunc_comm_t * c); |
8eaf72e2041b
Reindent the source using GNU indent and "indent -i4 -bli0 -npcs -nprs -npsl".
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
16 void ChooseWallTexture(int, int, const char *, int, char **, char *); |
8eaf72e2041b
Reindent the source using GNU indent and "indent -i4 -bli0 -npcs -nprs -npsl".
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
17 void GetWallTextureSize(i16 *, i16 *, const char *); |
0 | 18 |
71
210bfe10609f
Change return type of {Valid|Invalid}TextureName() functions, and make them
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
19 bool InvalidTextureName(const char *); |
210bfe10609f
Change return type of {Valid|Invalid}TextureName() functions, and make them
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
20 bool ValidTextureName(const char *); |
0 | 21 |
22 #endif |