mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
Indentation conventions, use C99 variable length arrays
This commit is contained in:
parent
7878dd6d4b
commit
79f3f3f4d5
@ -163,7 +163,7 @@ void remove_duplicates(struct Graphic *graphic) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool flip_exists(uint8_t *tile, uint8_t *tiles, int tile_size, int num_tiles, bool xflip, bool yflip) {
|
bool flip_exists(uint8_t *tile, uint8_t *tiles, int tile_size, int num_tiles, bool xflip, bool yflip) {
|
||||||
uint8_t *flip = alloca(tile_size);
|
uint8_t flip[tile_size];
|
||||||
int half_size = tile_size / 2;
|
int half_size = tile_size / 2;
|
||||||
for (int i = 0; i < tile_size; i++) {
|
for (int i = 0; i < tile_size; i++) {
|
||||||
int byte = i;
|
int byte = i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user