- Portes editables
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user