| 141 | } |
| 142 | |
| 143 | void PrintDebugPlayer(BOOL bNextPlayer) |
| 144 | { |
| 145 | char dstr[128]; |
| 146 | |
| 147 | if (bNextPlayer) |
| 148 | dbgplr = ((BYTE)dbgplr + 1) & 3; |
| 149 | |
| 150 | sprintf(dstr, "Plr %i : Active = %i", dbgplr, plr[dbgplr].plractive); |
| 151 | NetSendCmdString(1 << myplr, dstr); |
| 152 | |
| 153 | if (plr[dbgplr].plractive) { |
| 154 | sprintf(dstr, " Plr %i is %s", dbgplr, plr[dbgplr]._pName); |
| 155 | NetSendCmdString(1 << myplr, dstr); |
| 156 | sprintf(dstr, " Lvl = %i : Change = %i", plr[dbgplr].plrlevel, plr[dbgplr]._pLvlChanging); |
| 157 | NetSendCmdString(1 << myplr, dstr); |
| 158 | sprintf(dstr, " x = %i, y = %i : tx = %i, ty = %i", plr[dbgplr].WorldX, plr[dbgplr].WorldY, plr[dbgplr]._ptargx, plr[dbgplr]._ptargy); |
| 159 | NetSendCmdString(1 << myplr, dstr); |
| 160 | sprintf(dstr, " mode = %i : daction = %i : walk[0] = %i", plr[dbgplr]._pmode, plr[dbgplr].destAction, plr[dbgplr].walkpath[0]); |
| 161 | NetSendCmdString(1 << myplr, dstr); |
| 162 | sprintf(dstr, " inv = %i : hp = %i", plr[dbgplr]._pInvincible, plr[dbgplr]._pHitPoints); |
| 163 | NetSendCmdString(1 << myplr, dstr); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | void PrintDebugQuest() |
| 168 | { |
no test coverage detected