Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
katajakasa committed Jul 19, 2024
1 parent 4cbab93 commit aa62021
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 35 deletions.
66 changes: 33 additions & 33 deletions src/game/scenes/mechlab/lab_menu_customize.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,77 +28,77 @@ static uint32_t har_prices[11] = {20000, 36000, 26000, 28000, 29000, 32000, 2500

// negative values means the upgrade is unavailable at that level
int32_t arm_leg_prices[11][10] = {
// jaguar
// jaguar
{0, 760, 2280, 5320, 9120, 13680, 22800, 38000, 57000, -1 },
// shadow
// shadow
{0, 800, 2400, 5600, 9600, 14400, 24000, 40000, 60000, 96000 },
// thorn
// thorn
{0, 700, 2100, 4900, 8400, 12600, 21000, 35000, 52500, 84000 },
// pyros
// pyros
{0, 800, 2400, 5600, 9600, 14400, 24000, 40000, 60000, -1 },
// electra
// electra
{0, 1000, 3000, 7000, 12000, 18000, 30000, 50000, 75000, 120000},
// katana
// katana
{0, 660, 1980, 4620, 7920, 11880, 19800, 3300, 49500, -1 },
// shredder
// shredder
{0, 840, 2520, 5880, 10080, 15120, 25200, 42000, 63000, -1 },
// flail
// flail
{0, 740, 2220, 5180, 8880, 13320, 22200, 37000, -1, -1 },
// gargoyle
// gargoyle
{0, 900, 2700, 6300, 10800, 16200, 27000, 45000, 67500, 108000},
// chronos
// chronos
{0, 720, 2160, 5040, 8640, 12960, 21600, 36000, -1, -1 },
// nova
// nova
{0, 1400, 4200, 9800, 16800, 25200, 42000, 70000, -1, -1 }
};

int32_t stun_resistance_prices[11][10] = {
// jaguar
// jaguar
{0, 1140, 3420, 7980, 13680, 20520, 34200, 57000, 85500, -1},
// shadow
// shadow
{0, 1200, 3600, 8400, 14400, 21600, 36000, -1, -1, -1},
// thorn
// thorn
{0, 1050, 3150, 7350, 12600, 18900, 31500, 52500, 78750, -1},
// pyros
// pyros
{0, 1200, 3600, 8400, 14400, 21600, 36000, -1, -1, -1},
// electra
// electra
{0, 1500, 4500, 10500, 18000, 27000, 45000, 75000, -1, -1},
// katana
// katana
{0, 990, 2970, 6930, 11880, 17820, 29700, -1, -1, -1},
// shredder
// shredder
{0, 1260, 3780, 8820, 15120, 22680, 37800, -1, -1, -1},
// flail
// flail
{0, 1110, 3330, 7770, 13320, 19980, 33300, 55500, -1, -1},
// gargoyle
// gargoyle
{0, 1350, 4050, 9450, 16200, 24300, 40500, 67500, -1, -1},
// chronos
// chronos
{0, 1080, 3240, 7560, 12960, 19440, 32400, 54000, -1, -1},
// nova
// nova
{0, 2100, 6300, 14700, 25200, 37800, 63000, -1, -1, -1}
};

int32_t armor_prices[][10] = {
// jaguar
// jaguar
{0, 1900, 5700, 13300, 22800, 34200, -1, -1, -1, -1 },
// shadow
// shadow
{0, 2000, 6000, 14000, 24000, 36000, 60000, 100000, -1, -1 },
// thorn
// thorn
{0, 1750, 5250, 12250, 21000, 31500, 52500, 87500, -1, -1 },
// pyros
// pyros
{0, 2000, 6000, 14000, 24000, 36000, 60000, 100000, 150000, -1 },
// electra
// electra
{0, 2500, 7500, 17500, 30000, 45000, 75000, -1, -1, -1 },
// katana
// katana
{0, 1650, 4950, 11550, 19800, 29700, 49500, 82500, 123750, -1 },
// shredder
// shredder
{0, 2100, 6300, 14700, 25200, 37800, 63000, -1, -1, -1 },
// flail
// flail
{0, 1850, 5550, 12950, 22200, 33300, 55500, 92500, 138750, 222000},
// gargoyle
// gargoyle
{0, 2250, 6750, 15750, 27000, 40500, 67500, -1, -1, -1 },
// chronos
// chronos
{0, 1800, 5400, 12600, 21600, 32400, 54000, -1, -1, -1 },
// nova
// nova
{0, 3500, 10500, 24500, 42000, 63000, 105000, 175000, -1, -1 }
};

Expand Down
2 changes: 1 addition & 1 deletion src/game/scenes/mechlab/lab_menu_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void lab_menu_main_delete(component *c, void *userdata) {
}

static const button_details details_list[] = {
// CB, Text, Text align, Halign, Valigh, Pad top, Pad bottom, Pad left, Pad right, Disable by default
// CB, Text, Text align, Halign, Valigh, Pad top, Pad bottom, Pad left, Pad right, Disable by default
{lab_menu_main_arena, "ARENA", TEXT_HORIZONTAL, TEXT_CENTER, TEXT_TOP, 2, 0, 0, 0, COM_DISABLED},
{lab_menu_main_training_enter, "TRAINING COURSES", TEXT_HORIZONTAL, TEXT_CENTER, TEXT_MIDDLE, 0, 0, 28, 0,
COM_DISABLED },
Expand Down
1 change: 0 additions & 1 deletion src/game/scenes/melee.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ typedef struct {
bool done;
} cursor_data;


#define CURSOR_INDEX(local, player) (5 * local->cursor[player].row + local->cursor[player].column)
#define CURSOR_A_DONE(local) (local->cursor[0].done)
#define CURSOR_B_DONE(local) (local->cursor[1].done)
Expand Down

0 comments on commit aa62021

Please sign in to comment.