view 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 source

/*
 *        textures.h
 *        AYM 2000-04-29
 */


#ifndef YH_TEXTURES                /* DO NOT ADD ANYTHING BEFORE THIS LINE */
#define YH_TEXTURES


#include "lists.h"


/* textures.cc */
void DisplayPic(hookfunc_comm_t * c);
void ChooseWallTexture(int, int, const char *, int, char **, char *);
void GetWallTextureSize(i16 *, i16 *, const char *);

bool InvalidTextureName(const char *);
bool ValidTextureName(const char *);

#endif