Re: EncyclopediaMgrClass [message #492641 is a reply to message #492639] |
Fri, 03 November 2017 02:47 |
Neijwiert
Messages: 124 Registered: October 2009
Karma:
|
Recruit |
|
|
jonwil wrote on Fri, 03 November 2017 02:41 | Any reason you cant just use EncyclopediaMgrClass::Is_Object_Revealed instead of doing all that stuff with direct access to KnownObjectVector etc?
As for the inlined copies of Reveal_Object(TYPE,int), there is only one and its inlined into EncyclopediaMgrClass::Reveal_Object(DamageableGameObj *) so you could hook that alongside Reveal_Object(TYPE,int) if you wanted to.
Either option would be much easier than messing with the entire EncyclopediaMgrClass source (and BooleanVectorClass and etc)
|
Well I need to know if any object is revealed. And yes I could hook both and I am going to. But i realized that after I did all this.
|
|
|