Rearrange startup buttons, add tutorial button with stub event

Fix #173
This commit is contained in:
2024-11-26 14:25:23 -06:00
committed by Celtic Minstrel
parent 96c71bdce4
commit df3839ab5d
5 changed files with 30 additions and 13 deletions

View File

@@ -414,9 +414,14 @@ void draw_startup_stats() {
void draw_start_button(eStartButton which_position,short which_button) {
rectangle from_rect,to_rect;
// TODO: Change third button (Windows calls it "Support and Downloads")
const char *button_labels[] = {"Load Game","Make New Party","Preferences",
"Start Scenario","Custom Scenario","Quit"};
const char *button_labels[MAX_eStartButton];
button_labels[STARTBTN_TUTORIAL] = "Tutorial";
button_labels[STARTBTN_LOAD] = "Load Game";
button_labels[STARTBTN_PREFS] = "Preferences";
button_labels[STARTBTN_NEW] = "Make New Party";
button_labels[STARTBTN_JOIN] = "Start Scenario";
button_labels[STARTBTN_SCROLL] = "";
// The 0..65535 version of the blue component was 14472; the commented version was 43144431
sf::Color base_color = {0,0,57};