Mark zones in dyna example.

This commit is contained in:
Bartosz Taudul
2026-06-21 23:05:20 +02:00
parent 79e0efac96
commit 9cc8f3752e
9 changed files with 58 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
#include "timer.hpp"
#include "world.hpp"
#include <tracy/Tracy.hpp>
namespace dyna
{
@@ -19,6 +21,7 @@ Player::Player( int gx, int gy )
void Player::tick( World& world )
{
ZoneScoped;
Map& map = world.map();
delta += Timer::delta;
@@ -79,6 +82,7 @@ void Player::tick( World& world )
void Player::draw()
{
ZoneScoped;
const AnimTexture* tex = nullptr;
switch( action )