

Public Member Functions | |
| unstore_unit_advance_choice (int o, const map_location &l, bool d) | |
| virtual config | query_user () const |
| virtual config | random_choice (rand_rng::simple_rng &rng) const |
Public Attributes | |
| int | nb_options |
| map_location | loc |
| bool | use_dialog |
Definition at line 2305 of file game_events.cpp.
| unstore_unit_advance_choice::unstore_unit_advance_choice | ( | int | o, | |
| const map_location & | l, | |||
| bool | d | |||
| ) | [inline] |
Definition at line 2311 of file game_events.cpp.
| virtual config unstore_unit_advance_choice::query_user | ( | ) | const [inline, virtual] |
Implements mp_sync::user_choice.
Definition at line 2315 of file game_events.cpp.
References dialogs::advance_unit_dialog(), DBG_NG, loc, nb_options, game_config::images::selected, and use_dialog.

| virtual config unstore_unit_advance_choice::random_choice | ( | rand_rng::simple_rng & | rng | ) | const [inline, virtual] |
Implements mp_sync::user_choice.
Definition at line 2330 of file game_events.cpp.
References rand_rng::simple_rng::get_next_random(), and nb_options.

Definition at line 2308 of file game_events.cpp.
Referenced by query_user().
Definition at line 2307 of file game_events.cpp.
Referenced by query_user(), and random_choice().
Definition at line 2309 of file game_events.cpp.
Referenced by query_user().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:16:09 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |