- [NEW] Easier room creation
This commit is contained in:
@@ -553,27 +553,27 @@ bool game::loop()
|
||||
|
||||
ui::label("XN", 2, line, 48, 11);
|
||||
changed |= btn_small(48, line, room::editor::refExit(XN), -1, 64, 36);
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(XN));
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(XN), XP);
|
||||
line += 10;
|
||||
ui::label("YP", 2, line, 48, 11);
|
||||
changed |= btn_small(48, line, room::editor::refExit(YP), -1, 64, 36);
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(YP));
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(YP), YN);
|
||||
line += 10;
|
||||
ui::label("XP", 2, line, 48, 11);
|
||||
changed |= btn_small(48, line, room::editor::refExit(XP), -1, 64, 36);
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(XP));
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(XP), XN);
|
||||
line += 10;
|
||||
ui::label("YN", 2, line, 48, 11);
|
||||
changed |= btn_small(48, line, room::editor::refExit(YN), -1, 64, 36);
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(YN));
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(YN), YP);
|
||||
line += 10;
|
||||
ui::label("ZP", 2, line, 48, 11);
|
||||
changed |= btn_small(48, line, room::editor::refExit(ZP), -1, 64, 36);
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(ZP));
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(ZP), ZN);
|
||||
line += 10;
|
||||
ui::label("ZN", 2, line, 48, 11);
|
||||
changed |= btn_small(48, line, room::editor::refExit(ZN), -1, 64, 36);
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(ZN));
|
||||
if (ui::button("GO", 84, line, 13, 11)) room::load(room::editor::refExit(ZN), ZP);
|
||||
line += 10;
|
||||
|
||||
/*changed |= btn("COLOR:", 10, 140, room::editor::refColor(), 5, 11);
|
||||
|
||||
Reference in New Issue
Block a user