Mercurial > mm7
comparison mm7_6.cpp @ 2121:f6e59446c133
Snow
author | Ritor1 |
---|---|
date | Wed, 25 Dec 2013 17:20:02 +0600 |
parents | c7bf59066842 |
children | d28d3c006077 |
comparison
equal
deleted
inserted
replaced
2120:3eab5530cc94 | 2121:f6e59446c133 |
---|---|
1029 else | 1029 else |
1030 partyAction = PARTY_TurnLeft; | 1030 partyAction = PARTY_TurnLeft; |
1031 } | 1031 } |
1032 pPartyActionQueue->Add(partyAction); | 1032 pPartyActionQueue->Add(partyAction); |
1033 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor && pWeather->bRenderSnow) | 1033 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor && pWeather->bRenderSnow) |
1034 { | |
1035 pWeather->OnPlayerTurn(10); | 1034 pWeather->OnPlayerTurn(10); |
1036 } | |
1037 break; | 1035 break; |
1038 case INPUT_TurnRight: | 1036 case INPUT_TurnRight: |
1039 if (pCurrentScreen != SCREEN_GAME) | 1037 if (pCurrentScreen != SCREEN_GAME) |
1040 break; | 1038 break; |
1041 if ( GetAsyncKeyState(17) ) // strafing | 1039 if ( GetAsyncKeyState(17) ) // strafing |
1055 else | 1053 else |
1056 partyAction = PARTY_TurnRight; | 1054 partyAction = PARTY_TurnRight; |
1057 } | 1055 } |
1058 pPartyActionQueue->Add(partyAction); | 1056 pPartyActionQueue->Add(partyAction); |
1059 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor && pWeather->bRenderSnow) | 1057 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor && pWeather->bRenderSnow) |
1060 { | |
1061 pWeather->OnPlayerTurn(-10); | 1058 pWeather->OnPlayerTurn(-10); |
1062 } | |
1063 break; | 1059 break; |
1064 case INPUT_Jump: | 1060 case INPUT_Jump: |
1065 if (pCurrentScreen != SCREEN_GAME || pParty->bTurnBasedModeOn) | 1061 if (pCurrentScreen != SCREEN_GAME || pParty->bTurnBasedModeOn) |
1066 break; | 1062 break; |
1067 partyAction = (PartyAction)12; | 1063 partyAction = (PartyAction)12; |