- Portes editables

This commit is contained in:
2023-06-08 15:47:33 +02:00
parent 1b1f6751fe
commit 2bc6ad2e30
5 changed files with 6 additions and 3 deletions

View File

@@ -36,12 +36,13 @@ namespace room
aux_surf = draw::loadSurface("roomaux.gif");
}
void load(int x, int y, int8_t xp, int8_t xn, int8_t yp, int8_t yn, uint8_t col, uint8_t floor, uint8_t walls)
void load(int x, int y, int8_t xp, int8_t xn, int8_t yp, int8_t yn, uint8_t col, uint8_t floor, uint8_t walls, uint8_t door)
{
init();
color = col;
floor_type = floor;
walls_type = walls;
doors_type = door;
size = {(x+1)*2,(y+1)*2,3};
tmin = {3-x,3-y,0};
tmax = {4+x,4+y,3};