ref: 1b0ebfe25d338ff6f9e05d4c3162f3a4b65a25c4
parent: 8c9aac9594b23080fa8647ea30dd05a02f3f6bfa
author: Gabriel Ravier <gabravier@gmail.com>
date: Tue May 7 14:10:54 EDT 2019
Revert RECT formatting changes Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/src/BossAlmo1.cpp
+++ b/src/BossAlmo1.cpp
@@ -13,8 +13,7 @@
static void ActBossChar_Core_Face(NPCHAR *npc)
{
- RECT rect[4] =
- {
+ RECT rect[4] = {
{0, 0, 72, 112},
{0, 112, 72, 224},
{160, 0, 232, 112},
@@ -63,8 +62,7 @@
static void ActBossChar_Core_Tail(NPCHAR *npc)
{
- RECT rect[3] =
- {
+ RECT rect[3] = {
{72, 0, 160, 112},
{72, 112, 160, 224},
{0, 0, 0, 0},
--- a/src/BossAlmo2.cpp
+++ b/src/BossAlmo2.cpp
@@ -14,8 +14,7 @@
static void ActBossCharA_Head(NPCHAR *npc)
{
- RECT rect[4] =
- {
+ RECT rect[4] = {
{0, 0, 72, 112},
{0, 112, 72, 224},
{160, 0, 232, 112},
@@ -62,8 +61,7 @@
static void ActBossCharA_Tail(NPCHAR *npc)
{
- RECT rect[3] =
- {
+ RECT rect[3] = {
{72, 0, 160, 112},
{72, 112, 160, 224},
{0, 0, 0, 0},
@@ -109,8 +107,7 @@
static void ActBossCharA_Face(NPCHAR *npc)
{
- RECT rect[5] =
- {
+ RECT rect[5] = {
{0, 0, 0, 0},
{160, 112, 232, 152},
{160, 152, 232, 192},
@@ -177,8 +174,7 @@
{
int deg;
- RECT rect[3] =
- {
+ RECT rect[3] = {
{256, 0, 320, 40},
{256, 40, 320, 80},
{256, 80, 320, 120},
--- a/src/BossBallos.cpp
+++ b/src/BossBallos.cpp
@@ -13,8 +13,7 @@
static void ActBossChar_Eye(NPCHAR *npc)
{
- RECT rcLeft[5] =
- {
+ RECT rcLeft[5] = {
{272, 0, 296, 16},
{272, 16, 296, 32},
{272, 32, 296, 48},
@@ -22,8 +21,7 @@
{240, 16, 264, 32},
};
- RECT rcRight[5] =
- {
+ RECT rcRight[5] = {
{296, 0, 320, 16},
{296, 16, 320, 32},
{296, 32, 320, 48},
@@ -106,8 +104,7 @@
static void ActBossChar_Body(NPCHAR *npc)
{
- RECT rc[4] =
- {
+ RECT rc[4] = {
{0, 0, 120, 120},
{120, 0, 240, 120},
{0, 120, 120, 240},
--- a/src/BossFrog.cpp
+++ b/src/BossFrog.cpp
@@ -91,8 +91,7 @@
int ym;
int xm;
- RECT rcLeft[9] =
- {
+ RECT rcLeft[9] = {
{0, 0, 0, 0},
{0, 48, 80, 112},
{0, 112, 80, 176},
@@ -104,8 +103,7 @@
{120, 0, 160, 24},
};
- RECT rcRight[9] =
- {
+ RECT rcRight[9] = {
{0, 0, 0, 0},
{80, 48, 160, 112},
{80, 112, 160, 176},
--- a/src/BossIronH.cpp
+++ b/src/BossIronH.cpp
@@ -174,8 +174,7 @@
break;
}
- RECT rc[9] =
- {
+ RECT rc[9] = {
{0, 0, 64, 24},
{64, 0, 128, 24},
{128, 0, 192, 24},
@@ -187,8 +186,7 @@
{256, 48, 320, 72},
};
- RECT rcDamage[9] =
- {
+ RECT rcDamage[9] = {
{0, 24, 64, 48},
{64, 24, 128, 48},
{128, 24, 192, 48},
--- a/src/BossOhm.cpp
+++ b/src/BossOhm.cpp
@@ -41,14 +41,12 @@
{
int i;
- RECT rcLeft[2] =
- {
+ RECT rcLeft[2] = {
{0, 56, 40, 88},
{40, 56, 80, 88},
};
- RECT rcRight[2] =
- {
+ RECT rcRight[2] = {
{0, 88, 40, 120},
{40, 88, 80, 120},
};
@@ -456,8 +454,7 @@
break;
}
- RECT rect[4] =
- {
+ RECT rect[4] = {
{0, 0, 80, 56},
{80, 0, 160, 56},
{160, 0, 240, 56},
--- a/src/BossPress.cpp
+++ b/src/BossPress.cpp
@@ -206,15 +206,13 @@
gBoss[3].x = npc->x;
gBoss[3].y = npc->y + 0x5000;
- RECT rc[3] =
- {
+ RECT rc[3] = {
{0, 0, 80, 120},
{80, 0, 160, 120},
{160, 0, 240, 120},
};
- RECT rcDamage[3] =
- {
+ RECT rcDamage[3] = {
{0, 120, 80, 240},
{80, 120, 160, 240},
{160, 120, 240, 240},
--- a/src/BossTwinD.cpp
+++ b/src/BossTwinD.cpp
@@ -14,15 +14,13 @@
{
unsigned char deg;
- RECT rcLeft[3] =
- {
+ RECT rcLeft[3] = {
{0, 0, 40, 40},
{40, 0, 80, 40},
{80, 0, 120, 40},
};
- RECT rcRight[3] =
- {
+ RECT rcRight[3] = {
{0, 40, 40, 80},
{40, 40, 80, 80},
{80, 40, 120, 80},
@@ -98,8 +96,7 @@
int ym;
int xm;
- RECT rcLeft[4] =
- {
+ RECT rcLeft[4] = {
{0, 80, 40, 112},
{40, 80, 80, 112},
{80, 80, 120, 112},
@@ -106,8 +103,7 @@
{120, 80, 160, 112},
};
- RECT rcRight[4] =
- {
+ RECT rcRight[4] = {
{0, 112, 40, 144},
{40, 112, 80, 144},
{80, 112, 120, 144},
--- a/src/BossX.cpp
+++ b/src/BossX.cpp
@@ -13,8 +13,7 @@
static void ActBossChar03_01(NPCHAR *npc)
{
- RECT rcUp[6] =
- {
+ RECT rcUp[6] = {
{0, 0, 72, 32},
{0, 32, 72, 64},
{72, 0, 144, 32},
@@ -23,8 +22,7 @@
{144, 32, 216, 64},
};
- RECT rcDown[6] =
- {
+ RECT rcDown[6] = {
{0, 64, 72, 96},
{0, 96, 72, 128},
{72, 64, 144, 96},
@@ -216,8 +214,7 @@
{
int direct;
- RECT rect[4] =
- {
+ RECT rect[4] = {
{0, 128, 72, 160},
{72, 128, 144, 160},
{0, 160, 72, 192},
@@ -369,8 +366,7 @@
int ym;
int xm;
- RECT rect[8] =
- {
+ RECT rect[8] = {
{0, 192, 16, 208},
{16, 192, 32, 208},
{32, 192, 48, 208},
@@ -444,8 +440,7 @@
{
static unsigned char flash;
- RECT rect[3] =
- {
+ RECT rect[3] = {
{216, 0, 320, 48},
{216, 48, 320, 96},
{216, 144, 320, 192},