Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » EncyclopediaMgrClass
Re: EncyclopediaMgrClass [message #492641 is a reply to message #492639] Fri, 03 November 2017 02:47 Go to previous messageGo to previous message
Neijwiert is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weird walking glitch
Next Topic: Crashed while leaving server
Goto Forum:
  


Current Time: Fri Nov 22 14:42:32 MST 2024

Total time taken to generate the page: 0.01219 seconds