Some more gcc deprecation cleanups

This commit is contained in:
Sylae Corell
2014-07-30 11:03:01 -06:00
parent 864eba5928
commit 26971cf0c8
9 changed files with 25 additions and 35 deletions

View File

@@ -1,24 +1,24 @@
#ifndef _LOCATION_H
#define _LOCATION_H
struct location
{
char x, y;
unsigned char x, y;
/* functions */
location() : x(0), y(0) { }
location(int ix, int iy) { x = ix; y = iy; }
location toGlobal(); /* convert local coordinates to global*/
location toLocal(); /* convert global coordinates to local*/
location randomShift();
short countWalls() const; /* count number of walls around */
short handleLever(); /* call dialog and eventually pull lever */
void crumbleWall();
bool isDoor() const;
void pickLock(short pcNum);
void bashDoor(short pcNum);
};
#endif