- [NEW] Es pot navegar entre habitacions pulsant el nombres de les vores

- [FIX] usar mouseClk() en el treeview
- [FIX] Al crear nova habitació s¡obri la porta contraria en l'habitació des de la que se venia.
This commit is contained in:
2024-07-30 09:18:13 +02:00
parent 0a24e2b3fe
commit 8725532586
14 changed files with 131 additions and 48 deletions

View File

@@ -128,7 +128,7 @@ namespace room
if (room > MAX_ROOMS || room < 0) {
room = find_next_room();
exits[inverse_door(door)] = room;
if (door<4 && door_height[door]==-1) door_height[door]=0;
if (door<4 && door_height[inverse_door(door)]==-1) door_height[inverse_door(door)]=0;
modified = true;
}
@@ -446,6 +446,11 @@ namespace room
num_color_cycles = times;
}
int getCurrent()
{
return current_room;
}
vec3_t getSize()
{
return size;