♻️Clean up automap code
Use Point for x,y pairs. Make helpers for drawing door and squares
This commit is contained in:
parent
559229dea1
commit
654a2b8834
17 changed files with 416 additions and 458 deletions
|
|
@ -146,7 +146,7 @@ void PrintDebugPlayer(bool bNextPlayer)
|
|||
NetSendCmdString(1 << myplr, dstr);
|
||||
sprintf(dstr, " Lvl = %i : Change = %i", plr[dbgplr].plrlevel, plr[dbgplr]._pLvlChanging);
|
||||
NetSendCmdString(1 << myplr, dstr);
|
||||
const Point target = plr[dbgplr].GetTargetPosition();
|
||||
Point target = plr[dbgplr].GetTargetPosition();
|
||||
sprintf(dstr, " x = %i, y = %i : tx = %i, ty = %i", plr[dbgplr].position.tile.x, plr[dbgplr].position.tile.y, target.x, target.y);
|
||||
NetSendCmdString(1 << myplr, dstr);
|
||||
sprintf(dstr, " mode = %i : daction = %i : walk[0] = %i", plr[dbgplr]._pmode, plr[dbgplr].destAction, plr[dbgplr].walkpath[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue