- Added the actor's address to the info CCMD's output so that you can locate actors in the world

and then examine them more closely in the debugger.

SVN r3644 (trunk)
This commit is contained in:
Randy Heit 2012-05-12 23:59:18 +00:00
parent f421f2411d
commit dc2010105b

View file

@ -5874,7 +5874,7 @@ int StoreDropItemChain(FDropItem *chain)
return DropItemList.Push (chain) + 1;
}
void PrintMiscActorInfo(AActor * query)
void PrintMiscActorInfo(AActor *query)
{
if (query)
{
@ -5891,7 +5891,7 @@ void PrintMiscActorInfo(AActor * query)
static const char * renderstyles[]= {"None", "Normal", "Fuzzy", "SoulTrans",
"OptFuzzy", "Stencil", "Translucent", "Add", "Shaded", "TranslucentStencil"};
Printf("%s has the following flags:\n\tflags: %x", query->GetTag(), query->flags);
Printf("%s @ %p has the following flags:\n\tflags: %x", query->GetTag(), query, query->flags);
for (flagi = 0; flagi < 31; flagi++)
if (query->flags & 1<<flagi) Printf(" %s", FLAG_NAME(1<<flagi, flags));
Printf("\n\tflags2: %x", query->flags2);