Add AVA2-style display options (effect level, trees, clouds)
Client-only port of ENABLE_GRAPHIC_ON_OFF / HIDE_OBJECTS: five effect levels toggle attached actor effects via Active/Deactive, tree and cloud parts use background.SetVisiblePart, plus shortcuts for the original name and damage options. mt_display window, mt_display.cfg, port.display test, docs/AVA2-DISPLAY.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e22d7ba6fd
commit
e546f91e03
@@ -496,6 +496,9 @@ class CActorInstance : public IActorInstance, public IFlyTargetableObject
|
||||
float GetHeight();
|
||||
void ShowAllAttachingEffect();
|
||||
void HideAllAttachingEffect();
|
||||
// PORT: AVA2 ENABLE_GRAPHIC_ON_OFF. Deactivates (not hides) attached effects, so it does not fight
|
||||
// the assassin invisibility Show/Hide; effects attached while off start deactivated.
|
||||
void SetAttachingEffectShown(bool bShown);
|
||||
void ClearAttachingEffect();
|
||||
|
||||
// Fishing
|
||||
@@ -793,6 +796,7 @@ class CActorInstance : public IActorInstance, public IFlyTargetableObject
|
||||
// Attached Effect
|
||||
std::list<TAttachingEffect> m_AttachingEffectList;
|
||||
bool m_bEffectInitialized;
|
||||
bool m_bAttachingEffectShown = true;
|
||||
|
||||
// material color
|
||||
DWORD m_dwMtrlColor;
|
||||
|
||||
Reference in New Issue
Block a user