- Editor de posició i tamany de actor en bitmap completat
This commit is contained in:
@@ -26,6 +26,8 @@ namespace modules
|
||||
|
||||
if (editor::isDevMode())
|
||||
{
|
||||
draw::setPaletteColor(100, 0xbb, 0x80, 0x80);
|
||||
draw::setPaletteColor(101, 0xff, 0xc0, 0xc0);
|
||||
draw::stencil::init();
|
||||
|
||||
FILE* f = fopen("data/gifs.txt", "r");
|
||||
@@ -264,10 +266,12 @@ namespace modules
|
||||
|
||||
if (input::keyPressed(SDL_SCANCODE_ESCAPE))
|
||||
{
|
||||
if (console::isEnabled())
|
||||
if (console::isEnabled()) {
|
||||
console::toggle();
|
||||
else
|
||||
} else {
|
||||
if (editor::isEditing()) room::editor::save();
|
||||
return GAME_MENU;
|
||||
}
|
||||
}
|
||||
|
||||
// WHILE EDITING...
|
||||
|
||||
Reference in New Issue
Block a user