Maintenance: Name window messaging constants: literal window ids (LookupWindow/EnsureWindow/CloseWindow/... -> WindowId), UIWindowMgr

Batch #14937 by ragnarok-clanker: no function's compiled code changes; checked with 251 compiled unit(s), including every includer of Source/Client/Mode/ModeMessage.h, Source/Contents/Actors/ActorEnums.h, Source/Network/Packets/PartyJoinPacket.h, Source/UI/Window/UIEnums.h, Source/UI/Window/WindowId.h.
This commit is contained in:
ragnarok-clanker 2026-11-08 13:56:42 +00:00
commit 780c281aa2
249 changed files with 8156 additions and 7474 deletions

View file

@ -1,4 +1,5 @@
#include "Contents/SpriteLayerDrawing.h"
#include "Contents/Actors/ActorEnums.h"
#include "Client/Session.h"
#include "Contents/Actors/ActorStateFlags.h"
@ -655,7 +656,7 @@ void SpriteLayerRenderer::DrawLayer(
quad.image = resolved.image;
const std::uint32_t* palette = this->GetPalette(layer, sprite, action);
int effect = 0xA6;
this->pc->SendMsg(nullptr, 0x78, 0, reinterpret_cast<int>(&effect), reinterpret_cast<int>(&effect) >> 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
this->pc->SendMsg(nullptr, AM_IS_HAVE_EFFECT, 0, reinterpret_cast<int>(&effect), reinterpret_cast<int>(&effect) >> 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
int blend;
switch (layer) {