diff mm7_2.cpp @ 952:a92a34f9aef5

Submenu "Time"
author Ritor1
date Thu, 02 May 2013 01:03:38 +0600
parents c0d0656aa662
children 1a47a988c0b8
line wrap: on
line diff
--- a/mm7_2.cpp	Wed May 01 23:36:54 2013 +0600
+++ b/mm7_2.cpp	Thu May 02 01:03:38 2013 +0600
@@ -6841,6 +6841,7 @@
             pArcomageGame->field_F6 = 1;
         return 0;
 
+        //SubMenu "Party"
         case 40007:  pParty->SetGold(pParty->uNumGold + 10000); return 0;
         case 40008:  GivePartyExp(20000);  return 0;
         case 40013:  pParty->SetGold(0);   return 0;
@@ -6868,6 +6869,22 @@
         case 40044:  pPlayers[uActiveCharacter]->SetAfraid(true);     return 0;
         case 40045:  pPlayers[uActiveCharacter]->SetParalyzed(true);  return 0;
         case 40073:  pPlayers[uActiveCharacter]->SetZombie(true);     return 0;
+
+        case 40006:  pParty->SetFood(pParty->uNumFoodRations + 20);   return 0;
+
+        case 40062:  pParty->alignment = PartyAlignment_Good;   return 0;
+        case 40063:  pParty->alignment = PartyAlignment_Neutral;   return 0;
+        case 40064:  pParty->alignment = PartyAlignment_Evil;   return 0;
+
+        //SubMenu "Time"
+        case 40009:  pParty->uTimePlayed += (signed __int64)((double)(7680 * (24 * 60)) * 0.033333335);   return 0;
+        case 40010:  pParty->uTimePlayed += (signed __int64)((double)(7680 * (7 * (24 * 60))) * 0.033333335);   return 0;
+        case 40011:  pParty->uTimePlayed += (signed __int64)((double)(7680 * (28 * (24 * 60))) * 0.033333335);   return 0;
+        case 40012:  pParty->uTimePlayed += (signed __int64)((double)(7680 * (12 * (28 * (24 * 60)))) * 0.033333335);   return 0;// this incorrect
+
+        //SubMenu "Items"
+        case 40015:  /* generate item level 1*/;   return 0;
+
       }
     }
     return DefWindowProcA(hWnd, Msg, wParam, lParam);