rodecomp/Source/Contents/World/WorldObjects.cpp
ragnarok-clanker 0f561a5dca Maintenance: Source reorganisation, parts 2+3: Source/UI, Client, Render, Resource, Utility, Network, Archive, Interface and loose So
Batch #16644 by ragnarok-clanker: no function's compiled code changes; checked with 593 compiled unit(s), including every includer of Source/Client/Application/Registry.h, Source/Client/Application/RegistryKey.h, Source/Client/Application/Timer.h, Source/Client/Mode/ModeFade.h, Source/Client/Mode/ModeFadeOut.h, Source/Client/Mode/ModeScreenshot.h, Source/Client/Replay/Replay.h, Source/Client/Replay/ReplayRecordOption.h, Source/Client/Session/Session.h, Source/Contents/Actors/ActorPickNode.h, Source/Contents/Effects/Core/RagEffectState.h, Source/Contents/Effects/Particles/Particle.h, Source/Contents/Movies/BinkMovie.h, Source/Contents/Sprites/SpriteLayerDrawing.h, Source/File/NFileLog.h, Source/Network/NIPAddr.h, Source/Network/Packets/ActorNamePacket.h, Source/Network/Packets/ClientKeepalive.h, Source/Network/Packets/ClientOptionPacket.h, Source/Network/Packets/ExecutableDigestPacket.h, Source/Network/Packets/GameTickPacket.h, Source/Render/DX7/QueuedDrawingDX7.h, Source/Render/DX7/RendererDX7.h, Source/Render/DX9/RenderSystemDX9.h, Source/Render/Device/DeviceSelection.h, Source/Render/Device/Direct3DErrors.h, Source/Render/Device/DisplayMode.h, Source/Render/Device/RenderAdapter.h, Source/Render/Device/RenderBackends.h, Source/Render/Drawing/ActionSpriteDrawing.h, Source/Render/Drawing/BitmapDrawing.h, Source/Render/Drawing/BlendColor.h, Source/Render/Drawing/SpriteGeometry.h, Source/Render/Drawing/TextureStageModes.h, Source/Render/Primitives/AuxiliarySubmission.h, Source/Render/Primitives/SpriteQuad.h, Source/Render/Primitives/TextureQuad.h, Source/Render/Projection/ScreenGeometry.h, Source/Render/Projection/ScreenRectangle.h, Source/Resource/Audio/BinkRuntime.h, Source/Resource/Bitmap/EmblemResource.h, Source/Resource/Bitmap/GifLzw.h, Source/Resource/Bitmap/GifResource.h, Source/Resource/Bitmap/PaletteResource.h, Source/Resource/Bitmap/SkinPalette.h, Source/Resource/Bitmap/TextureNames.h, Source/Resource/Effects/EZeffectResource.h, Source/Resource/Json/JsonCppLoader.h, Source/Resource/Models/RmaResource.h, Source/Resource/Sprites/ImfResource.h, Source/Resource/Xml/XmlNode.h, Source/Security/FileSignatureVerifier.h, Source/Security/ProcessSecurity.h, Source/UI/Achievement/UIAchWnd.h, Source/UI/AdventureGuide/UIAdventureGuide.h, Source/UI/Buttons/UIBalloonOpenBtn.h, Source/UI/Buttons/UIMiniBtnWnd.h, Source/UI/Buttons/UISlotBitmap.h, Source/UI/Buttons/UIStaticBitmap.h, Source/UI/Buttons/UIStaticItem.h, Source/UI/Buttons/UIWindowCallBtnWnd.h, Source/UI/CashEmotion/UICashEmotionSprBtn.h, Source/UI/CashShop/UIMileageWnd.h, Source/UI/CashShop/UIPayConfirmWnd.h, Source/UI/Chat/UIChatRoomWnd.h, Source/UI/Dialogs/UIAccountLimitedToolWnd.h, Source/UI/Dialogs/UICntWnd.h, Source/UI/Dialogs/UILoadingWnd.h, Source/UI/Dialogs/UIMessageBox.h, Source/UI/Dialogs/UIMessageBoxAutoreturn.h, Source/UI/Dialogs/UINormalMB.h, Source/UI/Dialogs/UINoteWnd.h, Source/UI/Dialogs/UINoticeWnd.h, Source/UI/Dialogs/UIRPImageWnd.h, Source/UI/Dialogs/UIRPImageWnd2.h, Source/UI/Dialogs/UITalkboxTrapInputWnd.h, Source/UI/Dialogs/UITransMenuWnd.h, Source/UI/Dialogs/UIVideoWnd.h, Source/UI/Dialogs/UIWordDisplayWnd.h, Source/UI/Edit/UIItemTagCtrl.h, Source/UI/Enchant/EnchantUI.h, Source/UI/Events/UICheckAttendanceWnd.h, Source/UI/Events/UIOpenRoulletteWnd.h, Source/UI/Events/UIRoulletteWnd.h, Source/UI/Exchange/UIExchangeUI.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/GameSettings/UIBattleMsgOptionWnd.h, Source/UI/GameSettings/UIEscOptionWnd.h, Source/UI/GameSettings/UIHotKeyWnd.h, Source/UI/GameSettings/UIHotkeyGuideWnd.h, Source/UI/GameSettings/UIViewCameraInfoWnd.h, Source/UI/Gauges/UIBarGraph.h, Source/UI/Guild/UIEmblemWnd.h, Source/UI/Guild/UIGuildWnd.h, Source/UI/Items/UIChangeMaterialWnd.h, Source/UI/Items/UICollectionSystemWnd.h, Source/UI/Items/UIEquipmentPropertiesWnd.h, Source/UI/Items/UIGradeEnchantWnd.h, Source/UI/Items/UIIngredientInfoWnd.h, Source/UI/Items/UIItemBaseWnd.h, Source/UI/Items/UIItemCollectionWnd.h, Source/UI/Items/UIItemMoveInfo.h, Source/UI/Items/UIItemPurchaseWnd.h, Source/UI/Items/UIItemReformWnd.h, Source/UI/Items/UIItemSellWnd.h, Source/UI/Items/UIItemSellWnd2.h, Source/UI/Items/UIItemShopWnd.h, Source/UI/Items/UIItemShopWnd2.h, Source/UI/Items/UIItemStoreComboBox.h, Source/UI/Items/UIItemStoreFindWnd.h, Source/UI/Items/UIItemStoreSubWnd.h, Source/UI/Items/UIItemStoreWnd.h, Source/UI/Items/UIItemWnd.h, Source/UI/Items/UILapineScrollBar.h, Source/UI/Items/UILapineUpgradeBoxWnd.h, Source/UI/Items/UIMerchantItemLogWnd.h, Source/UI/Items/UIParaItemShopWnd.h, Source/UI/Items/UIPreviewEquipWnd.h, Source/UI/Items/UIRefiningWnd.h, Source/UI/Items/UISecondCostumeWnd.h, Source/UI/Items/UISelectCartWnd.h, Source/UI/Lists/UIComboBoxEx.h, Source/UI/Lists/UIScrollBarVariants.h, Source/UI/Lists/UIScrollWnd.h, Source/UI/Lists/UITagListBox.h, Source/UI/Login/FuncDrawWNDChar.h, Source/UI/Login/UIChangeNameWnd.h, Source/UI/Login/UIDescriptRace.h, Source/UI/Login/UIEmailAddressWnd.h, Source/UI/Login/UILoginOTPWnd.h, Source/UI/Login/UILoginWnd.h, Source/UI/Login/UIMakeCharWnd.h, Source/UI/Login/UINewMakeCharWnd.h, Source/UI/Login/UINewSelectCharWnd.h, Source/UI/Login/UIPasswordWnd.h, Source/UI/Login/UISecondPasswordEditWnd.h, Source/UI/Login/UISelCharForUServerWnd.h, Source/UI/Login/UISelectServerWnd.h, Source/UI/Login/UIWaitDBSaveWnd.h, Source/UI/Macro/UICaptchaPreviewWnd.h, Source/UI/Macro/UICaptchaRegisterWnd.h, Source/UI/Macro/UIMacroBlackListCheckWnd.h, Source/UI/Macro/UIMacroDetectorWnd.h, Source/UI/Macro/UIMacroReport.h, Source/UI/Macro/UIMacroUserInfoWnd.h, Source/UI/Monster/UIMonsterDisplayWnd.h, Source/UI/Monster/UIMonsterInfoWnd.h, Source/UI/Navigation/NavigationLink.h, Source/UI/Navigation/UIChooseWarpWnd.h, Source/UI/Navigation/UIListBoxNavi.h, Source/UI/Navigation/UIListBoxNaviSearch.h, Source/UI/Navigation/UIMemorialDunWnd.h, Source/UI/Navigation/UIMiniMapWnd.h, Source/UI/Navigation/UIMinimapZoomWnd.h, Source/UI/Navigation/UINavigationHelpWnd.h, Source/UI/Navigation/UINavigationWnd.h, Source/UI/Navigation/UIRoMapWnd.h, Source/UI/Navigation/UIScrollBarNavi.h, Source/UI/Navigation/UIShowWarpWnd.h, Source/UI/Party/MiniPartyGrid.h, Source/UI/Party/MiniPartyPlacement.h, Source/UI/Party/MiniPartyWndAreaMgr.h, Source/UI/Party/UIJobSlotButton.h, Source/UI/Party/UIPartyBookingHelpWnd.h, Source/UI/Party/UISeekPartyListWnd.h, Source/UI/Party/UISeekPartyMBWnd.h, Source/UI/Party/UISeekPartyWnd.h, Source/UI/ProbabilityTable/UIProbabilityTable.h, Source/UI/Quest/UINotifyQuestWnd.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Quest/UIRecommendedQuestInfo.h, Source/UI/Quest/UIRenewQuestUI.h, Source/UI/Quest/UIRenewQuestWnd.h, Source/UI/Replay/UIReplayButton.h, Source/UI/Replay/UIReplayControlWnd.h, Source/UI/Replay/UIReplayListBox.h, Source/UI/Replay/UIReplayRECControlWnd.h, Source/UI/Replay/UISelectReplayDataWnd.h, Source/UI/Repute/UIReputeWnd.h, Source/UI/Rodex/UIOpenMailBoxWnd.h, Source/UI/Rodex/UIRodexContentsWnd.h, Source/UI/Rodex/UIRodexInboxWnd.h, Source/UI/RuneSystem/UIRuneSystemWindows.h, Source/UI/RuneSystem/UIRuneSystemWnd.h, Source/UI/SelectPackageItemBox/SelectPackageItemBox.h, Source/UI/SelectPackageItemBox/UIPackageBoxNameList.h, Source/UI/Shop/PriceCommission.h, Source/UI/Shop/UIBank_NewWnd.h, Source/UI/Shop/UIBartermarketWnd.h, Source/UI/Shop/UIMerchantItemMyShopWnd.h, Source/UI/Shop/UIMerchantItemPurchaseWnd.h, Source/UI/Shop/UIMerchantItemShopWnd.h, Source/UI/Shop/UIMerchantItemWnd.h, Source/UI/Shop/UIMerchantMirrorItemWnd.h, Source/UI/Shop/UISerachStoreInfoWnd.h, Source/UI/Shop/UInCash_CallWnd.h, Source/UI/Skill/UIDebuffRemoveWnd.h, Source/UI/Skill/UIGraffiStrboxWnd.h, Source/UI/Skill/UINewSkillListWnd.h, Source/UI/SkillDelayInfo/SkillDelayInfo.h, Source/UI/Status/UIBasicInfoWnd.h, Source/UI/Status/UIHomunInfoWnd.h, Source/UI/Status/UIJobListWnd.h, Source/UI/Status/UIMerInfoWnd.h, Source/UI/Status/UIPetEvolutionWnd.h, Source/UI/Status/UIPetInfoWnd.h, Source/UI/Status/UIPetTamingDeceiveWnd.h, Source/UI/Status/UIRebirthWnd.h, Source/UI/StylingShop/UIStylingShopWnd.h, Source/UI/Text/TextTags.h, Source/UI/Text/UIBroadcastBalloon.h, Source/UI/Text/UIRoundBoxTooltipWnd.h, Source/UI/Window/FrameSkin.h, Source/UI/Window/UIBasicCtrl.h, Source/UI/Window/UIControl.h, Source/UI/Window/UIWindowMgr.inl, Source/Utility/Cipher/EncryptedName.h, Source/Utility/Hash/CRC32.h, Source/Utility/Hash/GGHash.h, Source/Utility/Hash/GGHashMgr.h, Source/Utility/Hash/Md5State.h, Source/Utility/Hash/SHA3.h, Source/Utility/Hash/XxHash3.h, Source/Utility/Text/GuidParse.h, Source/Utility/Text/Tokenizer.h, Source/Utility/Zlib.h, Source/ActorPickNode.h, Source/Client/ModeFade.h, Source/Client/ModeFadeOut.h, Source/Client/ModeScreenshot.h, Source/Client/Registry.h, Source/Client/Replay.h, Source/Client/ReplayRecordOption.h, Source/Client/Session.h, Source/Client/Timer.h, Source/Network/ActorNamePacket.h, Source/Network/ClientKeepalive.h, Source/Network/ClientOptionPacket.h, Source/Network/ExecutableDigestPacket.h, Source/Network/GameTickPacket.h, Source/Render/ActionSpriteDrawing.h, Source/Render/AuxiliarySubmission.h, Source/Render/BitmapDrawing.h, Source/Render/BlendColor.h, Source/Render/DeviceSelection.h, Source/Render/Direct3DErrors.h, Source/Render/DisplayMode.h, Source/Render/RenderAdapter.h, Source/Render/RenderBackends.h, Source/Render/RendererDX7.h, Source/Render/ScreenGeometry.h, Source/Render/ScreenRectangle.h, Source/Render/SpriteGeometry.h, Source/Render/SpriteQuad.h, Source/Render/TextureQuad.h, Source/Render/TextureStageModes.h, Source/Resource/BinkRuntime.h, Source/Resource/EZeffectResource.h, Source/Resource/EmblemResource.h, Source/Resource/GifLzw.h, Source/Resource/GifResource.h, Source/Resource/ImfResource.h, Source/Resource/PaletteResource.h, Source/Resource/RmaResource.h, Source/Resource/SkinPalette.h, Source/Resource/TextureNames.h, Source/Resource/XmlNode.h, Source/UI/Buttons/UICashEmotionSprBtn.h, Source/UI/Buttons/UIDescriptRace.h, Source/UI/Buttons/UIItemMoveInfo.h, Source/UI/Buttons/UIJobSlotButton.h, Source/UI/Buttons/UIReplayButton.h, Source/UI/Dialogs/UIChooseWarpWnd.h, Source/UI/Dialogs/UIEmailAddressWnd.h, Source/UI/Dialogs/UIGraffiStrboxWnd.h, Source/UI/Dialogs/UIMemorialDunWnd.h, Source/UI/Dialogs/UIMiniMapWnd.h, Source/UI/Dialogs/UIMinimapZoomWnd.h, Source/UI/Dialogs/UINotifyQuestWnd.h, Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Dialogs/UIPetTamingDeceiveWnd.h, Source/UI/Dialogs/UISecondPasswordEditWnd.h, Source/UI/Dialogs/UISelectCartWnd.h, Source/UI/Dialogs/UIWaitDBSaveWnd.h, Source/UI/FrameSkin.h, Source/UI/Item/UIEquipmentPropertiesWnd.h, Source/UI/Item/UIItemBaseWnd.h, Source/UI/Item/UIItemPurchaseWnd.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemShopWnd.h, Source/UI/Item/UIItemShopWnd2.h, Source/UI/Item/UIItemStoreFindWnd.h, Source/UI/Item/UIItemStoreSubWnd.h, Source/UI/Item/UIItemStoreWnd.h, Source/UI/Item/UIItemWnd.h, Source/UI/Item/UIMerchantItemLogWnd.h, Source/UI/Item/UIParaItemShopWnd.h, Source/UI/Lists/UIItemStoreComboBox.h, Source/UI/Lists/UIListBoxNavi.h, Source/UI/Lists/UIListBoxNaviSearch.h, Source/UI/Lists/UIPackageBoxNameList.h, Source/UI/Lists/UIReplayListBox.h, Source/UI/Lists/UIScrollBarNavi.h, Source/UI/MiniPartyGrid.h, Source/UI/MiniPartyPlacement.h, Source/UI/PriceCommission.h, Source/UI/Text/NavigationLink.h, Source/UI/Text/UIAchWnd.h, Source/UI/TextTags.h, Source/UI/UIBarGraph.h, Source/UI/UIBartermarketWnd.h, Source/UI/UIBasicCtrl.h, Source/UI/UIBroadcastBalloon.h, Source/UI/UICaptchaPreviewWnd.h, Source/UI/UICaptchaRegisterWnd.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/UICheckAttendanceWnd.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/UIHotkeyGuideWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIItemReformWnd.h, Source/UI/UILapineScrollBar.h, Source/UI/UILapineUpgradeBoxWnd.h, Source/UI/UIMacroBlackListCheckWnd.h, Source/UI/UIMacroDetectorWnd.h, Source/UI/UIMacroReport.h, Source/UI/UIMacroUserInfoWnd.h, Source/UI/UIPreviewEquipWnd.h, Source/UI/UIRefiningWnd.h, Source/UI/UIReputeWnd.h, Source/UI/UIRoundBoxTooltipWnd.h, Source/UI/UIScrollWnd.h, Source/UI/UISlotBitmap.h, Source/UI/UIStaticBitmap.h, Source/UI/UIStaticItem.h, Source/UI/Window/FuncDrawWNDChar.h, Source/UI/Window/MiniPartyWndAreaMgr.h, Source/UI/Window/UIAccountLimitedToolWnd.h, Source/UI/Window/UIBalloonOpenBtn.h, Source/UI/Window/UIBank_NewWnd.h, Source/UI/Window/UIBasicInfoWnd.h, Source/UI/Window/UIBattleMsgOptionWnd.h, Source/UI/Window/UIChangeNameWnd.h, Source/UI/Window/UIChatRoomWnd.h, Source/UI/Window/UICntWnd.h, Source/UI/Window/UICollectionSystemWnd.h, Source/UI/Window/UIDebuffRemoveWnd.h, Source/UI/Window/UIEmblemWnd.h, Source/UI/Window/UIEscOptionWnd.h, Source/UI/Window/UIHomunInfoWnd.h, Source/UI/Window/UIHotKeyWnd.h, Source/UI/Window/UIJobListWnd.h, Source/UI/Window/UILoginOTPWnd.h, Source/UI/Window/UILoginWnd.h, Source/UI/Window/UIMakeCharWnd.h, Source/UI/Window/UIMerInfoWnd.h, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UIMessageBoxAutoreturn.h, Source/UI/Window/UIMileageWnd.h, Source/UI/Window/UIMiniBtnWnd.h, Source/UI/Window/UIMonsterDisplayWnd.h, Source/UI/Window/UIMonsterInfoWnd.h, Source/UI/Window/UINavigationHelpWnd.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UINewSelectCharWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UINormalMB.h, Source/UI/Window/UINoteWnd.h, Source/UI/Window/UINoticeWnd.h, Source/UI/Window/UIOpenMailBoxWnd.h, Source/UI/Window/UIOpenRoulletteWnd.h, Source/UI/Window/UIPartyBookingHelpWnd.h, Source/UI/Window/UIPayConfirmWnd.h, Source/UI/Window/UIPetEvolutionWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIRPImageWnd.h, Source/UI/Window/UIRPImageWnd2.h, Source/UI/Window/UIRebirthWnd.h, Source/UI/Window/UIReplayControlWnd.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIRoMapWnd.h, Source/UI/Window/UIRodexContentsWnd.h, Source/UI/Window/UIRoulletteWnd.h, Source/UI/Window/UISecondCostumeWnd.h, Source/UI/Window/UISeekPartyListWnd.h, Source/UI/Window/UISeekPartyMBWnd.h, Source/UI/Window/UISeekPartyWnd.h, Source/UI/Window/UISelCharForUServerWnd.h, Source/UI/Window/UISelectReplayDataWnd.h, Source/UI/Window/UISelectServerWnd.h, Source/UI/Window/UISerachStoreInfoWnd.h, Source/UI/Window/UIShowWarpWnd.h, Source/UI/Window/UITalkboxTrapInputWnd.h, Source/UI/Window/UITransMenuWnd.h, Source/UI/Window/UIVideoWnd.h, Source/UI/Window/UIViewCameraInfoWnd.h, Source/UI/Window/UIWindowCallBtnWnd.h, Source/UI/Window/UIWordDisplayWnd.h, Source/Utility/CRC32.h, Source/Utility/Compression/Zlib.h, Source/Utility/EncryptedName.h, Source/Utility/FileSignatureVerifier.h, Source/Utility/GGHash.h, Source/Utility/GGHashMgr.h, Source/Utility/GuidParse.h, Source/Utility/JsonCppLoader.h, Source/Utility/Md5State.h, Source/Utility/NFileLog.h, Source/Utility/NIPAddr.h, Source/Utility/ProcessSecurity.h, Source/Utility/RegistryKey.h, Source/Utility/SHA3.h, Source/Utility/Tokenizer.h, Source/Utility/XxHash3.h.
Adds to the build: Source/Client/Application/ClientOptions.cpp, Source/Client/Application/Registry.cpp, Source/Client/Application/RegistryKey.cpp, Source/Client/Application/Timer.cpp, Source/Client/Mode/EntityInit.cpp, Source/Client/Mode/ModeBaseEvents.cpp, Source/Client/Mode/ModeCursorDrawing.cpp, Source/Client/Mode/ModeFade.cpp, Source/Client/Mode/ModeFadeOut.cpp, Source/Client/Mode/ModeScreenshot.cpp, Source/Client/Mode/ModeTransitions.cpp, Source/Client/Replay/Replay.cpp, Source/Client/Replay/ReplayControl.cpp, Source/Client/Replay/ReplayPacketRecorder.cpp, Source/Client/Session/Session.cpp, Source/Client/Session/SessionAchievements.cpp, Source/Client/Session/SessionParty.cpp, Source/Client/Session/SessionPredicates.cpp, Source/Client/Session/SessionState.cpp, Source/Contents/Actors/ActorPickNode.cpp, Source/File/NFileLog.cpp, Source/Network/NIPAddr.cpp, Source/Network/Packets/ActorNamePacket.cpp, Source/Network/Packets/ClientKeepalive.cpp, Source/Network/Packets/ClientOptionPacket.cpp, Source/Network/Packets/ExecutableDigestPacket.cpp, Source/Network/Packets/GameTickPacket.cpp, Source/Render/DX7/AlphaQueuesDX7.cpp, Source/Render/DX7/AuxiliaryQueuesDX7.cpp, Source/Render/DX7/OpaqueQueuesDX7.cpp, Source/Render/DX7/RendererDX7.cpp, Source/Render/DX9/DeviceCapabilitiesDX9.cpp, Source/Render/Device/DeviceSelection.cpp, Source/Render/Device/Direct3DErrors.cpp, Source/Render/Device/DisplayMode.cpp, Source/Render/Device/RenderAdapter.cpp, Source/Render/Device/RenderBackends.cpp, Source/Render/Drawing/ActionSpriteDrawing.cpp, Source/Render/Drawing/BitmapDrawing.cpp, Source/Render/Drawing/BlendColor.cpp, Source/Render/Drawing/SpriteGeometry.cpp, Source/Render/Primitives/AlphaRectangle.cpp, Source/Render/Primitives/AuxiliarySubmission.cpp, Source/Render/Primitives/SpriteQuad.cpp, Source/Render/Primitives/TextureQuad.cpp, Source/Render/Primitives/UIRPDataDrawing.cpp, Source/Render/Projection/ScreenGeometry.cpp, Source/Render/Projection/ScreenRectangle.cpp, Source/Render/Projection/ViewportProjection.cpp, Source/Resource/Bitmap/EmblemResource.cpp, Source/Resource/Bitmap/GifLzw.cpp, Source/Resource/Bitmap/GifResource.cpp, Source/Resource/Bitmap/PaletteResource.cpp, Source/Resource/Bitmap/SkinPalette.cpp, Source/Resource/Bitmap/TextureNames.cpp, Source/Resource/Effects/EZeffectResource.cpp, Source/Resource/Json/JsonCppLoader.cpp, Source/Resource/Models/RmaResource.cpp, Source/Resource/Sprites/ImfLayerIndex.cpp, Source/Resource/Sprites/ImfResource.cpp, Source/Resource/Xml/XmlNode.cpp, Source/Resource/Xml/XmlParsing.cpp, Source/Security/FileSignatureVerifier.cpp, Source/Security/ProcessSecurity.cpp, Source/Security/UnknownA68.cpp, Source/UI/Achievement/UIAchWnd.cpp, Source/UI/Buttons/UIBalloonOpenBtn.cpp, Source/UI/Buttons/UIMiniBtnWnd.cpp, Source/UI/Buttons/UISlotBitmap.cpp, Source/UI/Buttons/UIStaticBitmap.cpp, Source/UI/Buttons/UIStaticItem.cpp, Source/UI/CashShop/UIMileageWnd.cpp, Source/UI/Chat/UIZeroChatWnd.cpp, Source/UI/Dialogs/UIAccountLimitedToolWnd.cpp, Source/UI/Dialogs/UILocaleTextWnd.cpp, Source/UI/Dialogs/UIMessageBox.cpp, Source/UI/Dialogs/UINormalMB.cpp, Source/UI/Dialogs/UINoteWnd.cpp, Source/UI/Dialogs/UINoticeWnd.cpp, Source/UI/Dialogs/UIRPImageWnd.cpp, Source/UI/Dialogs/UIRPImageWnd2.cpp, Source/UI/Dialogs/UITransMenuWnd.cpp, Source/UI/Dialogs/UIVideoWnd.cpp, Source/UI/Dialogs/UIWordDisplayWnd.cpp, Source/UI/Events/UICheckAttendanceWnd.cpp, Source/UI/Events/UIOpenRoulletteWnd.cpp, Source/UI/Events/UIRoulletteWnd.cpp, Source/UI/GameSettings/UIBattleMsgOptionWnd.cpp, Source/UI/GameSettings/UIEscOptionWnd.cpp, Source/UI/GameSettings/UIHotKeyWnd.cpp, Source/UI/GameSettings/UIHotkeyGuideWnd.cpp, Source/UI/GameSettings/UIViewCameraInfoWnd.cpp, Source/UI/Gauges/UIBarGraph.cpp, Source/UI/Guild/UIEmblemWnd.cpp, Source/UI/Items/UIChangeMaterialWnd.cpp, Source/UI/Items/UICollectionSystemWnd.cpp, Source/UI/Items/UIEquipmentPropertiesWnd.cpp, Source/UI/Items/UIGradeEnchantWnd.cpp, Source/UI/Items/UIItemMoveInfo.cpp, Source/UI/Items/UIItemReformWnd.cpp, Source/UI/Items/UIItemStoreComboBox.cpp, Source/UI/Items/UIItemStoreWnd.cpp, Source/UI/Items/UILapineBoxWnd.cpp, Source/UI/Items/UILapineScrollBar.cpp, Source/UI/Items/UILapineUpgradeBoxWnd.cpp, Source/UI/Items/UIMerchantItemLogWnd.cpp, Source/UI/Items/UIParaItemShopWnd.cpp, Source/UI/Items/UIPreviewEquipWnd.cpp, Source/UI/Items/UIRefiningWnd.cpp, Source/UI/Items/UISecondCostumeWnd.cpp, Source/UI/Lists/UIScrollWnd.cpp, Source/UI/Login/FuncDrawWNDChar.cpp, Source/UI/Login/UIChangeNameWnd.cpp, Source/UI/Login/UIDescriptRace.cpp, Source/UI/Login/UIEmailAddressWnd.cpp, Source/UI/Login/UILoginWnd.cpp, Source/UI/Login/UINewMakeCharWnd.cpp, Source/UI/Login/UINewSelectCharWnd.cpp, Source/UI/Login/UIPasswordWnd.cpp, Source/UI/Login/UISelCharForUServerWnd.cpp, Source/UI/Login/UIWaitDBSaveWnd.cpp, Source/UI/Macro/UICaptchaPreviewWnd.cpp, Source/UI/Macro/UICaptchaRegisterWnd.cpp, Source/UI/Macro/UIMacroBlackListCheckWnd.cpp, Source/UI/Macro/UIMacroDetectorWnd.cpp, Source/UI/Macro/UIMacroReport.cpp, Source/UI/Macro/UIMacroUserInfoWnd.cpp, Source/UI/Navigation/NavigationLink.cpp, Source/UI/Navigation/UIListBoxNavi.cpp, Source/UI/Navigation/UIMinimapZoomWnd.cpp, Source/UI/Navigation/UINavigationHelpWnd.cpp, Source/UI/Navigation/UINavigationWnd.cpp, Source/UI/Navigation/UIRoMapWnd.cpp, Source/UI/Navigation/UIScrollBarNavi.cpp, Source/UI/Navigation/UIShowWarpWnd.cpp, Source/UI/Party/MiniPartyGrid.cpp, Source/UI/Party/MiniPartyManager.cpp, Source/UI/Party/MiniPartyPlacement.cpp, Source/UI/Party/MiniPartyUsableArea.cpp, Source/UI/Party/UIJobSlotButton.cpp, Source/UI/Party/UIPartyBookingHelpWnd.cpp, Source/UI/Party/UISeekPartyListWnd.cpp, Source/UI/Party/UISeekPartyMBWnd.cpp, Source/UI/Party/UISeekPartyWnd.cpp, Source/UI/Repute/UIReputeWnd.cpp, Source/UI/Rodex/UIOpenMailBoxWnd.cpp, Source/UI/Rodex/UIRodexContentsWnd.cpp, Source/UI/SelectPackageItemBox/UIPackageBoxNameList.cpp, Source/UI/Shop/PriceCommission.cpp, Source/UI/Shop/UIBartermarketWnd.cpp, Source/UI/Shop/UISerachStoreInfoWnd.cpp, Source/UI/Skill/UIDebuffRemoveWnd.cpp, Source/UI/Skill/UIGraffiStrboxWnd.cpp, Source/UI/Skill/UINewSkillListWnd.cpp, Source/UI/Skill/UINewSkillListWndHitTest.cpp, Source/UI/Status/UIBasicInfoWnd.cpp, Source/UI/Status/UIJobListWnd.cpp, Source/UI/Status/UIPetEvolutionWnd.cpp, Source/UI/Status/UIRebirthWnd.cpp, Source/UI/Text/TextTagExtraction.cpp, Source/UI/Text/TextTagRegistry.cpp, Source/UI/Text/UIBroadcastBalloon.cpp, Source/UI/Text/UIRoundBoxTooltipWnd.cpp, Source/UI/Window/FrameSkin.cpp, Source/UI/Window/UIBasicCtrl.cpp, Source/UI/Window/WindowBackground.cpp, Source/UI/Window/WindowLowerBorder.cpp, Source/UI/Window/WindowOverlay.cpp, Source/UI/Window/WindowSprite.cpp, Source/UI/Window/WindowTitlebar.cpp, Source/Utility/BoolStubs.cpp, Source/Utility/Hash/CRC32.cpp, Source/Utility/Hash/GGHash.cpp, Source/Utility/Hash/GGHashMgr.cpp, Source/Utility/Hash/Md5State.cpp, Source/Utility/Hash/SHA3.cpp, Source/Utility/Hash/XxHash3.cpp, Source/Utility/Lexicon/LexiconTrie.cpp, Source/Utility/Text/GuidParse.cpp, Source/Utility/Text/Tokenizer.cpp
Deletes: Source/ActorPickNode.cpp, Source/ActorPickNode.h, Source/Archive/UnknownA68.cpp, Source/Client/ClientOptions.cpp, Source/Client/ModeBaseEvents.cpp, Source/Client/ModeCursorDrawing.cpp, Source/Client/ModeFade.cpp, Source/Client/ModeFade.h, Source/Client/ModeFadeOut.cpp, Source/Client/ModeFadeOut.h, Source/Client/ModeScreenshot.cpp, Source/Client/ModeScreenshot.h, Source/Client/ModeTransitions.cpp, Source/Client/Registry.cpp, Source/Client/Registry.h, Source/Client/Replay.cpp, Source/Client/Replay.h, Source/Client/ReplayControl.cpp, Source/Client/ReplayPacketRecorder.cpp, Source/Client/ReplayRecordOption.h, Source/Client/Session.cpp, Source/Client/Session.h, Source/Client/SessionAchievements.cpp, Source/Client/SessionParty.cpp, Source/Client/SessionPredicates.cpp, Source/Client/SessionState.cpp, Source/Client/Timer.cpp, Source/Client/Timer.h, Source/EntityInit.cpp, Source/Interface/BoolStubs.cpp, Source/LexiconTrie.cpp, Source/Network/ActorNamePacket.cpp, Source/Network/ActorNamePacket.h, Source/Network/ClientKeepalive.cpp, Source/Network/ClientKeepalive.h, Source/Network/ClientOptionPacket.cpp, Source/Network/ClientOptionPacket.h, Source/Network/ExecutableDigestPacket.cpp, Source/Network/ExecutableDigestPacket.h, Source/Network/GameTickPacket.cpp, Source/Network/GameTickPacket.h, Source/Render/ActionSpriteDrawing.cpp, Source/Render/ActionSpriteDrawing.h, Source/Render/AlphaQueuesDX7.cpp, Source/Render/AlphaRectangle.cpp, Source/Render/AuxiliaryQueuesDX7.cpp, Source/Render/AuxiliarySubmission.cpp, Source/Render/AuxiliarySubmission.h, Source/Render/BitmapDrawing.cpp, Source/Render/BitmapDrawing.h, Source/Render/BlendColor.cpp, Source/Render/BlendColor.h, Source/Render/DeviceCapabilitiesDX9.cpp, Source/Render/DeviceSelection.cpp, Source/Render/DeviceSelection.h, Source/Render/Direct3DErrors.cpp, Source/Render/Direct3DErrors.h, Source/Render/DisplayMode.cpp, Source/Render/DisplayMode.h, Source/Render/OpaqueQueuesDX7.cpp, Source/Render/RenderAdapter.cpp, Source/Render/RenderAdapter.h, Source/Render/RenderBackends.cpp, Source/Render/RenderBackends.h, Source/Render/RendererDX7.cpp, Source/Render/RendererDX7.h, Source/Render/ScreenGeometry.cpp, Source/Render/ScreenGeometry.h, Source/Render/ScreenRectangle.cpp, Source/Render/ScreenRectangle.h, Source/Render/SpriteGeometry.cpp, Source/Render/SpriteGeometry.h, Source/Render/SpriteQuad.cpp, Source/Render/SpriteQuad.h, Source/Render/TextureQuad.cpp, Source/Render/TextureQuad.h, Source/Render/TextureStageModes.h, Source/Render/UIRPDataDrawing.cpp, Source/Render/ViewportProjection.cpp, Source/Resource/BinkRuntime.h, Source/Resource/EZeffectResource.cpp, Source/Resource/EZeffectResource.h, Source/Resource/EmblemResource.cpp, Source/Resource/EmblemResource.h, Source/Resource/GifLzw.cpp, Source/Resource/GifLzw.h, Source/Resource/GifResource.cpp, Source/Resource/GifResource.h, Source/Resource/ImfLayerIndex.cpp, Source/Resource/ImfResource.cpp, Source/Resource/ImfResource.h, Source/Resource/PaletteResource.cpp, Source/Resource/PaletteResource.h, Source/Resource/RmaResource.cpp, Source/Resource/RmaResource.h, Source/Resource/SkinPalette.cpp, Source/Resource/SkinPalette.h, Source/Resource/TextureNames.cpp, Source/Resource/TextureNames.h, Source/Resource/XmlNode.cpp, Source/Resource/XmlNode.h, Source/Resource/XmlParsing.cpp, Source/UI/Buttons/UICashEmotionSprBtn.h, Source/UI/Buttons/UIDescriptRace.cpp, Source/UI/Buttons/UIDescriptRace.h, Source/UI/Buttons/UIItemMoveInfo.cpp, Source/UI/Buttons/UIItemMoveInfo.h, Source/UI/Buttons/UIJobSlotButton.cpp, Source/UI/Buttons/UIJobSlotButton.h, Source/UI/Buttons/UIReplayButton.h, Source/UI/Dialogs/UIChooseWarpWnd.h, Source/UI/Dialogs/UIEmailAddressWnd.cpp, Source/UI/Dialogs/UIEmailAddressWnd.h, Source/UI/Dialogs/UIGraffiStrboxWnd.cpp, Source/UI/Dialogs/UIGraffiStrboxWnd.h, Source/UI/Dialogs/UIMemorialDunWnd.h, Source/UI/Dialogs/UIMiniMapWnd.h, Source/UI/Dialogs/UIMinimapZoomWnd.cpp, Source/UI/Dialogs/UIMinimapZoomWnd.h, Source/UI/Dialogs/UINotifyQuestWnd.h, Source/UI/Dialogs/UIPasswordWnd.cpp, Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Dialogs/UIPetTamingDeceiveWnd.h, Source/UI/Dialogs/UISecondPasswordEditWnd.h, Source/UI/Dialogs/UISelectCartWnd.h, Source/UI/Dialogs/UIWaitDBSaveWnd.cpp, Source/UI/Dialogs/UIWaitDBSaveWnd.h, Source/UI/FrameSkin.cpp, Source/UI/FrameSkin.h, Source/UI/Item/UIEquipmentPropertiesWnd.cpp, Source/UI/Item/UIEquipmentPropertiesWnd.h, Source/UI/Item/UIItemBaseWnd.h, Source/UI/Item/UIItemPurchaseWnd.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemShopWnd.h, Source/UI/Item/UIItemShopWnd2.h, Source/UI/Item/UIItemStoreFindWnd.h, Source/UI/Item/UIItemStoreSubWnd.h, Source/UI/Item/UIItemStoreWnd.cpp, Source/UI/Item/UIItemStoreWnd.h, Source/UI/Item/UIItemWnd.h, Source/UI/Item/UIMerchantItemLogWnd.cpp, Source/UI/Item/UIMerchantItemLogWnd.h, Source/UI/Item/UIParaItemShopWnd.cpp, Source/UI/Item/UIParaItemShopWnd.h, Source/UI/Lists/UIItemStoreComboBox.cpp, Source/UI/Lists/UIItemStoreComboBox.h, Source/UI/Lists/UIListBoxNavi.cpp, Source/UI/Lists/UIListBoxNavi.h, Source/UI/Lists/UIListBoxNaviSearch.h, Source/UI/Lists/UIPackageBoxNameList.cpp, Source/UI/Lists/UIPackageBoxNameList.h, Source/UI/Lists/UIReplayListBox.h, Source/UI/Lists/UIScrollBarNavi.cpp, Source/UI/Lists/UIScrollBarNavi.h, Source/UI/MiniPartyGrid.cpp, Source/UI/MiniPartyGrid.h, Source/UI/MiniPartyManager.cpp, Source/UI/MiniPartyPlacement.cpp, Source/UI/MiniPartyPlacement.h, Source/UI/MiniPartyUsableArea.cpp, Source/UI/PriceCommission.cpp, Source/UI/PriceCommission.h, Source/UI/Text/NavigationLink.cpp, Source/UI/Text/NavigationLink.h, Source/UI/Text/UIAchWnd.cpp, Source/UI/Text/UIAchWnd.h, Source/UI/TextTagExtraction.cpp, Source/UI/TextTagRegistry.cpp, Source/UI/TextTags.h, Source/UI/UIBarGraph.cpp, Source/UI/UIBarGraph.h, Source/UI/UIBartermarketWnd.cpp, Source/UI/UIBartermarketWnd.h, Source/UI/UIBasicCtrl.cpp, Source/UI/UIBasicCtrl.h, Source/UI/UIBroadcastBalloon.cpp, Source/UI/UIBroadcastBalloon.h, Source/UI/UICaptchaPreviewWnd.cpp, Source/UI/UICaptchaPreviewWnd.h, Source/UI/UICaptchaRegisterWnd.cpp, Source/UI/UICaptchaRegisterWnd.h, Source/UI/UIChangeMaterialWnd.cpp, Source/UI/UIChangeMaterialWnd.h, Source/UI/UICheckAttendanceWnd.cpp, Source/UI/UICheckAttendanceWnd.h, Source/UI/UIGradeEnchantWnd.cpp, Source/UI/UIGradeEnchantWnd.h, Source/UI/UIHotkeyGuideWnd.cpp, Source/UI/UIHotkeyGuideWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIItemReformWnd.cpp, Source/UI/UIItemReformWnd.h, Source/UI/UILapineBoxWnd.cpp, Source/UI/UILapineScrollBar.cpp, Source/UI/UILapineScrollBar.h, Source/UI/UILapineUpgradeBoxWnd.cpp, Source/UI/UILapineUpgradeBoxWnd.h, Source/UI/UIMacroBlackListCheckWnd.cpp, Source/UI/UIMacroBlackListCheckWnd.h, Source/UI/UIMacroDetectorWnd.cpp, Source/UI/UIMacroDetectorWnd.h, Source/UI/UIMacroReport.cpp, Source/UI/UIMacroReport.h, Source/UI/UIMacroUserInfoWnd.cpp, Source/UI/UIMacroUserInfoWnd.h, Source/UI/UIPreviewEquipWnd.cpp, Source/UI/UIPreviewEquipWnd.h, Source/UI/UIRefiningWnd.cpp, Source/UI/UIRefiningWnd.h, Source/UI/UIReputeWnd.cpp, Source/UI/UIReputeWnd.h, Source/UI/UIRoundBoxTooltipWnd.cpp, Source/UI/UIRoundBoxTooltipWnd.h, Source/UI/UIScrollWnd.cpp, Source/UI/UIScrollWnd.h, Source/UI/UISlotBitmap.cpp, Source/UI/UISlotBitmap.h, Source/UI/UIStaticBitmap.cpp, Source/UI/UIStaticBitmap.h, Source/UI/UIStaticItem.cpp, Source/UI/UIStaticItem.h, Source/UI/Window/FuncDrawWNDChar.cpp, Source/UI/Window/FuncDrawWNDChar.h, Source/UI/Window/MiniPartyWndAreaMgr.h, Source/UI/Window/UIAccountLimitedToolWnd.cpp, Source/UI/Window/UIAccountLimitedToolWnd.h, Source/UI/Window/UIBalloonOpenBtn.cpp, Source/UI/Window/UIBalloonOpenBtn.h, Source/UI/Window/UIBank_NewWnd.h, Source/UI/Window/UIBasicInfoWnd.cpp, Source/UI/Window/UIBasicInfoWnd.h, Source/UI/Window/UIBattleMsgOptionWnd.cpp, Source/UI/Window/UIBattleMsgOptionWnd.h, Source/UI/Window/UIChangeNameWnd.cpp, Source/UI/Window/UIChangeNameWnd.h, Source/UI/Window/UIChatRoomWnd.h, Source/UI/Window/UICntWnd.h, Source/UI/Window/UICollectionSystemWnd.cpp, Source/UI/Window/UICollectionSystemWnd.h, Source/UI/Window/UIDebuffRemoveWnd.cpp, Source/UI/Window/UIDebuffRemoveWnd.h, Source/UI/Window/UIEmblemWnd.cpp, Source/UI/Window/UIEmblemWnd.h, Source/UI/Window/UIEscOptionWnd.cpp, Source/UI/Window/UIEscOptionWnd.h, Source/UI/Window/UIHomunInfoWnd.h, Source/UI/Window/UIHotKeyWnd.cpp, Source/UI/Window/UIHotKeyWnd.h, Source/UI/Window/UIJobListWnd.cpp, Source/UI/Window/UIJobListWnd.h, Source/UI/Window/UILocaleTextWnd.cpp, Source/UI/Window/UILoginOTPWnd.h, Source/UI/Window/UILoginWnd.cpp, Source/UI/Window/UILoginWnd.h, Source/UI/Window/UIMakeCharWnd.h, Source/UI/Window/UIMerInfoWnd.h, Source/UI/Window/UIMessageBox.cpp, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UIMessageBoxAutoreturn.h, Source/UI/Window/UIMileageWnd.cpp, Source/UI/Window/UIMileageWnd.h, Source/UI/Window/UIMiniBtnWnd.cpp, Source/UI/Window/UIMiniBtnWnd.h, Source/UI/Window/UIMonsterDisplayWnd.h, Source/UI/Window/UIMonsterInfoWnd.h, Source/UI/Window/UINavigationHelpWnd.cpp, Source/UI/Window/UINavigationHelpWnd.h, Source/UI/Window/UINavigationWnd.cpp, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UINewMakeCharWnd.cpp, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UINewSelectCharWnd.cpp, Source/UI/Window/UINewSelectCharWnd.h, Source/UI/Window/UINewSkillListWnd.cpp, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UINewSkillListWndHitTest.cpp, Source/UI/Window/UINormalMB.cpp, Source/UI/Window/UINormalMB.h, Source/UI/Window/UINoteWnd.cpp, Source/UI/Window/UINoteWnd.h, Source/UI/Window/UINoticeWnd.cpp, Source/UI/Window/UINoticeWnd.h, Source/UI/Window/UIOpenMailBoxWnd.cpp, Source/UI/Window/UIOpenMailBoxWnd.h, Source/UI/Window/UIOpenRoulletteWnd.cpp, Source/UI/Window/UIOpenRoulletteWnd.h, Source/UI/Window/UIPartyBookingHelpWnd.cpp, Source/UI/Window/UIPartyBookingHelpWnd.h, Source/UI/Window/UIPayConfirmWnd.h, Source/UI/Window/UIPetEvolutionWnd.cpp, Source/UI/Window/UIPetEvolutionWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIRPImageWnd.cpp, Source/UI/Window/UIRPImageWnd.h, Source/UI/Window/UIRPImageWnd2.cpp, Source/UI/Window/UIRPImageWnd2.h, Source/UI/Window/UIRebirthWnd.cpp, Source/UI/Window/UIRebirthWnd.h, Source/UI/Window/UIReplayControlWnd.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIRoMapWnd.cpp, Source/UI/Window/UIRoMapWnd.h, Source/UI/Window/UIRodexContentsWnd.cpp, Source/UI/Window/UIRodexContentsWnd.h, Source/UI/Window/UIRoulletteWnd.cpp, Source/UI/Window/UIRoulletteWnd.h, Source/UI/Window/UISecondCostumeWnd.cpp, Source/UI/Window/UISecondCostumeWnd.h, Source/UI/Window/UISeekPartyListWnd.cpp, Source/UI/Window/UISeekPartyListWnd.h, Source/UI/Window/UISeekPartyMBWnd.cpp, Source/UI/Window/UISeekPartyMBWnd.h, Source/UI/Window/UISeekPartyWnd.cpp, Source/UI/Window/UISeekPartyWnd.h, Source/UI/Window/UISelCharForUServerWnd.cpp, Source/UI/Window/UISelCharForUServerWnd.h, Source/UI/Window/UISelectReplayDataWnd.h, Source/UI/Window/UISelectServerWnd.h, Source/UI/Window/UISerachStoreInfoWnd.cpp, Source/UI/Window/UISerachStoreInfoWnd.h, Source/UI/Window/UIShowWarpWnd.cpp, Source/UI/Window/UIShowWarpWnd.h, Source/UI/Window/UITalkboxTrapInputWnd.h, Source/UI/Window/UITransMenuWnd.cpp, Source/UI/Window/UITransMenuWnd.h, Source/UI/Window/UIVideoWnd.cpp, Source/UI/Window/UIVideoWnd.h, Source/UI/Window/UIViewCameraInfoWnd.cpp, Source/UI/Window/UIViewCameraInfoWnd.h, Source/UI/Window/UIWindowCallBtnWnd.h, Source/UI/Window/UIWordDisplayWnd.cpp, Source/UI/Window/UIWordDisplayWnd.h, Source/UI/Window/UIZeroChatWnd.cpp, Source/UI/WindowBackground.cpp, Source/UI/WindowLowerBorder.cpp, Source/UI/WindowOverlay.cpp, Source/UI/WindowSprite.cpp, Source/UI/WindowTitlebar.cpp, Source/Utility/CRC32.cpp, Source/Utility/CRC32.h, Source/Utility/Compression/Zlib.h, Source/Utility/EncryptedName.h, Source/Utility/FileSignatureVerifier.cpp, Source/Utility/FileSignatureVerifier.h, Source/Utility/GGHash.cpp, Source/Utility/GGHash.h, Source/Utility/GGHashMgr.cpp, Source/Utility/GGHashMgr.h, Source/Utility/GuidParse.cpp, Source/Utility/GuidParse.h, Source/Utility/JsonCppLoader.cpp, Source/Utility/JsonCppLoader.h, Source/Utility/Md5State.cpp, Source/Utility/Md5State.h, Source/Utility/NFileLog.cpp, Source/Utility/NFileLog.h, Source/Utility/NIPAddr.cpp, Source/Utility/NIPAddr.h, Source/Utility/ProcessSecurity.cpp, Source/Utility/ProcessSecurity.h, Source/Utility/RegistryKey.cpp, Source/Utility/RegistryKey.h, Source/Utility/SHA3.cpp, Source/Utility/SHA3.h, Source/Utility/Tokenizer.cpp, Source/Utility/Tokenizer.h, Source/Utility/XxHash3.cpp, Source/Utility/XxHash3.h
2026-11-11 01:05:24 +00:00

1366 lines
44 KiB
C++

#include "Client/Mode/CGameMode.h"
#include "Contents/Actors/ActorEnums.h"
#include "UI/Window/UIEnums.h"
#include "UI/Window/WindowId.h"
#include "Client/Mode/GameModeEnums.h"
#include "Client/Session/Session.h"
#include "Contents/Actors/EffectActors.h"
#include "Resource/ResourceMgr.h"
#include "Contents/Actors/RenderObject.h"
#include "Contents/Actors/Skill.h"
#include "Contents/Actors/Item.h"
#include "Contents/Actors/GameActor.h"
#include "Client/Mode/ModeMgr.h"
#include "Contents/World/World.h"
#include "Contents/Effects/Skills/ArrowEffect.h"
#include "Contents/Effects/Core/EffectLists.h"
#include "Contents/Effects/Core/RagEffect.h"
#include "Contents/Actors/ActorStateFlags.h"
#include "Contents/CashEmotion/CashEmotionMgr.h"
#include "Contents/Effects/Skills/MandraAttackEffect.h"
#include "Contents/Effects/Core/MsgEffect.h"
#include "Render/Renderer.h"
#include "Render/Primitives/TextureQuad.h"
#include "UI/Guild/UIEmblemWnd.h"
#include "UI/Window/UIWindowMgr.h"
#include "Utility/Text/FormatString.h"
#include "Utility/Text/HexString.h"
#include "Contents/World/WorldModelLoading.h"
#include "Contents/Ground/GroundGeometry.h"
#include "Contents/Models/ModelActor.h"
#include "Render/Textures/TextureCache.h"
#include "Contents/Movies/BinkMovies.h"
#include "Contents/Sound/SoundMgr.h"
#include "Contents/Sound/SoundMgr.h"
#include "Contents/Actors/Pc.h"
#include "Contents/Actors/ActorPickNode.h"
#include "Client/Input/Mouse.h"
#include "Client/Replay/Replay.h"
#include "Contents/Configuration/ServiceConfiguration.h"
#include "Contents/Guild/GuildMgr.h"
#include "Contents/Jobs/JobInheritance.h"
#include "Contents/Tables/MessageTable.h"
#include "Contents/Messenger/WhisperBlockMgr.h"
#include "File/ShortcutFilename.h"
#include "Contents/Clan/ClanInfo.h"
#include "Contents/Tables/ForbiddenWords.h"
#include "Contents/Configuration/ServiceOptions.h"
#include "UI/Text/UINameBalloonText.h"
#include <algorithm>
#include <atomic>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <new>
#include <string>
#include <vector>
#include "Contents/Guild/GuildInfo.h"
#include "Resource/MSGSTRINGID.h"
// GLOBAL: gl_24371
HANDLE hObject;
// GLOBAL: gl_24757
std::vector<DeferredWorldModel> g_deferredWorldModels;
// OFFSET: 0x00AC8220
// FUNCTION: fn_17667
CRenderObject* CWorld::GetGameActorByAidIncludeMe(std::uint32_t aid) const {
if (aid == g_session.m_aid) {
return reinterpret_cast<CRenderObject*>(this->player);
}
for (auto it = this->actors.begin(); it != this->actors.end(); ++it) {
CRenderObject* actor = *it;
if (actor->render.accountId == aid) {
return actor;
}
}
return nullptr;
}
// OFFSET: 0x00ACA4E0
// FUNCTION: fn_17692
__declspec(noinline) void CWorld::RemoveObject(CRenderObject* object) {
for (auto entry = this->objects.begin(); entry != this->objects.end(); ++entry) {
if (*entry == object) {
delete object;
this->objects.erase(entry);
return;
}
}
}
// GLOBAL: gl_24483
EffectLists* g_effectMgr;
// GLOBAL: gl_24693
std::uint32_t g_fogVertexMode = 0xFFFFFFFF;
// GLOBAL: gl_24692
std::uint32_t g_worldOverlayColor;
// GLOBAL: gl_24694
std::uint32_t g_fogRange = 0xFFFFFFFF;
// GLOBAL: gl_24695
float g_fogDensity;
// OFFSET: 0x00AC9CA0
// FUNCTION: fn_17685
void CWorld::OnExitFrame() {
if (hObject) {
WaitForSingleObject(hObject, INFINITE);
CloseHandle(hObject);
hObject = nullptr;
}
g_deferredWorldModels.clear();
this->pending = 0;
this->spatial.ClearChildren();
this->Clear();
for (auto model = this->models.begin(); model != this->models.end(); ++model) {
delete *model;
}
this->models.erase(this->models.begin(), this->models.end());
delete this->ground;
this->ground = nullptr;
ResourceMgr::Instance().ClearExpired();
g_texMgr.ClearUnused();
}
// OFFSET: 0x00AC9F10
// FUNCTION: fn_17688
void CWorld::OnProcess() {
if (this->movies != nullptr) {
this->movies->Update();
}
std::atomic_ref<int> pending(this->pending);
const int ready = pending.load(std::memory_order_acquire);
if (ready != 0) {
const int end = this->published + ready;
while (this->published < end) {
C3dActor& model = *this->models[this->published];
for (int index = 0; index < 4; ++index) {
WorldSpatialTree* child = this->spatial.children[index];
if (model.oriented.Intersects(child->minimum)) {
child->InsertModel(model, 1);
}
}
pending.fetch_sub(1, std::memory_order_seq_cst);
++this->published;
}
}
auto objectEntry = this->objects.begin();
while (objectEntry != this->objects.end()) {
CRenderObject* object = *objectEntry;
if (object->OnProcess()) {
++objectEntry;
continue;
}
for (auto actorEntry = this->actors.begin(); actorEntry != this->actors.end(); ++actorEntry) {
if (*actorEntry == object) {
this->RemovePcPos((*actorEntry)->render.accountId, true);
this->RemovePcPosForMove((*actorEntry)->render.accountId, true);
this->actors.erase(actorEntry);
break;
}
}
delete *objectEntry;
objectEntry = this->objects.erase(objectEntry);
}
for (auto idEntry = this->pendingActorIds.begin(); idEntry != this->pendingActorIds.end(); ++idEntry) {
std::uint32_t aid = *idEntry;
auto skillEntry = this->skills.begin();
for (; skillEntry != this->skills.end(); ++skillEntry) {
if (static_cast<CSkill*>(*skillEntry)->skillAid == aid) {
break;
}
}
if (skillEntry == this->skills.end()) {
continue;
}
CSkill* skill = static_cast<CSkill*>(*skillEntry);
if (skill == nullptr) {
continue;
}
skill->SendMsg(nullptr, AM_DISAPPEAR, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
if (skill->HasPendingDamage() == true) {
if (std::find(this->pendingActorIds.begin(), this->pendingActorIds.end(), aid) == this->pendingActorIds.end()) {
this->pendingActorIds.push_back(aid);
}
} else {
for (auto entry = this->objects.begin(); entry != this->objects.end(); ++entry) {
if (*entry == skill) {
delete skill;
this->objects.erase(entry);
break;
}
}
this->skills.erase(skillEntry);
}
}
}
// OFFSET: 0x00ACA200
// FUNCTION: fn_17690
bool CWorld::RemoveItem(std::uint32_t aid) {
auto actorEntry = this->actors.begin();
for (; actorEntry != this->actors.end(); ++actorEntry) {
if ((*actorEntry)->render.accountId == aid) {
break;
}
}
if (actorEntry == this->actors.end()) {
return false;
}
this->RemovePcPos(aid, true);
this->RemovePcPosForMove((*actorEntry)->render.accountId, true);
CRenderObject* actor = *actorEntry;
for (auto objectEntry = this->objects.begin(); objectEntry != this->objects.end(); ++objectEntry) {
if (*objectEntry == actor) {
delete actor;
this->objects.erase(objectEntry);
break;
}
}
this->actors.erase(actorEntry);
return true;
}
// OFFSET: 0x00ACA320
// FUNCTION: fn_17691
void CWorld::Clear() {
auto entry = this->objects.begin();
while (entry != this->objects.end()) {
delete *entry;
entry = this->objects.erase(entry);
}
this->player = nullptr;
this->actors.clear();
this->items.clear();
this->skills.clear();
g_effectMgr->Clear();
this->pendingActorIds.clear();
this->actorCells.clear();
this->unindexedActorIds.clear();
}
// OFFSET: 0x00ACA980
// FUNCTION: fn_17698
void CWorld::SendObjectMessage(CGameObject* sender, std::uint64_t identity, int message, int a, int b, int c, int d) {
if (this == nullptr) {
return;
}
if (identity == 0) {
return;
}
auto it = std::find_if(this->objects.begin(), this->objects.end(), [identity](CRenderObject* object) { return identity == object->identity; });
if (it != this->objects.end()) {
(*it)->SendMsg(sender, message, message >> 31, a, a >> 31, b, b >> 31, c, c >> 31, d, d >> 31, 0, 0, 0, 0);
}
}
// OFFSET: 0x00CD8000
// FUNCTION: fn_21298
void CGameMode::SpawnArrowEffect(std::uint32_t aid, int target, char flag, int argument) {
if (target == 0) {
return;
}
CArrowEffect* effect = new CArrowEffect;
if (effect) {
this->scene->objects.push_back(effect);
effect->SendMsg(nullptr, AM_SETPOS, 0, static_cast<int>(aid), static_cast<int>(aid) >> 31, target, 0, reinterpret_cast<int>(&flag),
reinterpret_cast<int>(&flag) >> 31, argument, argument >> 31, 0, 0, 0, 0);
}
}
// OFFSET: 0x00CD80C0
// FUNCTION: fn_21299
void CGameMode::SpawnArrowEffect64(const vector3d* source, const vector3d* target, float speed) {
CArrowEffect* effect = new CArrowEffect;
if (effect) {
this->scene->objects.push_back(effect);
effect->SendMsg(nullptr, AM_SETPOS2, 0, reinterpret_cast<int>(source), reinterpret_cast<int>(source) >> 31, reinterpret_cast<int>(target),
reinterpret_cast<int>(target) >> 31, reinterpret_cast<int>(&speed), reinterpret_cast<int>(&speed) >> 31, 0, 0, 0, 0, 0, 0);
}
}
// OFFSET: 0x00CD8730
// FUNCTION: fn_21300
void CGameMode::UnusedArrowStub(int, int, int, int, int, int, int, int, int, int) {
}
// OFFSET: 0x00CD8740
// FUNCTION: fn_21301
CCorpse* CGameMode::SpawnCorpse(float x, float y, float z, const char* action, const char* sprite, int animation, int motion, float angle) {
auto* corpse = new (std::nothrow) CCorpse;
if (corpse) {
this->scene->objects.push_back(corpse);
corpse->render.position.x = x;
corpse->render.position.y = y;
corpse->render.position.z = z;
corpse->SetActionName(action);
corpse->SetSpriteName(sprite);
corpse->render.previousAnimation = animation;
corpse->render.animation = animation;
corpse->render.curMotion = motion;
corpse->render.angle = angle;
}
return corpse;
}
// OFFSET: 0x00AC8350
// FUNCTION: fn_17669
CItem* CWorld::GetItemByAID(std::uint32_t aid) const {
for (auto it = this->items.begin(); it != this->items.end(); ++it) {
CItem* item = static_cast<CItem*>(*it);
if (item->itemAid == aid) {
return item;
}
}
return nullptr;
}
// OFFSET: 0x00AC8380
// FUNCTION: fn_17670
CRenderObject* CWorld::GetActorByGID(int gid) const {
auto it = std::find_if(this->actors.begin(), this->actors.end(), [gid](CRenderObject* object) {
CGameActor* actor = static_cast<CGameActor*>(object);
return !actor->objectType && gid == actor->GetPkState();
});
if (it != this->actors.end()) {
return *it;
}
return nullptr;
}
// OFFSET: 0x00AC8440
// FUNCTION: fn_17671
CRenderObject* CWorld::GetSkillByAID(std::uint32_t aid) const {
for (auto it = this->skills.begin(); it != this->skills.end(); ++it) {
CSkill* skill = static_cast<CSkill*>(*it);
if (skill->skillAid == aid) {
return skill;
}
}
return nullptr;
}
// OFFSET: 0x00B3C350
// FUNCTION: fn_18807
CRenderObject* FindRenderObject(std::uint32_t aid) {
CWorld* scene = static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene;
if (g_session.m_aid == aid) {
return reinterpret_cast<CRenderObject*>(scene->player);
}
CRenderObject* actor = scene->GetGameActorByAID(aid);
if (!actor) {
actor = scene->GetSkillByAID(aid);
}
return actor;
}
// OFFSET: 0x00CD76A0
// FUNCTION: fn_21296
bool CGameMode::LaunchTargetEffect(int effectId, CGameActor* source, CGameActor* target, int argument) {
if (!source || !target) {
return false;
}
if (g_effectMgr->HasAllocator(effectId)) {
CEffect* effect = g_effectMgr->Spawn(source->render.accountId, effectId, source->render.position.x, source->render.position.y,
source->render.position.z, target->render.accountId, -1, 0, 0);
if (!effect) {
return false;
}
if (argument != -1) {
effect->effectArgument = argument;
}
if (effectId == 539) {
g_effectMgr->Spawn(source->render.accountId, 980, source->render.position.x, source->render.position.y, source->render.position.z,
target->render.accountId, -1, 0, 0);
}
return true;
}
CRagEffect* effect = source->LaunchEffect(effectId, vector3d{0.0f, 0.0f, 0.0f}, 0.0f);
if (!effect) {
return false;
}
vector3d position = target->render.position;
effect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(&position), 0, 0, 0, 0);
if (argument != -1) {
effect->SendMsg(nullptr, AM_SETCOUNT, 0, argument, 0, 0, 0, 0);
}
return true;
}
// OFFSET: 0x00CD7800
// FUNCTION: fn_21297
void CGameMode::UpdateNameBalloon(CGameActor* actor) {
if (!actor) {
return;
}
this->EnsureNameBalloon(this->nameBalloon);
CActorNameCard card = this->nameCard.Lookup(actor->render.accountId);
if (!card.received) {
return;
}
if (actor->hasHp == 1 && (this->scene->isPKZone == 1 || this->scene->isSiegeMode == 1)) {
card.name = "??????";
} else {
const std::string name = this->nameCard.Name(actor->render.accountId);
card.name = name;
}
if (g_session.IsMonsterActor(actor) == 1) {
UINameBalloonText* balloon = this->nameBalloon;
unsigned char monsterType;
if (actor->GetEffectiveJob(-1) == 20269) {
monsterType = 0;
} else {
monsterType = actor->hpGaugeFlags;
}
balloon->SetName(card, actor->IsPlayerClass(actor->GetEffectiveJob(-1)) == 0, monsterType);
} else if (actor->objectType == 7 || actor->objectType == 8) {
CActorNameCard masked = card;
char name[24] = {};
strncpy_s(name, sizeof(name), masked.name.c_str(), masked.name.size());
if (g_forbiddenWords.Contains(name) == true) {
std::string unused;
g_forbiddenWords.Mask(name, &unused);
masked.name = name;
}
this->nameBalloon->SetName(masked, actor->IsPlayerClass(actor->GetEffectiveJob(-1)) == 0, 0);
} else {
bool stripHash = true;
if (actor->IsPlayerClass(actor->GetEffectiveJob(-1)) == 1) {
stripHash &= g_session.IsAllyActor(actor->render.accountId, actor->GetEffectiveJob(-1)) != 0;
}
this->nameBalloon->SetName(card, stripHash, 0);
}
const unsigned char showEmblem = g_serviceOptions.Get(0x40);
if ((g_session.IsNpcJob(actor->GetEffectiveJob(-1)) || g_session.IsMonsterActor(actor)) && card.groupIconId) {
this->nameBalloon->SetIcon(FormatOwnedString("유저인터페이스\\group\\group_%d.bmp", card.groupIconId).c_str(), 0);
} else if (g_session.IsAllyActor(actor->render.accountId, actor->GetEffectiveJob(-1)) && card.groupIconId) {
this->nameBalloon->SetIcon(FormatOwnedString("유저인터페이스\\group\\group_%d.bmp", card.groupIconId).c_str(), 0);
} else if (actor->GetGdid() && showEmblem) {
const unsigned char framedEmblem = g_serviceOptions.Get(0xF3);
std::string emblem = g_guildMgr->GetEmblemFilename(actor->GetGdid());
this->nameBalloon->SetIcon(emblem.c_str(), static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene->isSiegeMode == 1 && framedEmblem ? 1 : 0);
} else if (reinterpret_cast<CGameActor*>(this->scene->player) == actor) {
char path[256];
std::memset(path, 0, sizeof(path));
if (g_clanInfo->m_hasClan == true && g_clanInfo->m_clanId) {
StringFormat(path, sizeof(path), static_cast<std::size_t>(-1), "유저인터페이스\\clan_system\\clan_emblem%02d.bmp", g_clanInfo->m_clanId);
}
this->nameBalloon->SetIcon(path, 0);
} else if (actor->hasSp) {
char path[256];
std::memset(path, 0, sizeof(path));
std::sprintf(path, "유저인터페이스\\clan_system\\clan_emblem%02d.bmp", actor->spGaugeValue);
this->nameBalloon->SetIcon(path, 0);
} else {
this->nameBalloon->SetIcon("", 0);
}
UINameBalloonText* balloon = this->nameBalloon;
*reinterpret_cast<int*>(this->nameBalloonSize) = balloon->geometry.width;
*reinterpret_cast<int*>(&this->nameBalloonSize[4]) = balloon->geometry.height;
if (balloon) {
const int aid = actor->render.accountId;
if (g_serviceType == 12) {
switch (aid) {
case 0x189111:
case 0x189112:
case 0x189113:
case 0x189114:
case 0x189116:
case 0x189117:
case 0x189119:
case 0x18911A:
balloon->m_textColor = 0xFF;
balloon->m_outlineColor = 0x646464;
break;
default:
balloon->m_textColor = this->ActorNameColor(actor->GetEffectiveJob(-1), aid);
balloon->m_outlineColor = 0;
break;
}
} else {
balloon->m_textColor = this->ActorNameColor(actor->GetEffectiveJob(-1), aid);
balloon->m_outlineColor = 0;
}
if (!actor->IsPlayerClass(actor->GetEffectiveJob(-1)) && static_cast<short>(actor->characterLevel) > 0 && g_session.IsMonsterActor(actor)) {
const short difference = static_cast<short>(g_session.m_level - actor->characterLevel);
if (difference < -10) {
balloon->m_textColor = 0xFF;
balloon->m_outlineColor = 0;
} else if (difference >= 16) {
balloon->m_textColor = 0x9B9B9B;
balloon->m_outlineColor = 0;
}
}
if (g_session.m_aid == actor->emblemVersion) {
balloon->m_textColor = 0xC8C8C8;
balloon->m_outlineColor = 0;
}
}
this->PlaceWindowAtActor(this->nameBalloon, actor);
}
// OFFSET: 0x00CD8820
// FUNCTION: fn_21302
void CGameMode::ShowGuildEmblem(CGameActor* actor, int guildId, int unused) {
if (!actor || !guildId || actor->sceneNameWindow != 0) {
return;
}
if (IsAdminAccount(actor->render.accountId)) {
return;
}
if (!IsAdminAccount(g_session.m_aid)) {
if (StateFlag02(actor->GetStateFlags()) || StateFlag01(actor->GetStateFlags()) || StateFlag06(actor->GetStateFlags())) {
return;
}
}
UIEmblemWnd* window = new UIEmblemWnd;
window->SendMsg(nullptr, UM_SETINFO, actor->render.accountId, guildId, 0, 0);
g_windowMgr.AddRenderedFront(window);
actor->sceneNameWindow = reinterpret_cast<int>(window);
this->AddNotificationWindow(window);
}
// OFFSET: 0x00CD8950
// FUNCTION: fn_21303
CMsgEffect* CGameMode::SpawnCashEmotion(int aid, int packId, int emotionId, std::uint32_t duration) {
CashEmotionData* data = g_cashEmotionMgr->GetEmotionData(packId, emotionId);
if (!data) {
return nullptr;
}
struct {
std::string sprite;
std::string action;
} names;
names.sprite = g_cashEmotionMgr->GetSprFileName(data->actId);
names.action = g_cashEmotionMgr->GetPackName(data->sprId);
CMsgEffect* effect = new (std::nothrow) CMsgEffect;
if (effect) {
if (this->scene) {
this->scene->objects.emplace_back(effect);
}
effect->SendMsg(nullptr, AM_SETMASTERGID, 0, duration, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
effect->SendMsg(nullptr, AM_SETPOS, 0, aid, aid >> 31, reinterpret_cast<int>(&names), reinterpret_cast<int>(&names) >> 31, data->actionIndex,
data->actionIndex >> 31, 0, 0, 0, 0, 0, 0);
}
return effect;
}
// OFFSET: 0x00CD8C10
// FUNCTION: fn_21304
void CGameMode::ApplyMapFog(int enabled) {
if (!enabled) {
g_renderer->SetFog(0);
return;
}
const std::vector<std::string>* parameters = g_session.GetFogParameters(this->mapName, &enabled);
if (enabled) {
g_depthStart = static_cast<float>(std::atof((*parameters)[0].c_str()));
g_depthEnd = static_cast<float>(std::atof((*parameters)[1].c_str()));
g_worldOverlayColor = ParseHexString((*parameters)[2].c_str());
g_fogDensity = static_cast<float>(std::atof((*parameters)[3].c_str()));
g_renderer->SetFog(1);
} else {
g_renderer->SetFog(0);
}
}
// OFFSET: 0x00CD8F30
// FUNCTION: fn_21306
void CGameMode::SpawnMandraAttack(std::uint32_t aid, int target, char flag) {
CMandraAttackEffect* effect = new CMandraAttackEffect;
if (effect) {
this->scene->objects.push_back(effect);
effect->SendMsg(nullptr, AM_SETPOS, 0, aid, 0, reinterpret_cast<int>(&flag), reinterpret_cast<int>(&flag) >> 31, target, target >> 31, 0, 0, 0, 0, 0, 0);
}
}
// OFFSET: 0x00CD8FE0
// FUNCTION: fn_21307
void CGameMode::OpenActorMenu(const ActorPickInfo* pick, int handled) {
if (g_replayAnimationScaling != 0 || g_mouse.buttons[0] == 2 || HIBYTE(GetAsyncKeyState(VK_SHIFT)) != 0) {
return;
}
const bool isAdmin = IsAdminAccount(g_session.m_aid);
if (pick == nullptr || handled != 0 || g_mouse.buttons[1] != 3 || g_windowMgr.itemStoreWnd != nullptr) {
return;
}
UIWindow* menu;
char text[256];
const int job = pick->job;
CGameActor* actor = nullptr;
if ((job >= 45 && job < 1000) || g_session.IsMonsterClass(job) || g_session.IsCompanionJob(job) ||
pick->kind == 4) {
actor = static_cast<CGameActor*>(this->scene->GetGameActorByAID(pick->accountId));
}
if (actor != nullptr && g_session.IsHomunAid(actor->render.accountId)) {
if (g_windowMgr.menuWnd != nullptr) {
g_windowMgr.CloseWindow(WID_MENUWND);
}
this->actorMenuIds.erase(this->actorMenuIds.begin(), this->actorMenuIds.end());
menu = g_windowMgr.EnsureWindow(WID_MENUWND);
this->menuTargetAid = pick->accountId;
this->actorMenuIds.push_back(0x25);
sprintf(text, LookupMessage(MSI_HOMUN_SHOWINFO));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x26);
sprintf(text, LookupMessage(MSI_HOMUN_FEEDING));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x27);
sprintf(text, LookupMessage(MSI_HOMUN_WAITING));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
} else if (actor != nullptr && g_session.IsMercenaryAid(pick->accountId)) {
if (g_windowMgr.menuWnd != nullptr) {
g_windowMgr.CloseWindow(WID_MENUWND);
}
this->actorMenuIds.erase(this->actorMenuIds.begin(), this->actorMenuIds.end());
menu = g_windowMgr.EnsureWindow(WID_MENUWND);
this->menuTargetAid = pick->accountId;
this->actorMenuIds.push_back(0x28);
sprintf(text, LookupMessage(MSI_HOMUN_SHOWINFO));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x29);
sprintf(text, LookupMessage(MSI_HOMUN_WAITING));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
} else if (actor != nullptr && pick->accountId == g_session.petGid && actor->objectType == 7) {
if (g_windowMgr.menuWnd != nullptr) {
g_windowMgr.CloseWindow(WID_MENUWND);
}
this->actorMenuIds.erase(this->actorMenuIds.begin(), this->actorMenuIds.end());
menu = g_windowMgr.EnsureWindow(WID_MENUWND);
this->menuTargetAid = pick->accountId;
this->actorMenuIds.push_back(0x21);
sprintf(text, LookupMessage(MSI_PET_SHOWINFO));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x1D);
sprintf(text, LookupMessage(MSI_PET_FEEDING));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x1E);
sprintf(text, LookupMessage(MSI_PET_PERFORMANCE));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x20);
sprintf(text, LookupMessage(MSI_PET_ACC_OFF));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
this->actorMenuIds.push_back(0x1F);
sprintf(text, LookupMessage(MSI_PET_RETURN_EGG));
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
} else {
if (pick->accountId == g_session.m_aid) {
return;
}
if (!IsPlayerJob(pick->job) && !isAdmin) {
return;
}
if (g_session.IsAllyActor(pick->accountId, pick->job) == 1) {
return;
}
if (!this->nameCard.Contains(pick->accountId) && !isAdmin) {
return;
}
if (this->ActorName(pick->accountId).empty() && !isAdmin) {
return;
}
if (this->rBtnClickX != g_mouse.x || this->rBtnClickY != g_mouse.y || !IsPlayerJob(pick->job)) {
return;
}
CGameActor* target = static_cast<CGameActor*>(this->scene->GetGameActorByAID(pick->accountId));
if (target == nullptr) {
return;
}
if (target->storedActorEntry == 1) {
if (isAdmin != true) {
return;
}
if (g_windowMgr.menuWnd != nullptr) {
g_windowMgr.CloseWindow(WID_MENUWND);
}
this->actorMenuIds.erase(this->actorMenuIds.begin(), this->actorMenuIds.end());
menu = g_windowMgr.EnsureWindow(WID_MENUWND);
this->menuTargetAid = pick->accountId;
this->actorMenuIds.push_back(0x41);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_INVALID_MAPPROPERTY_REQUEST_USER)), 0, 0, 0);
} else {
std::string name;
if (target->hasHp == 1 && (this->scene->isPKZone == 1 || this->scene->isSiegeMode == 1)) {
name = "??????";
} else {
name = this->ActorName(pick->accountId);
}
if (g_windowMgr.menuWnd != nullptr) {
g_windowMgr.CloseWindow(WID_MENUWND);
}
this->actorMenuIds.erase(this->actorMenuIds.begin(), this->actorMenuIds.end());
menu = g_windowMgr.EnsureWindow(WID_MENUWND);
this->menuTargetAid = pick->accountId;
char line[128];
std::memset(line, 0, sizeof(line));
if (isAdmin) {
this->actorMenuIds.push_back(0x1C);
sprintf(line, LookupMessage(MSI_BAN_USER), name.c_str());
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
CPlayer* player = static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene->player;
if (!StateFlag01(player->GetStateFlags()) && !StateFlag02(player->GetStateFlags())) {
this->actorMenuIds.push_back(0x2A);
sprintf(line, LookupMessage(MSI_REQ_VIEW_OTHERUSER), name.c_str());
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
if (!StateFlag01(player->GetStateFlags()) && !StateFlag02(player->GetStateFlags())) {
this->actorMenuIds.push_back(4);
sprintf(line, LookupMessage(MSI_REQ_DEAL_WITH2), name.c_str());
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
const bool canInviteParty =
g_session.partyLeader != 0 && g_session.PartyByName(name.c_str()).valid == 0;
if (canInviteParty) {
this->actorMenuIds.push_back(5);
sprintf(line, LookupMessage(MSI_REQ_JOIN_PARTY2), name.c_str());
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
if (g_session.IsPartyRecommendTarget(pick->accountId) == true) {
this->actorMenuIds.push_back(0x24);
sprintf(line, LookupMessage(MSI_REQ_JOIN_BABY), name.c_str());
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
if (g_guildInfo.m_guildId != 0) {
CGameActor* member = static_cast<CGameActor*>(this->scene->GetGameActorByAID(pick->accountId));
const std::uint32_t guildId = member != nullptr ? member->GetGdid() : 0;
if (g_guildInfo.canInvite != 0 && guildId == 0) {
this->actorMenuIds.push_back(0x16);
sprintf(line, LookupMessage(MSI_REQ_JOIN_GUILD), name.c_str());
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
if (g_guildInfo.isMaster != 0 && guildId != g_guildInfo.m_guildId) {
menu->SendMsg(nullptr, UM_ADDBOUNDARY, 0, 0, 0, 0);
this->actorMenuIds.push_back(0x19);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_REQ_ALLY_GUILD)), 0, 0, 0);
this->actorMenuIds.push_back(0x1A);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_REQ_HOSTILE_GUILD)), 0, 0, 0);
}
}
menu->SendMsg(nullptr, UM_ADDBOUNDARY, 0, 0, 0, 0);
this->actorMenuIds.push_back(0x14);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_OPEN_1ON1_WINDOW)), 0, 0, 0);
if (!IsAdminAccount(pick->accountId) && !g_windowMgr.IsFriend(name.c_str()) && g_serviceMode != 3) {
this->actorMenuIds.push_back(10);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_ADD_TO_FRIEND_CHAR_LIST)), 0, 0, 0);
}
this->actorMenuIds.push_back(0x3A);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_USA_PERSONALINFO_DEATH)), 0, 0, 0);
menu->SendMsg(nullptr, UM_ADDBOUNDARY, 0, 0, 0, 0);
if (g_whisperBlockMgr->Contains(name)) {
this->actorMenuIds.push_back(0xD);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_GRADE_ENCHANT_ITEM_UNBREAKABLE)), 0, 0, 0);
} else {
this->actorMenuIds.push_back(0xC);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_GRADE_ENCHANT_ADDITIONAL_SOURCE_NOT_SELECT)), 0, 0, 0);
}
if (IsAdminAccount(g_session.m_aid)) {
menu->SendMsg(nullptr, UM_ADDBOUNDARY, 0, 0, 0, 0);
this->actorMenuIds.push_back(0x2C);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_REMOVE_EQUIPEDITEM)), 0, 0, 0);
if (g_serviceMode != 3) {
this->actorMenuIds.push_back(0x17);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_GIVE_PLUS_MANNER_POINT)), 0, 0, 0);
this->actorMenuIds.push_back(0x18);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_GIVE_MINUS_MANNER_POINT)), 0, 0, 0);
sprintf(line, LookupMessage(MSI_PROHIBIT_LOG), g_session.CountProhibitionLog(this->menuTargetAid));
this->actorMenuIds.push_back(0x23);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
sprintf(line, "%s : %d (GID) : %s", g_session.m_serverName.c_str(), this->menuTargetAid, name.c_str());
this->actorMenuIds.push_back(0x22);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(line), 0, 0, 0);
}
this->menuTargetName = name;
menu->SendMsg(nullptr, UM_ADDBOUNDARY, 0, 0, 0, 0);
this->actorMenuIds.push_back(0x3F);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_MACRO_USER_REPORT_COOLTIME)), 0xFF, 0, 0);
menu->SendMsg(nullptr, UM_ADDBOUNDARY, 0, 0, 0, 0);
if (CPc* pc = dynamic_cast<CPc*>(static_cast<CGameActor*>(this->scene->GetGameActorByAID(pick->accountId)))) {
const std::string code = std::string("[C-Code] : ") + ShortcutFilename(pc->GetPkState());
this->actorMenuIds.push_back(0x39);
menu->SendMsg(nullptr, UM_ADDITEM, reinterpret_cast<std::intptr_t>(code.c_str()), 0, 0, 0);
}
menu->SendMsg(nullptr, UM_ADJUSTSIZE, 0, 0, 0, 0);
menu->Move(g_mouse.x + 1, g_mouse.y + 1);
return;
}
}
menu->SendMsg(nullptr, UM_ADJUSTSIZE, 0, 0, 0, 0);
menu->Move(g_mouse.x + 1, g_mouse.y + 1);
}
// OFFSET: 0x00ACA540
// FUNCTION: fn_17693
bool CWorld::RemoveGroundItem(std::uint32_t aid) {
for (auto item = this->items.begin(); item != this->items.end(); ++item) {
if (static_cast<CItem*>(*item)->itemAid == aid) {
CRenderObject* object = *item;
for (auto entry = this->objects.begin(); entry != this->objects.end(); ++entry) {
if (*entry == object) {
delete object;
this->objects.erase(entry);
break;
}
}
this->items.erase(item);
return true;
}
}
return false;
}
// OFFSET: 0x00ACA8A0
// FUNCTION: fn_17697
bool CWorld::RemoveSkill(std::uint32_t aid) {
for (auto entry = this->skills.begin(); entry != this->skills.end(); ++entry) {
if (static_cast<CSkill*>(*entry)->skillAid == aid) {
CSkill* skill = static_cast<CSkill*>(*entry);
if (!skill) {
return false;
}
skill->SendMsg(nullptr, AM_DISAPPEAR, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
if (skill->HasPendingDamage() == true) {
for (std::uint32_t pending : this->pendingActorIds) {
if (pending == aid) {
return false;
}
}
this->pendingActorIds.push_back(aid);
return false;
}
this->RemoveObject(skill);
this->skills.erase(entry);
return true;
}
}
return false;
}
// OFFSET: 0x00CDA2F0
// FUNCTION: fn_21308
CMsgEffect* CGameMode::SpawnDamageMsgEffect(const vector3d* position, std::uint32_t color, std::uint32_t accountId) {
struct {
std::string sprite;
std::string action;
} names;
names.sprite = static_cast<const std::string&>(FormatOwnedString("%s.spr", g_session.damageSpriteName.c_str()));
names.action = static_cast<const std::string&>(FormatOwnedString("%s.act", g_session.damageSpriteName.c_str()));
CMsgEffect* effect = new CMsgEffect;
if (effect) {
this->scene->objects.push_back(effect);
effect->SendMsg(nullptr, AM_SETMASTERGID, 0, accountId, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0);
effect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(position), reinterpret_cast<int>(position) >> 31, reinterpret_cast<int>(&names),
reinterpret_cast<int>(&names) >> 31, 0, 0, 0, 0, 0, 0, 0, 0);
effect->render.color = color;
effect->render.useGroundLighting = 0;
}
return effect;
}
// OFFSET: 0x00CDA580
// FUNCTION: fn_21309
CMsgEffect* CGameMode::SpawnMsgEffect(int effectId, const vector3d* position, std::uint32_t accountId, bool visible) {
std::string names[2];
int type = 0;
int animation = 0;
switch (effectId) {
case MAKETYPE_MVP_EFFECT:
names[0] = "이팩트\\mvp.spr";
names[1] = "이팩트\\mvp.act";
type = 2;
break;
case MAKETYPE_CART_EFFECT:
names[0] = "이팩트\\손수레.spr";
names[1] = "이팩트\\손수레.act";
type = 3;
break;
case MAKETYPE_PK_EFFECT:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 8;
type = 4;
break;
case MAKETYPE_ICE_EFFECT:
names[0] = "이팩트\\얼음땡.spr";
names[1] = "이팩트\\얼음땡.act";
type = 5;
break;
case MAKETYPE_ICEBREAK_EFFECT:
names[0] = "이팩트\\얼음땡.spr";
names[1] = "이팩트\\얼음땡.act";
animation = 1;
type = 6;
break;
case MAKETYPE_SMOKE_EFFECT:
names[0] = "이팩트\\smoke.spr";
names[1] = "이팩트\\smoke.act";
type = 6;
break;
case MAKETYPE_CURSE_EFFECT:
names[0] = "이팩트\\Status-curse.spr";
names[1] = "이팩트\\Status-curse.act";
type = 7;
break;
case MAKETYPE_SLEEP_EFFECT:
names[0] = "이팩트\\Status-sleep.spr";
names[1] = "이팩트\\Status-sleep.act";
type = 8;
break;
case MAKETYPE_STUN_EFFECT:
names[0] = "이팩트\\Status-stun.spr";
names[1] = "이팩트\\Status-stun.act";
type = 9;
break;
case MAKETYPE_SILENCE_EFFECT:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 10;
type = 10;
break;
case MAKETYPE_ANGELUS_EFFECT:
names[0] = FormatOwnedString("%s.spr", g_session.GetDamageSpriteName());
names[1] = FormatOwnedString("%s.act", g_session.GetDamageSpriteName());
animation = 1;
type = 11;
break;
case MAKETYPE_CRUSIS_EFFECT:
names[0] = FormatOwnedString("%s.spr", g_session.GetDamageSpriteName());
names[1] = FormatOwnedString("%s.act", g_session.GetDamageSpriteName());
animation = 2;
type = 12;
break;
case MAKETYPE_CRITICAL_EFFECT:
names[0] = FormatOwnedString("%s.spr", g_session.GetDamageSpriteName());
names[1] = FormatOwnedString("%s.act", g_session.GetDamageSpriteName());
animation = 2;
type = 15;
break;
case MAKETYPE_LUCKY_EFFECT:
names[0] = FormatOwnedString("%s.spr", g_session.GetDamageSpriteName());
names[1] = FormatOwnedString("%s.act", g_session.GetDamageSpriteName());
animation = 3;
type = 17;
break;
case MAKETYPE_BIRD_EFFECT:
names[0] = "이팩트\\매.spr";
names[1] = "이팩트\\매.act";
type = 18;
break;
case MAKETYPE_CART_EFFECT2:
names[0] = "이팩트\\손수레1.spr";
names[1] = "이팩트\\손수레1.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT3:
names[0] = "이팩트\\손수레2.spr";
names[1] = "이팩트\\손수레2.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT4:
names[0] = "이팩트\\손수레3.spr";
names[1] = "이팩트\\손수레3.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT5:
names[0] = "이팩트\\손수레4.spr";
names[1] = "이팩트\\손수레4.act";
type = 3;
break;
case MAKETYPE_GUARD_EFFECT:
names[0] = FormatOwnedString("%s.spr", g_session.GetDamageSpriteName());
names[1] = FormatOwnedString("%s.act", g_session.GetDamageSpriteName());
animation = 1;
type = 24;
break;
case MAKETYPE_CART_EFFECT6:
names[0] = "이팩트\\슈노손수레.spr";
names[1] = "이팩트\\슈노손수레.act";
type = 3;
break;
case MAKETYPE_BLUE_EFFECT:
names[0] = FormatOwnedString("%s.spr", g_session.GetDamageSkinAuxiliaryName());
if (g_session.m_damageSkinIndex == 0) {
names[1] = "이팩트\\msg.act";
} else {
names[1] = FormatOwnedString("%s.act", g_session.GetDamageSkinAuxiliaryName());
}
animation = 2;
type = 25;
break;
case MAKETYPE_BIRD_EFFECT2:
names[0] = "이팩트\\매2.spr";
names[1] = "이팩트\\매2.act";
type = 18;
break;
case MAKETYPE_BIRD_EFFECT3:
names[0] = "이팩트\\매.spr";
names[1] = "이팩트\\베이비매.act";
type = 18;
break;
case MAKETYPE_CART_EFFECT11:
names[0] = "이팩트\\손수레.spr";
names[1] = "이팩트\\베이비손수레.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT12:
names[0] = "이팩트\\손수레1.spr";
names[1] = "이팩트\\베이비손수레1.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT13:
names[0] = "이팩트\\손수레2.spr";
names[1] = "이팩트\\베이비손수레2.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT14:
names[0] = "이팩트\\손수레3.spr";
names[1] = "이팩트\\베이비손수레3.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT15:
names[0] = "이팩트\\손수레4.spr";
names[1] = "이팩트\\베이비손수레4.act";
type = 3;
break;
case MAKETYPE_CART_EFFECT16:
names[0] = "이팩트\\슈노손수레.spr";
names[1] = "이팩트\\베이비슈노손수레.act";
type = 3;
break;
case MAKETYPE_CURSOR_EFFECT:
names[0] = "cursors.spr";
names[1] = "cursors.act";
animation = 10;
type = 26;
break;
case MAKETYPE_BIRD_EFFECT4:
names[0] = "몬스터\\demon_pungus.spr";
names[1] = "몬스터\\demon_pungus.act";
type = 18;
break;
case MAKETYPE_BIRD_EFFECT5:
names[0] = "몬스터\\explosion.spr";
names[1] = "몬스터\\explosion.act";
type = 18;
break;
case MAKETYPE_BIRD_EFFECT6:
names[0] = "몬스터\\lude.spr";
names[1] = "몬스터\\lude.act";
type = 18;
break;
case 35:
names[0] = "몬스터\\워그.spr";
names[1] = "몬스터\\워그.act";
type = 27;
break;
case 36:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 80;
type = 28;
break;
case 37:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 81;
type = 28;
break;
case 38:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 82;
type = 29;
break;
case 39:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 83;
type = 29;
break;
case 40:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 84;
type = 30;
break;
case 41:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 85;
type = 30;
break;
case 42:
names[0] = "몬스터\\워그.spr";
names[1] = "몬스터\\베이비워그.act";
type = 31;
break;
case 43:
names[0] = "이팩트\\shield.spr";
names[1] = "이팩트\\shield.act";
type = 32;
break;
case 44:
names[0] = "이팩트\\costumebody.spr";
names[1] = "이팩트\\costumebody.act";
type = 33;
break;
case 45:
names[0] = "이팩트\\손수레5.spr";
names[1] = "이팩트\\손수레5.act";
type = 3;
break;
case 46:
names[0] = "이팩트\\손수레5베이비.spr";
names[1] = "이팩트\\손수레5베이비.act";
type = 3;
break;
case 47:
names[0] = "이팩트\\손수레6.spr";
names[1] = "이팩트\\손수레6.act";
type = 3;
break;
case 48:
names[0] = "이팩트\\손수레6베이비.spr";
names[1] = "이팩트\\손수레6베이비.act";
type = 3;
break;
case 49:
names[0] = "이팩트\\손수레7.spr";
names[1] = "이팩트\\손수레7.act";
type = 3;
break;
case 50:
names[0] = "이팩트\\손수레7베이비.spr";
names[1] = "이팩트\\손수레7베이비.act";
type = 3;
break;
case 51:
names[0] = "이팩트\\손수레8.spr";
names[1] = "이팩트\\손수레8.act";
type = 3;
break;
case 52:
names[0] = "이팩트\\손수레8베이비.spr";
names[1] = "이팩트\\손수레8베이비.act";
type = 3;
break;
case 53:
names[0] = "이팩트\\OWL.spr";
names[1] = "이팩트\\OWL.act";
type = 18;
break;
case 54:
names[0] = "이팩트\\선물상자카트.spr";
names[1] = "이팩트\\선물상자카트.act";
type = 3;
break;
case 55:
names[0] = "이팩트\\선물상자카트_미니.spr";
names[1] = "이팩트\\선물상자카트_미니.act";
type = 3;
break;
case 56:
names[0] = "이팩트\\포링싣은카트.spr";
names[1] = "이팩트\\포링싣은카트.act";
type = 3;
break;
case 57:
names[0] = "이팩트\\포링싣은카트_미니.spr";
names[1] = "이팩트\\포링싣은카트_미니.act";
type = 3;
break;
case 58:
names[0] = "이팩트\\포링카트.spr";
names[1] = "이팩트\\포링카트.act";
type = 3;
break;
case 59:
names[0] = "이팩트\\포링카트_미니.spr";
names[1] = "이팩트\\포링카트_미니.act";
type = 3;
break;
case 60:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 93;
type = 34;
break;
case 61:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 94;
type = 35;
break;
case 62:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 95;
type = 30;
break;
case 63:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 96;
type = 29;
break;
case 64:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 97;
type = 36;
break;
case 65:
names[0] = "이팩트\\마도카트.spr";
names[1] = "이팩트\\마도카트.act";
type = 3;
break;
case 66:
names[0] = "이팩트\\마도카트_미니.spr";
names[1] = "이팩트\\마도카트_미니.act";
type = 3;
break;
case 67:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 5;
type = 37;
break;
case 68:
names[0] = "이팩트\\emotion.spr";
names[1] = "이팩트\\emotion.act";
animation = 28;
type = 38;
break;
case 69:
names[0] = "이팩트\\WINDHAWK_HAWK.spr";
names[1] = "이팩트\\WINDHAWK_HAWK.act";
type = 18;
break;
case 70:
names[0] = "이팩트\\WINDHAWK_WOLF.spr";
names[1] = "이팩트\\WINDHAWK_WOLF.act";
type = 27;
break;
default:
names[0] = "이팩트\\msg.spr";
names[1] = "이팩트\\msg.act";
break;
}
CMsgEffect* effect = nullptr;
if (CMsgEffect::UsesMsgEffect(type)) {
effect = new CSummonActorEffect;
} else {
effect = new CMsgEffect;
}
if (effect) {
this->scene->objects.push_back(effect);
effect->SendMsg(nullptr, AM_SETMASTERGID, 0, accountId, 0, type, type >> 31, 0, 0, 0, 0, 0, 0, 0, 0);
effect->m_visible = visible;
effect->SendMsg(nullptr, AM_SETPOS, 0, reinterpret_cast<int>(position), reinterpret_cast<int>(position) >> 31, reinterpret_cast<int>(names),
reinterpret_cast<int>(names) >> 31, animation, animation >> 31, 0, 0, 0, 0, 0, 0);
}
return effect;
}