comparison UIRest.cpp @ 961:5a12082c803d

UIMSG and WINDOW_Type(continue)
author Ritor1
date Mon, 06 May 2013 17:33:40 +0600
parents 9a5db2cf999a
children 0423c40d7e88
comparison
equal deleted inserted replaced
960:9a5db2cf999a 961:5a12082c803d
58 pCurrentScreen = SCREEN_GAME; 58 pCurrentScreen = SCREEN_GAME;
59 viewparams->bRedrawGameUI = 1; 59 viewparams->bRedrawGameUI = 1;
60 } 60 }
61 pEventTimer->Pause(); 61 pEventTimer->Pause();
62 if ( dword_506F14 != 2 ) 62 if ( dword_506F14 != 2 )
63 GUIWindow::Create(518u, 450u, 0, 0, WINDOW_5A, (int)pBtn_Rest, 0); 63 GUIWindow::Create(518u, 450u, 0, 0, WINDOW_Button, (int)pBtn_Rest, 0);
64 _506F18_num_hours_to_sleep = 0; 64 _506F18_num_hours_to_sleep = 0;
65 dword_506F14 = 0; 65 dword_506F14 = 0;
66 uRestUI_FoodRequiredToRest = 2; 66 uRestUI_FoodRequiredToRest = 2;
67 if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor) 67 if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor)
68 uRestUI_FoodRequiredToRest = pOutdoor->GetNumFoodRequiredToRestInCurrentPos( 68 uRestUI_FoodRequiredToRest = pOutdoor->GetNumFoodRequiredToRestInCurrentPos(