- Treballant en el editor

This commit is contained in:
2024-06-10 21:44:10 +02:00
parent 63e53c1e68
commit 042dd3c505
3 changed files with 125 additions and 62 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "misc.h"
#include <vector>
#define NO_DOOR 0
#define DOOR_XP 1
@@ -35,30 +36,19 @@ namespace room
int &refWidth();
int &refHeight();
uint8_t &refDoor(const int which);
int &refDoor(const int which);
void setWidth(const int value);
void setHeight(const int value);
void setDoor(const int which, const int value);
int &refColor();
int &refFloorTex();
int &refWallTex();
int &refDoorTex();
int &refWallDoorTex();
void setColor(const int value);
void setFloorTex(const int value);
void setWallTex(const int value);
void setDoorTex(const int value);
void setWallDoorTex(const int value);
int &refExit(const int which);
void setExit(const int which, const int value);
bool roomExists(const int which);
void updateRoomList();
const int getWidth();
const int getHeight();
const int getDoor(const int which);
const int getColor();
const int getFloorTex();
const int getWallTex();
const int getDoorTex();
const int getWallDoorTex();
const int getExit(const int which);
int getCurrentRoom();
}
}