mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 03:10:54 +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);
|
||||
y += lineStep;
|
||||
}
|
||||
// Skeleton Ptr
|
||||
TextContext->printfAt(x, y, "Skel Ptr: %p", &_Skeleton);
|
||||
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);
|
||||
// Skeleton Ptr, Animset Ptr and Current State Ptr
|
||||
TextContext->printfAt(x, y, "Skel Ptr: %p - AnimSet Ptr: %p - State Ptr: %p", &_Skeleton, _CurrentAnimSet[MOVE], _CurrentState);
|
||||
y += lineStep;
|
||||
// Display the target mount and rider.
|
||||
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
|
||||
{
|
||||
// Type
|
||||
TextContext->printfAt(x, y, "Type: %d", Type);
|
||||
y += lineStep;
|
||||
// Slot
|
||||
TextContext->printfAt(x, y, "Slot: %d", _Slot);
|
||||
// Type and slot
|
||||
TextContext->printfAt(x, y, "Type: %d - Slot: %d", Type, _Slot);
|
||||
y += lineStep;
|
||||
// Outpost
|
||||
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
|
||||
TextContext->printfAt(x, y, "Name not received");
|
||||
y += lineStep;
|
||||
// Target
|
||||
TextContext->printfAt(x, y, "Target: %d", _TargetSlot);
|
||||
y += lineStep;
|
||||
// DataSet Id
|
||||
TextContext->printfAt(x, y, "DataSet Id: %u", _DataSetId);
|
||||
// Target and DataSet Id
|
||||
TextContext->printfAt(x, y, "Target: %d - DataSet Id: %u", _TargetSlot, _DataSetId);
|
||||
y += lineStep;
|
||||
// Sheet Id
|
||||
TextContext->printfAt(x, y, "Sheet: %d(%s)", _SheetId.asInt(), _SheetId.toString().c_str());
|
||||
|
|
Loading…
Reference in a new issue