diff UI/UIPopup.cpp @ 2331:9551756f46c4

Moving functions out of mm7_6.cpp into appropriate classes as static methods or free functions
author Grumpy7
date Wed, 02 Apr 2014 01:21:05 +0200
parents aff7a7b072b7
children ddb803517a48
line wrap: on
line diff
--- a/UI/UIPopup.cpp	Tue Apr 01 23:44:27 2014 +0200
+++ b/UI/UIPopup.cpp	Wed Apr 02 01:21:05 2014 +0200
@@ -1869,7 +1869,7 @@
 
       int rot_x, rot_y, rot_z;
       Vec3_int_::Rotate(64, pParty->sRotationY, pParty->sRotationX, v39, &rot_x, &rot_y, &rot_z);
-      sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
+      SpriteObject::sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
       if ( dword_4E455C )
       {
         if ( pPlayers[uActiveCharacter]->CanAct() )
@@ -1895,7 +1895,7 @@
 
       int rot_x, rot_y, rot_z;
       Vec3_int_::Rotate(64, pParty->sRotationY, pParty->sRotationX, v39, &rot_x, &rot_y, &rot_z);
-      sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
+      SpriteObject::sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
       if ( dword_4E455C )
       {
         if ( pPlayers[uActiveCharacter]->CanAct() )
@@ -1922,7 +1922,7 @@
 
       int rot_x, rot_y, rot_z;
       Vec3_int_::Rotate(64, pParty->sRotationY, pParty->sRotationX, v39, &rot_x, &rot_y, &rot_z);
-      sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
+      SpriteObject::sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
       if ( dword_4E455C )
       {
         if ( pPlayers[uActiveCharacter]->CanAct() )
@@ -1949,7 +1949,7 @@
 
       int rot_x, rot_y, rot_z;
       Vec3_int_::Rotate(64, pParty->sRotationY, pParty->sRotationX, v39, &rot_x, &rot_y, &rot_z);
-      sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
+      SpriteObject::sub_42F7EB_DropItemAt(0x41Bu, rot_x, rot_y, rot_z, 0, 1, 0, 0, 0);
       if ( dword_4E455C )
       {
         if ( pPlayers[uActiveCharacter]->CanAct() )