Exemple #1
0
void MainMenuWindowAppear(Window *window)
{
	mainMenuVisible = true;
	MenuAppear(window);
	ShowPauseRow(battery_state_service_peek());
	battery_state_service_subscribe(BatteryHandler);
}
Exemple #2
0
void InfoWindowAppear(Window *window)
{
	MenuAppear(window);
	
	ShowMainWindowRow(0, "Info", "");
	ShowMainWindowRow(1, UpdateFreeText(), "Free");
	ShowMainWindowRow(2, UpdateMinFreeText(), "Min");
}
Exemple #3
0
void ProgressMenuAppear(Window *window)
{
	MenuAppear(window);
	ShowMainWindowRow(0, "Progress", "");	
	ShowMainWindowRow(1, "Level", UpdateLevelText());
	ShowMainWindowRow(2, "XP", UpdateXPText());
	ShowMainWindowRow(3, "Next XP", UpdateNextXPText());
	ShowMainWindowRow(4, "Gold", UpdateGoldText());
	ShowMainWindowRow(5, "Escapes", UpdateEscapeText());
}
Exemple #4
0
void EndMenuAppear(Window *window)
{
	MenuAppear(window);
	if(characterData.stats.currentHealth <= 0)
		ShowMainWindowRow(0, "You lose", "");
	else
		ShowMainWindowRow(0, "You win", "");
	ShowMainWindowRow(1, "Floor", UpdateFloorText());
	ShowMainWindowRow(2, "Level", UpdateLevelText());
	ShowMainWindowRow(3, "Gold", UpdateGoldText());
	ShowMainWindowRow(4, "Escapes", UpdateEscapeText());
}
Exemple #5
0
void AdventureWindowAppear(Window *window)
{
	INFO_LOG("Back to the adventure.");
	DEBUG_LOG("Adventure appear floor %d",GetCurrentFloor());
	MenuAppear(window);
	ShowMainWindowRow(0, "Floor", UpdateFloorText());
	adventureWindow = window;
	UpdateCharacterHealth();
	UpdateCharacterLevel();
	SetUpdateDelay();
	adventureWindowVisible = true;
}
Exemple #6
0
void StatMenuAppear(Window *window)
{
	MenuAppear(window);
	DrawStatWindow();
}
Exemple #7
0
void ItemBattleMenuAppear(Window *window)
{
	MenuAppear(window);
	ShowAllItemCounts();
}
Exemple #8
0
void BattleWindowAppear(Window *window)
{
	MenuAppear(window);
	ShowMainWindowRow(0, currentMonster->name, UpdateMonsterHealthText());
}
Exemple #9
0
void NewFloorMenuAppear(Window *window)
{
	MenuAppear(window);
	ShowMainWindowRow(0, "New Floor", UpdateFloorText());
}
Exemple #10
0
void OptionsMenuAppear(Window *window)
{
	MenuAppear(window);
	DrawOptionsMenu();
	optionsMenuVisible = true;
}
Exemple #11
0
void ItemMainMenuAppear(Window *window)
{
	MenuAppear(window);
	ShowAllItemCounts();
}
Exemple #12
0
void ItemGainMenuAppear(Window *window)
{
	MenuAppear(window);
	ShowMainWindowRow(0, "Item Gained", "");
	ShowMainWindowRow(1, GetItemName(typeGained), UpdateItemCountText(typeGained));
}
Exemple #13
0
void ShopItemMenuAppear(Window *window)
{
	MenuAppear(window);
	DrawMainItemShopWindow();
}
Exemple #14
0
void ShopMenuWindowAppear(Window *window)
{
	MenuAppear(window);
	ShowMainWindowRow(0, "Shop", "");
}
Exemple #15
0
void ShopStatMenuAppear(Window *window)
{
	MenuAppear(window);
	DrawMainStatShopWindow();
}