diff --git a/desktop_version/lang/ar/strings.xml b/desktop_version/lang/ar/strings.xml index 8fe6db86..f9aa8fc6 100644 --- a/desktop_version/lang/ar/strings.xml +++ b/desktop_version/lang/ar/strings.xml @@ -585,6 +585,12 @@ + + + + + + @@ -616,6 +622,8 @@ + + @@ -669,6 +677,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/ca/strings.xml b/desktop_version/lang/ca/strings.xml index a0790dd8..18ebb689 100644 --- a/desktop_version/lang/ca/strings.xml +++ b/desktop_version/lang/ca/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/cy/strings.xml b/desktop_version/lang/cy/strings.xml index 9358b24f..8812a095 100644 --- a/desktop_version/lang/cy/strings.xml +++ b/desktop_version/lang/cy/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/de/strings.xml b/desktop_version/lang/de/strings.xml index c7551a80..82fed0b1 100644 --- a/desktop_version/lang/de/strings.xml +++ b/desktop_version/lang/de/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/en/strings.xml b/desktop_version/lang/en/strings.xml index dfe9ec99..83bf3963 100644 --- a/desktop_version/lang/en/strings.xml +++ b/desktop_version/lang/en/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/eo/strings.xml b/desktop_version/lang/eo/strings.xml index 243bcf41..df7c2527 100644 --- a/desktop_version/lang/eo/strings.xml +++ b/desktop_version/lang/eo/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/es/strings.xml b/desktop_version/lang/es/strings.xml index 236aa161..db2c283d 100644 --- a/desktop_version/lang/es/strings.xml +++ b/desktop_version/lang/es/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/es_419/strings.xml b/desktop_version/lang/es_419/strings.xml index cf7adbf1..5f75284e 100644 --- a/desktop_version/lang/es_419/strings.xml +++ b/desktop_version/lang/es_419/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/es_AR/strings.xml b/desktop_version/lang/es_AR/strings.xml index 17ba4288..82655e06 100644 --- a/desktop_version/lang/es_AR/strings.xml +++ b/desktop_version/lang/es_AR/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/fa/strings.xml b/desktop_version/lang/fa/strings.xml index 774c8c4a..d2e5ffb1 100644 --- a/desktop_version/lang/fa/strings.xml +++ b/desktop_version/lang/fa/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/fr/strings.xml b/desktop_version/lang/fr/strings.xml index 08c95560..7f421c8b 100644 --- a/desktop_version/lang/fr/strings.xml +++ b/desktop_version/lang/fr/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/ga/strings.xml b/desktop_version/lang/ga/strings.xml index 03111d7c..f6991aea 100644 --- a/desktop_version/lang/ga/strings.xml +++ b/desktop_version/lang/ga/strings.xml @@ -580,6 +580,12 @@ Déan cóip chúltaca, ar eagla na heagla." explanation="translation maintenance + + + + + + @@ -611,6 +617,8 @@ Déan cóip chúltaca, ar eagla na heagla." explanation="translation maintenance + + @@ -663,6 +671,17 @@ Déan cóip chúltaca, ar eagla na heagla." explanation="translation maintenance + + + + + + + + + + + diff --git a/desktop_version/lang/it/strings.xml b/desktop_version/lang/it/strings.xml index c419afc9..96392af0 100644 --- a/desktop_version/lang/it/strings.xml +++ b/desktop_version/lang/it/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/ja/strings.xml b/desktop_version/lang/ja/strings.xml index 1d1b5619..ce5e7fb0 100644 --- a/desktop_version/lang/ja/strings.xml +++ b/desktop_version/lang/ja/strings.xml @@ -613,6 +613,12 @@ Steam Deckには対応していません。" explanation="" max="38*5" max_local + + + + + + @@ -645,6 +651,8 @@ Steam Deckには対応していません。" explanation="" max="38*5" max_local + + @@ -697,6 +705,17 @@ Steam Deckには対応していません。" explanation="" max="38*5" max_local + + + + + + + + + + + diff --git a/desktop_version/lang/ko/strings.xml b/desktop_version/lang/ko/strings.xml index ba273561..cd04a85b 100755 --- a/desktop_version/lang/ko/strings.xml +++ b/desktop_version/lang/ko/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/nl/strings.xml b/desktop_version/lang/nl/strings.xml index abe333d4..ec7896d6 100644 --- a/desktop_version/lang/nl/strings.xml +++ b/desktop_version/lang/nl/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/pl/strings.xml b/desktop_version/lang/pl/strings.xml index cebd78cd..96a39b07 100644 --- a/desktop_version/lang/pl/strings.xml +++ b/desktop_version/lang/pl/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/pt_BR/strings.xml b/desktop_version/lang/pt_BR/strings.xml index 82d2c96d..22400cea 100644 --- a/desktop_version/lang/pt_BR/strings.xml +++ b/desktop_version/lang/pt_BR/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/pt_PT/strings.xml b/desktop_version/lang/pt_PT/strings.xml index c5ac85bb..429b52ec 100644 --- a/desktop_version/lang/pt_PT/strings.xml +++ b/desktop_version/lang/pt_PT/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/ru/strings.xml b/desktop_version/lang/ru/strings.xml index da8b121c..2ad2dfa6 100644 --- a/desktop_version/lang/ru/strings.xml +++ b/desktop_version/lang/ru/strings.xml @@ -603,6 +603,12 @@ + + + + + + @@ -634,6 +640,8 @@ + + @@ -686,6 +694,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/szl/strings.xml b/desktop_version/lang/szl/strings.xml index c67da027..5c0d841f 100644 --- a/desktop_version/lang/szl/strings.xml +++ b/desktop_version/lang/szl/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/tr/strings.xml b/desktop_version/lang/tr/strings.xml index 8a7e5142..26ff10ee 100644 --- a/desktop_version/lang/tr/strings.xml +++ b/desktop_version/lang/tr/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/uk/strings.xml b/desktop_version/lang/uk/strings.xml index 046d4e8e..60100b3b 100644 --- a/desktop_version/lang/uk/strings.xml +++ b/desktop_version/lang/uk/strings.xml @@ -578,6 +578,12 @@ + + + + + + @@ -609,6 +615,8 @@ + + @@ -661,6 +669,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/zh/strings.xml b/desktop_version/lang/zh/strings.xml index 1ebf7b84..11fe5048 100644 --- a/desktop_version/lang/zh/strings.xml +++ b/desktop_version/lang/zh/strings.xml @@ -588,6 +588,12 @@ + + + + + + @@ -619,6 +625,8 @@ + + @@ -671,6 +679,17 @@ + + + + + + + + + + + diff --git a/desktop_version/lang/zh_TW/strings.xml b/desktop_version/lang/zh_TW/strings.xml index 68a79880..bd2af5ff 100644 --- a/desktop_version/lang/zh_TW/strings.xml +++ b/desktop_version/lang/zh_TW/strings.xml @@ -588,6 +588,12 @@ + + + + + + @@ -619,6 +625,8 @@ + + @@ -671,6 +679,17 @@ + + + + + + + + + + + diff --git a/desktop_version/src/Editor.cpp b/desktop_version/src/Editor.cpp index 7350e39a..42926b13 100644 --- a/desktop_version/src/Editor.cpp +++ b/desktop_version/src/Editor.cpp @@ -48,6 +48,8 @@ editorclass::editorclass(void) register_tool(EditorTool_WARP_LINES, "Warp Lines", "I", SDLK_I, false); register_tool(EditorTool_CREWMATES, "Crewmates", "O", SDLK_O, false); register_tool(EditorTool_START_POINT, "Start Point", "P", SDLK_P, false); + register_tool(EditorTool_DAMAGE_BOXES, "Damage Boxes", "D", SDLK_D, false); + register_tool(EditorTool_COLLISION_BOXES, "Collision Boxes", "K", SDLK_K, false); static const short basic[] = { 121, 121, 121, 121, 121, 121, 121, 160, 121, 121, 121, 121, 121, 121, 121, @@ -1128,29 +1130,40 @@ static void draw_entities(void) case 21: // Collision Boxes graphics.draw_rect(x, y, entity->p1 * 8, entity->p2 * 8, graphics.getRGB(255, 255, 255)); graphics.draw_rect(x, y, 8, 8, graphics.getRGB(255, 255, 255)); + if (i == edent_under_cursor) + { + int length = font::len(PR_BOR | PR_CJK_HIGH, loc::gettext("Solid Collision")); + int text_x = SDL_clamp(x, 0, (SCREEN_WIDTH_PIXELS - length)); + font::print(PR_BOR | PR_CJK_HIGH, text_x, y - 8, loc::gettext("Solid Collision"), 210, 210, 255); + } break; case 22: // Damage Boxes { int draw_y = y; int height = entity->p2 * 8; + const char* text; switch (entity->p3) { default: + text = loc::gettext("Damage"); break; case 1: // Top Spikes draw_y += 4; height -= 4; + text = loc::gettext("Damage: Top Spikes"); break; case 2: // Bottom Spikes height -= 4; + text = loc::gettext("Damage: Bottom Spikes"); break; case 3: // Side Spikes draw_y += 3; height -= 6; + text = loc::gettext("Damage: Side Spikes"); break; } @@ -1159,8 +1172,35 @@ static void draw_entities(void) font::print(PR_FONT_8X8 | PR_BOR, skull_x, skull_y, "\xE2\x98\xA0", 255, 255, 255); + // Draw indication spikes + switch (entity->p3) + { + default: + break; + case 1: + // Top Spikes + font::print(PR_FONT_8X8 | PR_BOR, skull_x, skull_y - 8, "\xE2\x96\xB2", 255, 255, 255); + break; + case 2: + // Bottom Spikes + font::print(PR_FONT_8X8 | PR_BOR, skull_x, skull_y + 8, "\xE2\x96\xBC", 255, 255, 255); + break; + case 3: + // Side Spikes + font::print(PR_FONT_8X8 | PR_BOR, skull_x - 8, skull_y, "\xE2\x97\x80", 255, 255, 255); + font::print(PR_FONT_8X8 | PR_BOR, skull_x + 8, skull_y, "\xE2\x96\xB6", 255, 255, 255); + break; + } + graphics.draw_rect(x, draw_y, entity->p1 * 8, height, graphics.getRGB(255, 164, 164)); graphics.draw_rect(x, y, 8, 8, graphics.getRGB(255, 255, 255)); + + if (i == edent_under_cursor) + { + int length = font::len(PR_BOR | PR_CJK_HIGH, text); + int text_x = SDL_clamp(x, 0, (SCREEN_WIDTH_PIXELS - length)); + font::print(PR_BOR | PR_CJK_HIGH, text_x, y - 8, text, 210, 210, 255); + } break; } case 23: // Directional Boxes @@ -1169,42 +1209,78 @@ static void draw_entities(void) int arrow_x = x + (entity->p1 - 1) * 4; int arrow_y = y + (entity->p2 - 1) * 4; + const char* text = "?"; + if (customentities[i].p3 == 0) { // UP ARROW font::print(PR_FONT_8X8 | PR_BOR, arrow_x, arrow_y, "\xE2\x86\x91", 255, 255, 255); + text = loc::gettext("One-Way: UP"); } else if (customentities[i].p3 == 1) { // DOWN ARROW font::print(PR_FONT_8X8 | PR_BOR, arrow_x, arrow_y, "\xE2\x86\x93", 255, 255, 255); + text = loc::gettext("One-Way: DOWN"); } else if (customentities[i].p3 == 2) { // LEFT ARROW font::print(PR_FONT_8X8 | PR_BOR, arrow_x, arrow_y, "\xE2\x86\x90", 255, 255, 255); + text = loc::gettext("One-Way: LEFT"); } else if (customentities[i].p3 == 3) { // RIGHT ARROW font::print(PR_FONT_8X8 | PR_BOR, arrow_x, arrow_y, "\xE2\x86\x92", 255, 255, 255); + text = loc::gettext("One-Way: RIGHT"); } + graphics.draw_rect(x, y, entity->p1 * 8, entity->p2 * 8, graphics.getRGB(255, 255, 164)); + graphics.draw_rect(x, y, 8, 8, graphics.getRGB(255, 255, 255)); + + if (i == edent_under_cursor) + { + int length = font::len(PR_BOR | PR_CJK_HIGH, text); + int text_x = SDL_clamp(x, 0, (SCREEN_WIDTH_PIXELS - length)); + font::print(PR_BOR | PR_CJK_HIGH, text_x, y - 8, text, 210, 210, 255); + } break; } case 24: // Safe Boxes graphics.draw_rect(x, y, entity->p1 * 8, entity->p2 * 8, graphics.getRGB(164, 255, 255)); graphics.draw_rect(x, y, 8, 8, graphics.getRGB(255, 255, 255)); + + if (i == edent_under_cursor) + { + int length = font::len(PR_BOR | PR_CJK_HIGH, loc::gettext("Solid For Enemies")); + int text_x = SDL_clamp(x, 0, (SCREEN_WIDTH_PIXELS - length)); + font::print(PR_BOR | PR_CJK_HIGH, text_x, y - 8, loc::gettext("Solid For Enemies"), 210, 210, 255); + } break; case 25: // Gamestate Triggers { graphics.draw_rect(x, y, entity->p1 * 8, entity->p2 * 8, graphics.getRGB(164, 255, 164)); graphics.draw_rect(x, y, 8, 8, graphics.getRGB(255, 255, 255)); - int arrow_x = x + (entity->p1 - 1) * 4; - int arrow_y = y + (entity->p2 - 1) * 4; + int id_x = x + (entity->p1 - 1) * 4; + int id_y = y + (entity->p2 - 1) * 4; - font::print(PR_FONT_LEVEL | PR_BOR | PR_CJK_HIGH, arrow_x, arrow_y, help.String(entity->p3), 255, 255, 255); + font::print(PR_BOR | PR_CJK_HIGH, id_x, id_y, help.String(entity->p3), 255, 255, 255); + + if (i == edent_under_cursor) + { + char buffer[SCREEN_WIDTH_CHARS + 1]; + vformat_buf(buffer, sizeof(buffer), + loc::gettext("Gamestate: {id}"), + "id:int", + entity->p3 + ); + + int length = font::len(PR_BOR | PR_CJK_HIGH, buffer); + int text_x = SDL_clamp(x, 0, (SCREEN_WIDTH_PIXELS - length)); + font::print(PR_BOR | PR_CJK_HIGH, text_x, y - 8, buffer, 210, 210, 255); + } break; } case 50: // Warp Lines @@ -1445,6 +1521,8 @@ static void draw_cursor(void) case EditorTool_GRAVITY_LINES: case EditorTool_ROOMTEXT: case EditorTool_SCRIPTS: + case EditorTool_DAMAGE_BOXES: + case EditorTool_COLLISION_BOXES: // 1x1 graphics.draw_rect(x, y, 8, 8, blue); break; @@ -1587,6 +1665,15 @@ static void draw_box_placer() case BoxType_PLATFORM: message = loc::gettext("PLATFORM BOUNDS: Click on the first corner"); break; + case BoxType_ACTIVITY_ZONE: + message = loc::gettext("ACTIVITY ZONE: Click on the first corner"); + break; + case BoxType_COLLISION_BOXES: + message = loc::gettext("COLLISION BOX: Click on the first corner"); + break; + case BoxType_DAMAGE_BOXES: + message = loc::gettext("DAMAGE BOX: Click on the first corner"); + break; default: message = loc::gettext("Click on the first corner"); break; @@ -1605,6 +1692,15 @@ static void draw_box_placer() case BoxType_PLATFORM: message = loc::gettext("PLATFORM BOUNDS: Click on the last corner"); break; + case BoxType_ACTIVITY_ZONE: + message = loc::gettext("ACTIVITY ZONE: Click on the last corner"); + break; + case BoxType_COLLISION_BOXES: + message = loc::gettext("COLLISION BOX: Click on the last corner"); + break; + case BoxType_DAMAGE_BOXES: + message = loc::gettext("DAMAGE BOX: Click on the last corner"); + break; default: message = loc::gettext("Click on the last corner"); break; @@ -1852,6 +1948,13 @@ void editorclass::draw_tool(EditorTools tool, int x, int y) case EditorTool_START_POINT: graphics.draw_sprite(x, y, 184, graphics.col_crewcyan); break; + case EditorTool_DAMAGE_BOXES: + graphics.draw_rect(x + 2, y + 2, 12, 12, graphics.getRGB(255, 164, 164)); + font::print(PR_FONT_8X8 | PR_BOR, x + 4, y + 4, "\xE2\x98\xA0", 255, 255, 255); + break; + case EditorTool_COLLISION_BOXES: + graphics.draw_rect(x + 2, y + 2, 12, 12, graphics.getRGB(255, 255, 255)); + break; default: break; } @@ -2713,6 +2816,41 @@ void editorclass::entity_clicked(const int index) get_input_line(TEXT_SCRIPT, "Enter script name:", &entity->scriptname); text_entity = index; break; + case 20: + // Activity Zones + commit_entity(index); + get_input_line(TEXT_SCRIPT, "Enter script name:", &entity->scriptname); + text_entity = index; + break; + case 22: + // Damage Boxes + commit_entity(index); + entity->p3 = (entity->p3 + 1) % 4; + break; + + // Cycle here: Collision box -> all direction boxes -> safe box -> collision box + case 21: + // Collision Boxes + commit_entity(index); + entity->t = 23; // Turn it into directional boxes + entity->p3 = 0; + break; + case 23: + // Directional Boxes + commit_entity(index); + entity->p3 = (entity->p3 + 1); + + if (entity->p3 == 4) + { + entity->t = 24; // Turn it into a safe box + entity->p3 = 0; + } + break; + case 24: + // Safe Boxes + commit_entity(index); + entity->t = 21; // Turn it into a collision box + break; } } @@ -2813,7 +2951,7 @@ void editorclass::tool_place() case EditorTool_SCRIPTS: substate = EditorSubState_DRAW_BOX; box_corner = BoxCorner_LAST; - box_type = BoxType_SCRIPT; + box_type = (z_modifier) ? BoxType_ACTIVITY_ZONE : BoxType_SCRIPT; box_point.x = tilex * 8; box_point.y = tiley * 8; @@ -2878,6 +3016,24 @@ void editorclass::tool_place() } add_entity(levx, levy, tilex, tiley, 16, 0); break; + case EditorTool_DAMAGE_BOXES: + substate = EditorSubState_DRAW_BOX; + box_corner = BoxCorner_LAST; + box_type = BoxType_DAMAGE_BOXES; + box_point.x = tilex * 8; + box_point.y = tiley * 8; + + lclickdelay = 1; + break; + case EditorTool_COLLISION_BOXES: + substate = EditorSubState_DRAW_BOX; + box_corner = BoxCorner_LAST; + box_type = BoxType_COLLISION_BOXES; + box_point.x = tilex * 8; + box_point.y = tiley * 8; + + lclickdelay = 1; + break; default: break; } @@ -3850,6 +4006,13 @@ void editorinput(void) ed.add_entity(ed.levx, ed.levy, left / 8, top / 8, 19, (right - left) / 8, (bottom - top) / 8); + ed.get_input_line(TEXT_SCRIPT, "Enter script name:", &(customentities[ed.text_entity].scriptname)); + break; + case BoxType_ACTIVITY_ZONE: + ed.text_entity = customentities.size(); + + ed.add_entity(ed.levx, ed.levy, left / 8, top / 8, 20, (right - left) / 8, (bottom - top) / 8, 35); + ed.get_input_line(TEXT_SCRIPT, "Enter script name:", &(customentities[ed.text_entity].scriptname)); break; case BoxType_ENEMY: @@ -3864,6 +4027,15 @@ void editorinput(void) cl.setroomplatx2(ed.levx, ed.levy, right); cl.setroomplaty2(ed.levx, ed.levy, bottom); break; + case BoxType_DAMAGE_BOXES: + ed.add_entity(ed.levx, ed.levy, left / 8, top / 8, 22, (right - left) / 8, (bottom - top) / 8); + break; + case BoxType_COLLISION_BOXES: + ed.add_entity(ed.levx, ed.levy, left / 8, top / 8, 21, (right - left) / 8, (bottom - top) / 8); + break; + case BoxType_DIRECTIONAL_BOXES: + ed.add_entity(ed.levx, ed.levy, left / 8, top / 8, 23, (right - left) / 8, (bottom - top) / 8); + break; case BoxType_COPY: // Unused break; diff --git a/desktop_version/src/Editor.h b/desktop_version/src/Editor.h index aa2f648b..64b98ec0 100644 --- a/desktop_version/src/Editor.h +++ b/desktop_version/src/Editor.h @@ -49,6 +49,8 @@ enum EditorTools EditorTool_WARP_LINES, EditorTool_CREWMATES, EditorTool_START_POINT, + EditorTool_DAMAGE_BOXES, + EditorTool_COLLISION_BOXES, NUM_EditorTools }; @@ -85,7 +87,11 @@ enum BoxTypes BoxType_SCRIPT, BoxType_ENEMY, BoxType_PLATFORM, - BoxType_COPY + BoxType_COPY, + BoxType_ACTIVITY_ZONE, + BoxType_DAMAGE_BOXES, + BoxType_COLLISION_BOXES, + BoxType_DIRECTIONAL_BOXES }; enum BoxCorner