mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-24 16:28:54 -05:00
Fix constants bug
This commit is contained in:
parent
0b6fe11e38
commit
535155a60d
@ -378,8 +378,8 @@
|
||||
#define SFG_MAP_PIXEL_SIZE (SFG_GAME_RESOLUTION_Y / SFG_MAP_SIZE)
|
||||
|
||||
#if SFG_MAP_PIXEL_SIZE == 0
|
||||
#undef SFG_MAP_SIZE
|
||||
#define SFG_MAP_SIZE 1
|
||||
#undef SFG_PIXEL_SIZE
|
||||
#define SFG_PIXEL_SIZE 1
|
||||
#endif
|
||||
|
||||
#define SFG_AI_UPDATE_FRAME_INTERVAL \
|
||||
|
2
game.h
2
game.h
@ -4313,8 +4313,6 @@ void SFG_drawWinOverlay()
|
||||
|
||||
RCL_Unit l = (t2 * STRIP_HEIGHT * 4) / SFG_WIN_ANIMATION_DURATION;
|
||||
|
||||
uint8_t n = (t * 5) / SFG_WIN_ANIMATION_DURATION;
|
||||
|
||||
for (uint16_t y = STRIP_START; y < STRIP_START + l; ++y)
|
||||
for (uint16_t x = 0; x < SFG_GAME_RESOLUTION_X; ++x)
|
||||
SFG_setGamePixel(x,y,
|
||||
|
Loading…
Reference in New Issue
Block a user