mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-18 23:22:28 +00:00
texture:: 'paint textures' in main menu now starts Canvas automatically
This commit is contained in:
@@ -755,18 +755,19 @@ void showStartMenu() {
|
||||
#if CAP_TEXTURE && CAP_EDIT
|
||||
else if(uni == 'T') {
|
||||
popScreenAll();
|
||||
pushScreen(texture::showMenu);
|
||||
resetModes('c');
|
||||
stop_game();
|
||||
firstland = specialland = laCanvas;
|
||||
cheater = true;
|
||||
patterns::canvasback = 0xFFFFFF;
|
||||
mapeditor::drawplayer = false;
|
||||
start_game();
|
||||
clearMessages();
|
||||
welcomeMessage();
|
||||
using namespace texture;
|
||||
if(config.data.whitetexture() && config.data.loadTextureGL()) {
|
||||
config.tstate = config.tstate_max = tsActive;
|
||||
config.perform_mapping();
|
||||
config.finish_mapping();
|
||||
mapeditor::initdraw(cwt.at);
|
||||
pushScreen(showMenu);
|
||||
pushScreen(mapeditor::showDrawEditor);
|
||||
}
|
||||
calcparam();
|
||||
drawthemap();
|
||||
texture::start_editor();
|
||||
}
|
||||
#endif
|
||||
else if(uni == 'g') {
|
||||
|
||||
Reference in New Issue
Block a user