Time stuff
This commit is contained in:
@@ -41,7 +41,6 @@ void renderOverworldDraw(void) {
|
||||
|
||||
for(uint8_t i = 0; i < CHUNK_MAP_COUNT; i++) {
|
||||
renderchunk_t *chunk = &RENDER_OVERWORLD.chunks[i];
|
||||
// meshDraw(&chunk->meshBase, 0, CHUNK_TILE_COUNT * QUAD_VERTEX_COUNT);
|
||||
meshDraw(&chunk->meshBase, -1, -1);
|
||||
}
|
||||
|
||||
@@ -53,8 +52,8 @@ void renderOverworldDraw(void) {
|
||||
// Draw the entity
|
||||
spriteBatchPush(
|
||||
NULL,
|
||||
entity->x, entity->y,
|
||||
entity->x + TILE_WIDTH_HEIGHT, entity->y + TILE_WIDTH_HEIGHT,
|
||||
floorf(entity->x), floorf(entity->y),
|
||||
floorf(entity->x + TILE_WIDTH_HEIGHT), floorf(entity->y + TILE_WIDTH_HEIGHT),
|
||||
0xFF, 0x00, 0xFF, 0XFF,
|
||||
0.0f, 0.0f, 1.0f, 1.0f
|
||||
);
|
||||
|
Reference in New Issue
Block a user