Source: src/include/mi_room.h


Annotated List
Files
Globals
Hierarchy
Index
//class controls acces to rooms 

#ifndef SIRIEL_CLASS_MIDDLE_ROOM
#define SIRIEL_CLASS_MIDDLE_ROOM

#include 
#include 
#include 

#include "cl_room.h"


using namespace std;

class MI_ROOM
{
	map	rooms;
	string			last_name;
	ROOM*			last_room;
	char			zero_tile;
	int			layer_w, layer_h;
	public:
	
	void init();

	ROOM *get_room(string name);
	ROOM *create(string name);
	void destroy(string name);
	
	void tile_bg(string name, deque &d);
	void tile_mid(string name, deque &d);
	void tile_fg(string name, deque &d);

	void layer_size(int w, int h);
	void layer_size(string name, int w, int h);
	void zero(char c);
	char zero();

	int select(string name);
	
	int tile_cw();
	int tile_ch();
	int tile_w();
	int tile_h();
	int tile(int l, int p); //returns tile on selected position
};

#endif


Generated by: georgik on armada on Sat Jul 24 07:07:15 2004, using kdoc 2.0a54.