comparison mm7_2.cpp @ 952:a92a34f9aef5

Submenu "Time"
author Ritor1
date Thu, 02 May 2013 01:03:38 +0600
parents c0d0656aa662
children 1a47a988c0b8
comparison
equal deleted inserted replaced
951:840b78f6c2d3 952:a92a34f9aef5
6839 pRenderer->ChangeBetweenWinFullscreenModes(); 6839 pRenderer->ChangeBetweenWinFullscreenModes();
6840 if ( pArcomageGame->bGameInProgress ) 6840 if ( pArcomageGame->bGameInProgress )
6841 pArcomageGame->field_F6 = 1; 6841 pArcomageGame->field_F6 = 1;
6842 return 0; 6842 return 0;
6843 6843
6844 //SubMenu "Party"
6844 case 40007: pParty->SetGold(pParty->uNumGold + 10000); return 0; 6845 case 40007: pParty->SetGold(pParty->uNumGold + 10000); return 0;
6845 case 40008: GivePartyExp(20000); return 0; 6846 case 40008: GivePartyExp(20000); return 0;
6846 case 40013: pParty->SetGold(0); return 0; 6847 case 40013: pParty->SetGold(0); return 0;
6847 6848
6848 case 40059: 6849 case 40059:
6866 case 40042: pPlayers[uActiveCharacter]->SetEradicated(true); return 0; 6867 case 40042: pPlayers[uActiveCharacter]->SetEradicated(true); return 0;
6867 case 40043: pPlayers[uActiveCharacter]->SetAsleep(true); return 0; 6868 case 40043: pPlayers[uActiveCharacter]->SetAsleep(true); return 0;
6868 case 40044: pPlayers[uActiveCharacter]->SetAfraid(true); return 0; 6869 case 40044: pPlayers[uActiveCharacter]->SetAfraid(true); return 0;
6869 case 40045: pPlayers[uActiveCharacter]->SetParalyzed(true); return 0; 6870 case 40045: pPlayers[uActiveCharacter]->SetParalyzed(true); return 0;
6870 case 40073: pPlayers[uActiveCharacter]->SetZombie(true); return 0; 6871 case 40073: pPlayers[uActiveCharacter]->SetZombie(true); return 0;
6872
6873 case 40006: pParty->SetFood(pParty->uNumFoodRations + 20); return 0;
6874
6875 case 40062: pParty->alignment = PartyAlignment_Good; return 0;
6876 case 40063: pParty->alignment = PartyAlignment_Neutral; return 0;
6877 case 40064: pParty->alignment = PartyAlignment_Evil; return 0;
6878
6879 //SubMenu "Time"
6880 case 40009: pParty->uTimePlayed += (signed __int64)((double)(7680 * (24 * 60)) * 0.033333335); return 0;
6881 case 40010: pParty->uTimePlayed += (signed __int64)((double)(7680 * (7 * (24 * 60))) * 0.033333335); return 0;
6882 case 40011: pParty->uTimePlayed += (signed __int64)((double)(7680 * (28 * (24 * 60))) * 0.033333335); return 0;
6883 case 40012: pParty->uTimePlayed += (signed __int64)((double)(7680 * (12 * (28 * (24 * 60)))) * 0.033333335); return 0;// this incorrect
6884
6885 //SubMenu "Items"
6886 case 40015: /* generate item level 1*/; return 0;
6887
6871 } 6888 }
6872 } 6889 }
6873 return DefWindowProcA(hWnd, Msg, wParam, lParam); 6890 return DefWindowProcA(hWnd, Msg, wParam, lParam);
6874 }; 6891 };
6875 6892