Maintenance: [forced, user-approved] Family F5: remove ModeTooltip (agent 3 hand-off row 129). ModeTooltip::Show 0xAD6510 (fn_17834)

Batch #10237 by ragnarok-clanker: forced by an admin (0 lower score(s), 90 changed function(s)); checked with 262 compiled unit(s), including every includer of Source/Client/Mode/CMode.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 10:40:48 +00:00
commit 5670d7801d
45 changed files with 182 additions and 205 deletions

View file

@ -1,10 +1,10 @@
#include "UI/Window/UINewSelectCharWnd.h"
#include "Client/Mode/ModeTooltip.h"
#include "Render/DeviceContext/DeviceContext.h"
#include "Resource/Bitmap/BitmapResource.h"
#include "Resource/ResourceMgr.h"
#include "UI/Buttons/UIButton.h"
#include "UI/UIStaticBitmap.h"
#include "Client/Mode/CMode.h"
// OFFSET: 0x00850430
// FUNCTION: fn_10676
@ -81,7 +81,7 @@ void UIStaticBitmap::Slot28(int x, int y) {
screenY = (screenY + window->geometry.y);
}
static_cast<ModeTooltip*>(g_charViewMode)->Show(this->tooltip.c_str(), screenX, screenY, -1, false, true);
static_cast<CMode*>(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), screenX, screenY, -1, false, true);
}
}