Searched refs:selected_hex (Results 1 – 10 of 10) sorted by relevance
/dports/games/crimson/crimson-0.5.3/src/comet/ |
H A D | edwindow.cpp | 531 tile_wd->Select( map->HexTypeID(selected_hex) ); in WidgetActivated() 534 SwapTiles( map->HexTypeID(selected_hex), selected ); in WidgetActivated() 538 new UnitInfoWindow( map->GetUnit( selected_hex )->Type()->ID(), *map, view ); in WidgetActivated() 541 EdUnitWindow *euw = new EdUnitWindow( *(map->GetUnit( selected_hex )), *mission, view ); in WidgetActivated() 545 mission->DeleteUnit( map->GetUnit(selected_hex) ); in WidgetActivated() 546 Show( mv.UpdateHex( selected_hex ) ); in WidgetActivated() 552 mission->CreateBuilding( PLAYER_ONE, selected_hex ); // fall through in WidgetActivated() 554 new EdBuildingWindow( *(map->GetBuilding( selected_hex )), in WidgetActivated() 558 mission->DeleteBuilding( map->GetBuilding( selected_hex ) ); in WidgetActivated() 611 selected_hex = clicked; in ShowContextMenu()
|
H A D | edwindow.h | 98 Point selected_hex; variable
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ |
H A D | controller_base.cpp | 412 const map_location& selected_hex = get_display().selected_hex(); in play_slice() 414 if (selected_hex != map_location::null_location()) { in play_slice() 415 if (joystick_manager_.next_highlighted_hex(highlighted_hex, selected_hex)) { in play_slice()
|
H A D | reports.cpp | 136 return rc.dc().get_visible_unit(rc.screen().selected_hex(), in get_selected_unit() 609 const map_location& selected_hex = rc.screen().selected_hex(); in REPORT_GENERATOR() local 610 return unit_defense(rc, u, selected_hex); in REPORT_GENERATOR() 1136 const map_location& selected_hex = rc.screen().selected_hex(); in REPORT_GENERATOR() local 1139 const map_location& hex = mouseover_hex.valid() ? mouseover_hex : selected_hex; in REPORT_GENERATOR() 1199 return time_of_day_at(rc, rc.screen().selected_hex()); in REPORT_GENERATOR() 1400 mouseover_hex = rc.screen().selected_hex(); in REPORT_GENERATOR() 1494 selected_hex = rc.screen().selected_hex(); in REPORT_GENERATOR() local 1497 if (!map.on_board(selected_hex)) in REPORT_GENERATOR() 1500 mouseover_hex = selected_hex; in REPORT_GENERATOR() [all …]
|
H A D | joystick.hpp | 45 bool update_highlighted_hex(map_location& highlighted_hex, const map_location& selected_hex);
|
H A D | joystick.cpp | 265 …_manager::update_highlighted_hex(map_location& highlighted_hex, const map_location& selected_hex) { in update_highlighted_hex() argument 287 highlighted_hex = selected_hex; in update_highlighted_hex()
|
H A D | display.hpp | 283 const map_location& selected_hex() const { return selectedHex_; } in selected_hex() function in display
|
/dports/games/wesnoth/wesnoth-1.14.17/src/whiteboard/ |
H A D | manager.cpp | 602 map_location selected_hex = resources::controller->get_mouse_handler_base().get_selected_hex(); in on_mouseover_change() local 605 …hex_has_unit = resources::gameboard->units().find(selected_hex) != resources::gameboard->units().e… in on_mouseover_change() 607 if (!((selected_hex.valid() && hex_has_unit) in on_mouseover_change()
|
/dports/games/wesnoth/wesnoth-1.14.17/src/units/ |
H A D | drawer.cpp | 48 sel_hex(disp.selected_hex()), in unit_drawer()
|
/dports/games/wesnoth/wesnoth-1.14.17/src/scripting/ |
H A D | game_lua_kernel.cpp | 1238 const map_location &loc = game_display_->selected_hex(); in intf_get_selected_tile()
|