Home
last modified time | relevance | path

Searched refs:GetNumberOptions (Results 1 – 24 of 24) sorted by relevance

/dports/games/allacrost/allacrost-1.0.2/src/common/gui/
H A Doption.cpp221 if (index >= GetNumberOptions()) { in Draw()
374 if (option_index >= GetNumberOptions()) { in AddOptionElementText()
460 if (index >= GetNumberOptions()) { in SetOptionText()
472 if (index >= GetNumberOptions()) { in SetSelection()
495 if (index >= GetNumberOptions()) { in EnableOption()
506 if (index >= GetNumberOptions()) { in IsOptionEnabled()
517 if (index >= GetNumberOptions()) { in IsEnabled()
528 if (index >= GetNumberOptions()) { in GetEmbeddedImage()
873 offset += GetNumberOptions(); in _ChangeSelection()
897 offset += GetNumberOptions(); in _ChangeSelection()
[all …]
H A Doption.h474 uint32 GetNumberOptions() const in GetNumberOptions() function
/dports/games/valyriatear/ValyriaTear-1.1.0/src/common/gui/
H A Doption.cpp291 if(index >= GetNumberOptions()) { in Draw()
454 if(option_index >= GetNumberOptions()) { in AddOptionElementText()
474 if(option_index >= GetNumberOptions()) { in AddOptionElementImage()
500 if(option_index >= GetNumberOptions()) { in AddOptionElementImage()
523 if(option_index >= GetNumberOptions()) { in AddOptionElementAlignment()
545 if(option_index >= GetNumberOptions()) { in AddOptionElementPosition()
562 if(index >= GetNumberOptions()) { in SetOptionText()
575 if(index >= GetNumberOptions()) { in SetSelection()
601 if(index >= GetNumberOptions()) { in EnableOption()
613 if(index >= GetNumberOptions()) { in IsOptionEnabled()
[all …]
H A Doption.h505 uint32_t GetNumberOptions() const { in GetNumberOptions() function
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/map/
H A Dmap_treasure_supervisor.cpp144 for(uint32_t i = 0; i < _list_options.GetNumberOptions(); i++) { in Initialize()
266 if(_list_options.GetNumberOptions() == 0) in _UpdateAction()
271 _list_options.SetSelection(_list_options.GetNumberOptions() - 1); in _UpdateAction()
284 if(InputManager->CancelPress() || _list_options.GetNumberOptions() == 0) { in _UpdateList()
329 …if(static_cast<uint32_t>(_list_options.GetSelection()) == (_list_options.GetNumberOptions() - 1)) { in _UpdateList()
H A Dmap_dialogue_supervisor.cpp304 for(uint32_t i = 0; i < _current_options->GetNumberOptions(); ++i) in _BeginLine()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/menu/menu_windows/
H A Dmenu_skills_window.cpp88 if(_skills_list.GetNumberOptions() > 0) in _InitSkillsList()
301 if(_skills_list.GetNumberOptions() > 0) { in Update()
323 if(_skills_list.GetNumberOptions() <= 0 || _skills_list.GetSelection() < 0 in Update()
324 || static_cast<int32_t>(_skills_list.GetNumberOptions()) in Update()
503 for (uint32_t i = 0; i < _skills_list.GetNumberOptions(); ++i) { in _UpdateSkillList()
H A Dmenu_inventory_window.cpp109 if(_inventory_items.GetNumberOptions() > 0) { in _InitInventoryItems()
269 if(_inventory_items.GetNumberOptions() > 0) { in Update()
289 if( _inventory_items.GetNumberOptions() <= 0) in Update()
299 … else if(_inventory_items.GetSelection() >= (int32_t)_inventory_items.GetNumberOptions()) { in Update()
300 _inventory_items.SetSelection((uint32_t)_inventory_items.GetNumberOptions() - 1); in Update()
686 for (uint32_t i = 0; i < _inventory_items.GetNumberOptions(); ++i) { in _UpdateItemText()
H A Dmenu_equip_window.cpp111 if(_equip_list.GetNumberOptions() > 0) { in _InitEquipmentList()
231 if(_equip_list.GetNumberOptions() > 0) { in Update()
H A Dskill_node_bottom_info.cpp103 if (_stats_upgrade.GetNumberOptions() > 0) { in Draw()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/common/
H A Ddialogue.h336 if(option >= GetNumberOptions()) return vt_utils::ustring(); in GetOptionText()
342 if(option >= GetNumberOptions()) return DIALOGUE_INVALID; in GetOptionNextLine()
348 uint32_t GetNumberOptions() const { in GetNumberOptions() function
H A Ddialogue.cpp157 if(_options[i]->GetNumberOptions() == 0) { in Validate()
163 for(uint32_t j = 0; j < _options[i]->GetNumberOptions(); ++j) { in Validate()
598 for(uint32_t i = 0; i < _current_options->GetNumberOptions(); ++i) { in _BeginLine()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/battle/command/
H A Ditem_command.h85 return _item_list.GetNumberOptions(); in GetNumberListOptions()
H A Ditem_command.cpp141 if(_item_list.GetNumberOptions() == 0) { in ConstructList()
158 if(_item_list.GetNumberOptions() == 0 || _menu_items.empty()) { in Initialize()
H A Dcommand_supervisor.cpp187 if (_active_settings->GetWeaponSkillList()->GetNumberOptions() == 0) { in Initialize()
193 if(_active_settings->GetMagicSkillList()->GetNumberOptions() == 0) in Initialize()
199 if(_active_settings->GetSpecialSkillList()->GetNumberOptions() == 0) { in Initialize()
224 for(uint32_t i = 0; i < _category_options.GetNumberOptions(); i++) { in Initialize()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/map/map_dialogues/
H A Dmap_dialogue_options.h76 uint32_t GetNumberOptions() const { in GetNumberOptions() function
H A Dmap_dialogue_options.cpp42 if (option >= GetNumberOptions()) in GetOptionEvent()
/dports/games/allacrost/allacrost-1.0.2/src/modes/battle/
H A Dbattle_command.cpp411 if (_item_list.GetNumberOptions() == 0) in _ReconstructList()
420 if (entry >= _item_list.GetNumberOptions()) { in _RefreshEntry()
609 if (_active_settings->GetAttackList()->GetNumberOptions() == 0) in Initialize()
613 if (_active_settings->GetDefendList()->GetNumberOptions() == 0) in Initialize()
617 if (_active_settings->GetSupportList()->GetNumberOptions() == 0) in Initialize()
627 for (uint32 i = 0; i < _category_list.GetNumberOptions(); i++) { in Initialize()
H A Dbattle_command.h218 { return _item_list.GetNumberOptions(); } in GetNumberListOptions()
/dports/games/allacrost/allacrost-1.0.2/src/modes/menu/
H A Dmenu_views.cpp154 if (_inventory_items.GetNumberOptions() > 0) { in _InitInventoryItems()
294 if (_inventory_items.GetNumberOptions() > 0) { in Update()
648 if (_skills_list.GetNumberOptions() > 0) in _InitSkillsList()
834 if (_skills_list.GetNumberOptions() > 0) { in Update()
857 …if (_skills_list.GetNumberOptions() > 0 && _skills_list.GetSelection() >= 0 && static_cast<int32>(… in Update()
1039 if (_equip_list.GetNumberOptions() > 0) { in _InitEquipmentList()
1160 if (_equip_list.GetNumberOptions() > 0) { in Update()
/dports/games/allacrost/allacrost-1.0.2/src/modes/map/
H A Dmap_treasure.cpp288 for (uint32 i = 0; i < _list_options.GetNumberOptions(); i++) { in Initialize()
431 _list_options.SetSelection(_list_options.GetNumberOptions() - 1); in _UpdateAction()
487 if (static_cast<uint32>(_list_options.GetSelection()) == (_list_options.GetNumberOptions() - 1)) { in _UpdateList()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/battle/finish/
H A Dbattle_victory.cpp382 for(uint32_t i = 0; i < _object_list.GetNumberOptions(); ++i) { in _CreateObjectList()
389 const uint32_t no_of_options = _object_list.GetNumberOptions(); in _CreateObjectList()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/boot/
H A Dboot.cpp478 if (_debug_script_menu.GetNumberOptions() == 0) in _DEBUG_OnDebugScriptRun()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/shop/
H A Dshop.cpp468 if (_conditions_name.GetNumberOptions() < 5) in _UpdateTradeConditions()