in_connection to bool
This commit is contained in:
@@ -184,7 +184,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": -7,
|
||||
"y": 21,
|
||||
"elevation": 7,
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 50,
|
||||
"y": 18,
|
||||
"elevation": 10,
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 32,
|
||||
"y": 9,
|
||||
"elevation": 4,
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 73,
|
||||
"y": 7,
|
||||
"elevation": 13,
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 6,
|
||||
"y": 85,
|
||||
"elevation": 8,
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_FAT_MAN",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 13,
|
||||
"y": -3,
|
||||
"elevation": 2,
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_COOLTRAINER_M",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 109,
|
||||
"y": 3,
|
||||
"elevation": 12,
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": -8,
|
||||
"y": 12,
|
||||
"elevation": 10,
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJECT_EVENT_GFX_COOLTRAINER_M",
|
||||
"in_connection": 255,
|
||||
"in_connection": true,
|
||||
"x": 7,
|
||||
"y": -2,
|
||||
"elevation": 1,
|
||||
|
||||
@@ -274,7 +274,7 @@ string generate_firered_map_events_text(Json map_data) {
|
||||
auto obj_event = map_data["object_events"].array_items()[i];
|
||||
text << "\tobject_event " << i + 1 << ", "
|
||||
<< obj_event["graphics_id"].string_value() << ", "
|
||||
<< obj_event["in_connection"].int_value() << ", "
|
||||
<< (obj_event["in_connection"].bool_value() ? 255 : 0) << ", "
|
||||
<< obj_event["x"].int_value() << ", "
|
||||
<< obj_event["y"].int_value() << ", "
|
||||
<< obj_event["elevation"].int_value() << ", "
|
||||
|
||||
Reference in New Issue
Block a user