Time stuff

This commit is contained in:
2025-08-17 16:11:22 -05:00
parent 6d6a0e4886
commit 3d4317260f
20 changed files with 176 additions and 17 deletions

View File

@@ -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
);