From 91f729927455fb7e08d21b498037170ee06358d9 Mon Sep 17 00:00:00 2001 From: jacob Date: Tue, 6 Aug 2024 22:16:18 -0500 Subject: [PATCH] re-enable test entities at start --- src/game.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/game.c b/src/game.c index 007c81b7..d85bcfab 100644 --- a/src/game.c +++ b/src/game.c @@ -114,9 +114,9 @@ INTERNAL void spawn_test_entities(void) e->xform = XFORM_TRS(.t = pos, .r = r, .s = size); e->sprite = sprite_tag_from_path(STR("res/graphics/tim.ase")); - e->sprite_span_name = STR("idle.unarmed"); + //e->sprite_span_name = STR("idle.unarmed"); //e->sprite_span_name = STR("idle.one_handed"); - //e->sprite_span_name = STR("idle.two_handed"); + e->sprite_span_name = STR("idle.two_handed"); entity_enable_prop(e, ENTITY_PROP_PLAYER_CONTROLLED); e->player_max_speed = 4.f; @@ -212,13 +212,11 @@ INTERNAL void game_update(void) /* TODO: remove this (testing) */ /* Initialize entities */ -#if 0 static b32 run = 0; if (!run) { run = 1; spawn_test_entities(); } -#endif ++G.world.tick_id; G.world.tick_ts = sys_timestamp();