- [NEW] mòdul editor per a handlechar tot lo relacionat en l'editor
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "actor.h"
|
||||
#include "room.h"
|
||||
#include "jui.h"
|
||||
|
||||
#include "editor.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
@@ -26,8 +26,6 @@ int room_walldoors = 0;
|
||||
|
||||
std::vector<std::string> gifs;
|
||||
|
||||
bool editing = true;
|
||||
|
||||
void restart()
|
||||
{
|
||||
room::load(0); //room_w, room_h, room_xp, room_xn, room_yp, room_yn, room_color, room_floor, room_walls, room_doors, room_walldoors);
|
||||
@@ -291,7 +289,7 @@ bool game::loop()
|
||||
|
||||
|
||||
// WHILE EDITING...
|
||||
if (editing)
|
||||
if (editor::isEditing())
|
||||
{
|
||||
editor_move_selected();
|
||||
actor::updateEditor(actor::getFirst());
|
||||
|
||||
Reference in New Issue
Block a user