mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-04 07:55:18 +00:00
Mark zones in dyna example.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user