25 #include "gui/viewport.h"
27 #include "resources/map/map.h"
38 const int x1 =
msg.readInt16(
"x1");
39 const int y1 =
msg.readInt16(
"y1");
40 const int x2 =
msg.readInt16(
"x2");
41 const int y2 =
msg.readInt16(
"y2");
43 const int layer =
msg.readInt32(
"layer");
44 const std::string name =
msg.readString(16,
"map name");
48 if ((map !=
nullptr) && map->
getGatName() == name)
50 for (
int y = y1;
y <= y2;
y ++)
52 for (
int x = x1;
x <= x2;
x ++)
void setBlockMask(const int x, const int y, const BlockTypeT type)
void updateConditionLayers()
const std::string getGatName() const
bool msg(InputEvent &event)
void processSetTilesType(Net::MessageIn &msg)