Example #1
0
void BackSingleClickHandler(ClickRecognizerRef recognizer, Window *window)
{
	if(currentMenuDef && currentMenuDef->disableBackButton)
		return;
		
	PopMenu();
}
Example #2
0
void ActivateCombatFullPotion(void)
{
	if(AttemptToUseFullPotion())
	{
		PopMenu();
		BattleUpdate();
	}
}
Example #3
0
void ActivateLightningScroll(void)
{
	if(AttemptToConsumeLightningScroll())
	{
		PopMenu();
		UseLightningOnCurrentMonster();
	}
}
Example #4
0
void ActivateIceScroll(void)
{
	if(AttemptToConsumeIceScroll())
	{
		PopMenu();
		UseIceOnCurrentMonster();
	}
}
Example #5
0
void CloseBattleWindow(void)
{
	battleCleanExit = true;
	RemoveConfirmationWindow();
	PopMenu();
}
Example #6
0
void ForceEvent(void)
{
	PopMenu();
	ExecuteEvent(ComputeRandomEvent_inline(baseChanceOfEvent, ticksSinceLastEvent, chances, sizeof(chances), true));
}
Example #7
0
void ContinueNextFloor() {
	IncrementFloor();
	PopMenu();
}
Example #8
0
void ForceShop(void)
{
	PopMenu();
	ShowShopWindow();
}
Example #9
0
void ForceBattle(void)
{
	PopMenu();
	ShowBattleWindow();
}
Example #10
0
void ForceItemGain(void)
{
	PopMenu();
	ShowItemGainWindow();
}
Example #11
0
void ForceNewFloor(void)
{
	PopMenu();
	ShowNewFloorWindow();
}