calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
173 stars 42 forks source link

Red "Quit" button visible when clicking on Credits scrolly. #205

Closed clort81 closed 4 years ago

clort81 commented 4 years ago

In Blades of Exile main / beginning menu with "Load Game" "Start Scenario" "Make New Party" etc, the 6th box with the credits contains a 'Quit' button that is briefly visible when clicked.

boe.graphics.cpp:376: "Start Scenario","Custom Scenario","Quit"}; The quit text could be replaced by " "?

The enum of startup buttons is in game/boe.consts.hpp

The draw_startup(short but_type) is in boe.graphics.cpp line ~207 and iterates through the enum list of buttons. How can we only make it draw [0-4] and not [0-5]? This draws 6 buttons...

for(auto btn : startup_button.keys())