source/square.c
// Draws objects that can be collided with and enemies.
Draws objects that can be collided with and enemies.
Draws objects that can be collided with and enemies .
static void drawNPC(void) {
    for (s32 x = 0; x < MAP_WIDTH; x++)
        for (s32 y = 0; y < MAP_HEIGHT; y++)
            if (map[y][x] == 1)
                lineSquare(toPx(x), toPx(y), SW, C_WALL);
            else if (map[y][x] == 2)
                fillSquare(toPx(x), toPx(y), SW, C_ENEMY_SQ);
}
static void drawNPC ( void ) { for ( s32 x = 0 ; x < MAP_WIDTH ; x ++ ) for ( s32 y = 0 ; y < MAP_HEIGHT ; y ++ ) if ( map [ y ] [ x ] == 1 ) lineSquare ( toPx ( x ) , toPx ( y ) , SW , C_WALL ) ; else if ( map [ y ] [ x ] == 2 ) fillSquare ( toPx ( x ) , toPx ( y ) , SW , C_ENEMY_SQ ) ; }
Draws objects that can be collided with and enemies.
Draws objects that can be collided with and enemies .