Add player name entry, dedicated menu music, and original Bullfrog menu fonts

This commit is contained in:
Luxferre committed 2026-11-30 23:41:37 +02:00
1 parent c017d27b2a
commit 6c24f715a0
13 files changed
+835 -199

No files matched your search

+15
View File
@@ -54,6 +54,15 @@ public:
bool is_rebinding() const { return rebind_active_; }
bool consume_rebound_scancode(int& out_scancode);
// Live text input capture for player name entry
void start_text_input();
void stop_text_input();
bool is_text_input_active() const { return text_input_active_; }
const std::string& text_input_chars() const { return text_chars_; }
bool text_backspace_pressed() const { return text_backspace_; }
bool text_confirm_pressed() const { return text_confirm_; }
bool text_cancel_pressed() const { return text_cancel_; }
// Rumble / Haptics
void trigger_rumble(int player_idx, float low_freq, float high_freq, uint32_t duration_ms,
const GameConfig& cfg);
@@ -78,6 +87,12 @@ private:
MenuInput menu_{};
bool rebind_active_ = false;
int captured_scancode_ = 0;
bool text_input_active_ = false;
std::string text_chars_;
bool text_backspace_ = false;
bool text_confirm_ = false;
bool text_cancel_ = false;
};
} // namespace top_octane