- Portes editables
This commit is contained in:
@@ -16,11 +16,12 @@ int room_yn = -1;
|
||||
int room_color = 9;
|
||||
int room_floor = 0;
|
||||
int room_walls = 0;
|
||||
int room_doors = 0;
|
||||
|
||||
void restart()
|
||||
{
|
||||
actor::clear();
|
||||
room::load(room_w, room_h, room_xp, room_xn, room_yp, room_yn, room_color, room_floor, room_walls);
|
||||
room::load(room_w, room_h, room_xp, room_xn, room_yp, room_yn, room_color, room_floor, room_walls, room_doors);
|
||||
|
||||
/*
|
||||
box = actor::create("ASCENSOR",{16,32,0}, {8,8,4}, {64,0,32,24}, {0,24});
|
||||
@@ -121,6 +122,7 @@ bool game::loop()
|
||||
btn("COLOR:", 330, 110, room_color, 5, 11);
|
||||
btn("FLOOR:", 330, 125, room_floor, 0, 5);
|
||||
btn("WALLS:", 330, 140, room_walls, 0, 5);
|
||||
btn("DOORS:", 330, 155, room_doors, 0, 2);
|
||||
|
||||
draw::render();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user