mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-29 23:26:00 +00:00
Save space in debug screen to display VPB and VPC
--HG-- branch : develop
This commit is contained in:
parent
b4e0b46ac9
commit
7cecd18eee
2 changed files with 6 additions and 18 deletions
|
@ -8388,14 +8388,8 @@ ADD_METHOD(void CCharacterCL::displayDebug(float x, float &y, float lineStep)) /
|
||||||
TextContext->printfAt(x, y, "Prim Pos: %f %f %f", primFinalPos.x, primFinalPos.y, primFinalPos.z);
|
TextContext->printfAt(x, y, "Prim Pos: %f %f %f", primFinalPos.x, primFinalPos.y, primFinalPos.z);
|
||||||
y += lineStep;
|
y += lineStep;
|
||||||
}
|
}
|
||||||
// Skeleton Ptr
|
// Skeleton Ptr, Animset Ptr and Current State Ptr
|
||||||
TextContext->printfAt(x, y, "Skel Ptr: %p", &_Skeleton);
|
TextContext->printfAt(x, y, "Skel Ptr: %p - AnimSet Ptr: %p - State Ptr: %p", &_Skeleton, _CurrentAnimSet[MOVE], _CurrentState);
|
||||||
y += lineStep;
|
|
||||||
// Animset Ptr
|
|
||||||
TextContext->printfAt(x, y, "AnimSet Ptr: %p", _CurrentAnimSet[MOVE]);
|
|
||||||
y += lineStep;
|
|
||||||
// Current State Ptr
|
|
||||||
TextContext->printfAt(x, y, "State Ptr: %p", _CurrentState);
|
|
||||||
y += lineStep;
|
y += lineStep;
|
||||||
// Display the target mount and rider.
|
// Display the target mount and rider.
|
||||||
TextContext->printfAt(x, y, "Mount: %3u(Theoretical: %3u) Rider: %3u(Theoretical: %3u)", mount(), _TheoreticalMount, rider(), _TheoreticalRider);
|
TextContext->printfAt(x, y, "Mount: %3u(Theoretical: %3u) Rider: %3u(Theoretical: %3u)", mount(), _TheoreticalMount, rider(), _TheoreticalRider);
|
||||||
|
|
|
@ -2104,11 +2104,8 @@ void CEntityCL::setEntityName(const ucstring &name)
|
||||||
//---------------------------------------------------
|
//---------------------------------------------------
|
||||||
void CEntityCL::displayDebug(float x, float &y, float lineStep) // virtual
|
void CEntityCL::displayDebug(float x, float &y, float lineStep) // virtual
|
||||||
{
|
{
|
||||||
// Type
|
// Type and slot
|
||||||
TextContext->printfAt(x, y, "Type: %d", Type);
|
TextContext->printfAt(x, y, "Type: %d - Slot: %d", Type, _Slot);
|
||||||
y += lineStep;
|
|
||||||
// Slot
|
|
||||||
TextContext->printfAt(x, y, "Slot: %d", _Slot);
|
|
||||||
y += lineStep;
|
y += lineStep;
|
||||||
// Outpost
|
// Outpost
|
||||||
TextContext->printfAt(x, y, "Outpost id:%d side:%s",this->getOutpostId(),OUTPOSTENUMS::toString(this->getOutpostSide()).c_str() );
|
TextContext->printfAt(x, y, "Outpost id:%d side:%s",this->getOutpostId(),OUTPOSTENUMS::toString(this->getOutpostSide()).c_str() );
|
||||||
|
@ -2119,11 +2116,8 @@ void CEntityCL::displayDebug(float x, float &y, float lineStep) // virtual
|
||||||
else
|
else
|
||||||
TextContext->printfAt(x, y, "Name not received");
|
TextContext->printfAt(x, y, "Name not received");
|
||||||
y += lineStep;
|
y += lineStep;
|
||||||
// Target
|
// Target and DataSet Id
|
||||||
TextContext->printfAt(x, y, "Target: %d", _TargetSlot);
|
TextContext->printfAt(x, y, "Target: %d - DataSet Id: %u", _TargetSlot, _DataSetId);
|
||||||
y += lineStep;
|
|
||||||
// DataSet Id
|
|
||||||
TextContext->printfAt(x, y, "DataSet Id: %u", _DataSetId);
|
|
||||||
y += lineStep;
|
y += lineStep;
|
||||||
// Sheet Id
|
// Sheet Id
|
||||||
TextContext->printfAt(x, y, "Sheet: %d(%s)", _SheetId.asInt(), _SheetId.toString().c_str());
|
TextContext->printfAt(x, y, "Sheet: %d(%s)", _SheetId.asInt(), _SheetId.toString().c_str());
|
||||||
|
|
Loading…
Reference in a new issue