Add player path tracing in minimap.
This commit is contained in:
parent
820f10c9f8
commit
13b2cb53b3
10 changed files with 166 additions and 4 deletions
|
|
@ -46,6 +46,13 @@ Class SWWMHandler : EventHandler
|
|||
// corruption cards stuff
|
||||
ui bool incardmenu, cardmessaged;
|
||||
|
||||
// ring buffer for player path tracing in minimap
|
||||
const MAX_TRACED_BUFSZ = 8192;
|
||||
transient ui Vector2 traced_steps[MAX_TRACED_BUFSZ];
|
||||
transient ui int traced_steppos, traced_stepnum;
|
||||
transient ui Vector2 oldplayerpos;
|
||||
transient ui bool do_trace_steps;
|
||||
|
||||
enum EProfileTimer
|
||||
{
|
||||
PT_WORLDTICK,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue