Black borders.

The project should now be a 1:1 reproduction of the PC game, nice!
This commit is contained in:
KikooDX 2021-03-06 00:45:26 +01:00
parent f7ce3f9765
commit 1bf3f3c80c
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ int main(void) {
dclear(C_BLACK);
level_draw(level, y_offset);
player_draw(player, y_offset);
/* Black borders. */
drect(0, 0, DRAW_OFFSET_X - 1, DHEIGHT, C_BLACK);
drect(DRAW_OFFSET_X + LEVEL_WIDTH_PX, 0, DWIDTH, DHEIGHT, C_BLACK);
dupdate();
}