OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
UIRest.cpp File Reference
#include <string>
#include "Engine/AssetsManager.h"
#include "Engine/Graphics/Outdoor.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Objects/NPC.h"
#include "Engine/Localization.h"
#include "Engine/Party.h"
#include "Engine/Engine.h"
#include "Engine/Time/Timer.h"
#include "GUI/GUIButton.h"
#include "GUI/UI/UIRest.h"

Functions

static void prepareToLoadRestUI ()
 
static void calculateRequiredFood ()
 

Variables

GraphicsImagerest_ui_btn_4 = nullptr
 
GraphicsImagerest_ui_btn_exit = nullptr
 
GraphicsImagerest_ui_btn_3 = nullptr
 
GraphicsImagerest_ui_btn_1 = nullptr
 
GraphicsImagerest_ui_btn_2 = nullptr
 
GraphicsImagerest_ui_restmain = nullptr
 
GraphicsImagerest_ui_sky_frame_current = nullptr
 
GraphicsImagerest_ui_hourglass_frame_current = nullptr
 
int foodRequiredToRest
 
Duration remainingRestTime
 
RestType currentRestType
 

Function Documentation

◆ calculateRequiredFood()

static void calculateRequiredFood ( )
static

◆ prepareToLoadRestUI()

static void prepareToLoadRestUI ( )
static

Variable Documentation

◆ currentRestType

RestType currentRestType

◆ foodRequiredToRest

int foodRequiredToRest

◆ remainingRestTime

Duration remainingRestTime

◆ rest_ui_btn_1

GraphicsImage* rest_ui_btn_1 = nullptr

◆ rest_ui_btn_2

GraphicsImage* rest_ui_btn_2 = nullptr

◆ rest_ui_btn_3

GraphicsImage* rest_ui_btn_3 = nullptr

◆ rest_ui_btn_4

GraphicsImage* rest_ui_btn_4 = nullptr

◆ rest_ui_btn_exit

GraphicsImage* rest_ui_btn_exit = nullptr

◆ rest_ui_hourglass_frame_current

GraphicsImage* rest_ui_hourglass_frame_current = nullptr

◆ rest_ui_restmain

GraphicsImage* rest_ui_restmain = nullptr

◆ rest_ui_sky_frame_current

GraphicsImage* rest_ui_sky_frame_current = nullptr