diff UIMainMenu.cpp @ 995:5876a9cafa3e

Various UIs, autonotes title fixed
author Nomad
date Tue, 14 May 2013 14:03:07 +0200
parents 9a5db2cf999a
children c45d51b3f4f4
line wrap: on
line diff
--- a/UIMainMenu.cpp	Tue May 14 12:35:06 2013 +0200
+++ b/UIMainMenu.cpp	Tue May 14 14:03:07 2013 +0200
@@ -78,6 +78,20 @@
     memset(pVisibleWindowsIdxs, 0, sizeof(pVisibleWindowsIdxs));
     }
 
+//----- (004415C5) --------------------------------------------------------
+void LoadPartyBuffIcons()
+{
+  for (uint i = 0; i < 14; ++i)
+  {
+    char filename[200];
+    sprintf(filename, "isn-%02d", i + 1);
+    pTextureIDs_PartyBuffIcons[i] = pIcons_LOD->LoadTexture(filename, TEXTURE_16BIT_PALETTE);
+  }
+
+  uIconIdx_FlySpell = pIconsFrameTable->FindIcon("spell21");
+  uIconIdx_WaterWalk = pIconsFrameTable->FindIcon("spell27");
+}
+
 //----- (0041B690) --------------------------------------------------------
 void __cdecl MainMenuUI_Create()
     {