Maintenance: Forced maintainer submission (resubmission of 14678 after td sync to 8deac7a3; replaces 14460 and 14473). Native-run fix
Batch #14681 by ragnarok-clanker: forced by an admin (6 lower score(s), 70 changed function(s)); checked with 555 compiled unit(s), including every includer of Source/Client/Mode/CLoginMode.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GrannyGameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/Actors/RenderObject.h, Source/Contents/EffectResourceSwitcher.h, Source/Contents/Effects/CartCannon.h, Source/Contents/Effects/EZ2STREffectEx.h, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/MonsterSkillEffects.h, Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/RectUpEffect.h, Source/Contents/Ground/GroundGeometry.h, Source/Network/Connection/Connection.h, Source/Resource/Audio/WaveResource.h, Source/Resource/Bitmap/BitmapResource.h, Source/Resource/EZeffectResource.h, Source/Resource/EmblemResource.h, Source/Resource/GifResource.h, Source/Resource/ImfResource.h, Source/Resource/Models/AnimatedModelResource.h, Source/Resource/Models/GrannyModelResource.h, Source/Resource/Models/ModelResource.h, Source/Resource/PaletteResource.h, Source/Resource/RmaResource.h, Source/Resource/Sprites/ActionResource.h, Source/Resource/Sprites/SpriteResource.h, Source/Resource/World/GroundResource.h, Source/Resource/World/TerrainResource.h, Source/Resource/World/WorldResource.h, Source/UI/Buttons/UIBmpRadioBtn.h, Source/UI/Buttons/UITextButton.h, Source/UI/Item/UIItemPurchaseWnd.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemStoreWnd.h, Source/UI/Item/UIItemWnd.h, Source/UI/Item/UIParaItemShopWnd.h, Source/UI/Items/UIItemRepairWnd.h, Source/UI/Items/UIMakeTargetListWnd.h, Source/UI/Items/UIMakeTargetProcessWnd.h, Source/UI/Items/UIWeaponRefineWnd.h, Source/UI/Rodex/UIRodexInboxWnd.h, Source/UI/Shop/UIMerchantItemShopWnd.h, Source/UI/Shop/UIMerchantMirrorItemWnd.h, Source/UI/Shop/UIMerchantShopMakeWnd.h, Source/UI/StylingShop/UIStylingShopWnd.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIItemReformWnd.h, Source/UI/UILapineScrollBar.h, Source/UI/Window/UIHotKeyWnd.h, Source/UI/Window/UINewSelectCharWnd.h.
This commit is contained in:
parent
8deac7a3e0
commit
ffbeee0f2a
142 changed files with 709 additions and 435 deletions
|
|
@ -194,9 +194,7 @@ void CView::Render() {
|
|||
model->renderFrame = g_renderer->frame;
|
||||
}
|
||||
|
||||
void** groundVtable = *reinterpret_cast<void***>((*node)->ground);
|
||||
reinterpret_cast<void(__thiscall*)(void*, const float*, const int*, bool)>(groundVtable[6])(
|
||||
(*node)->ground, matrix, (*node)->groundCells, true);
|
||||
(*node)->ground->DrawLit(matrix, (*node)->groundCells, true);
|
||||
|
||||
if (g_visibleMinX > (*node)->groundCells[0]) {
|
||||
g_visibleMinX = (*node)->groundCells[0];
|
||||
|
|
@ -229,9 +227,7 @@ void CView::Render() {
|
|||
}
|
||||
}
|
||||
|
||||
void** groundVtable = *reinterpret_cast<void***>((*node)->ground);
|
||||
reinterpret_cast<void(__thiscall*)(void*, const float*, const int*, bool)>(groundVtable[6])(
|
||||
(*node)->ground, matrix, (*node)->groundCells, false);
|
||||
(*node)->ground->DrawLit(matrix, (*node)->groundCells, false);
|
||||
|
||||
if (g_visibleMinY > (*node)->groundCells[1]) {
|
||||
g_visibleMinY = (*node)->groundCells[1];
|
||||
|
|
@ -252,15 +248,12 @@ void CView::Render() {
|
|||
|
||||
g_navigationManager.DrawRoute(matrix);
|
||||
|
||||
void** sceneGroundVtable = *reinterpret_cast<void***>(this->scene->ground);
|
||||
if (g_groundOverlaySkip == 0) {
|
||||
reinterpret_cast<void(__thiscall*)(void*, const float*, int, int, int)>(sceneGroundVtable[14])(
|
||||
this->scene->ground, matrix, g_groundOverlayA, g_groundOverlayB, g_groundOverlayC);
|
||||
this->scene->ground->DrawGrid(*this->scene->terrain, matrix, g_groundOverlayA, g_groundOverlayB, g_groundOverlayC);
|
||||
}
|
||||
|
||||
if (g_session.unknown_5614 != 0 && g_session.unknown_5600 != 0 && g_session.unknown_5604 != 0) {
|
||||
reinterpret_cast<void(__thiscall*)(void*, const float*, int, int, int)>(sceneGroundVtable[14])(
|
||||
this->scene->ground, matrix, g_session.unknown_5600, g_session.unknown_5604, 0xfeff0000);
|
||||
this->scene->ground->DrawGrid(*this->scene->terrain, matrix, g_session.unknown_5600, g_session.unknown_5604, 0xfeff0000);
|
||||
}
|
||||
|
||||
for (auto it = this->scene->objects.begin(); it != this->scene->objects.end(); ++it) {
|
||||
|
|
@ -283,5 +276,5 @@ void CView::Render() {
|
|||
this->spatial.inside.clear();
|
||||
this->spatial.clipped.clear();
|
||||
|
||||
reinterpret_cast<void(__thiscall*)(void*, const float*)>(sceneGroundVtable[4])(this->scene->ground, matrix);
|
||||
this->scene->ground->Ground15Slot04(reinterpret_cast<int>(matrix));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue