primera versio de menu
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "core/rendering/menu.hpp"
|
||||
#include "core/rendering/text.hpp"
|
||||
#include "game/options.hpp"
|
||||
|
||||
@@ -149,6 +150,11 @@ namespace Overlay {
|
||||
if (esc_waiting_ && notifications_.empty()) {
|
||||
esc_waiting_ = false;
|
||||
}
|
||||
|
||||
// Menú flotant per damunt de tot
|
||||
if (Menu::isOpen()) {
|
||||
Menu::render(pixel_data);
|
||||
}
|
||||
}
|
||||
|
||||
void showNotification(const char* text, float duration_seconds) {
|
||||
|
||||
Reference in New Issue
Block a user