#include <fack.hpp>
Inheritance diagram for FACK:
Public Member Functions | |
void | start () |
Protected Member Functions | |
FACK (int argc, char **argv) | |
virtual void | execute_action_verb_object (const pt< verb > v, const pt< obj_or_concept > obj_for_which_no_verb_was_chosen, const pt< obj_or_concept > obj_for_which_the_verb_was_chosen)=0 |
virtual void | execute_action_object_object (const pt< obj_or_concept > o1, const pt< obj_or_concept > o2)=0 |
virtual void | execute_action_double_none_of_the_above (const pt< phys_obj > o1, const pt< phys_obj > o2)=0 |
void | execute_commands (pt< PC > player, const list< pt< script_cmd > > &commands) |
void | define_dialog_aux (const dialog_t &dialog, pt< PC > first_player, pt< PC > second_player, script_cmds_t &commands_first, script_cmds_t &commands_second) const |
virtual void | active_player_changed (pt< PC > new_act_pl) |
Static Protected Member Functions | |
static bool | contains_recursively (pt< container > cont, pt< obj_or_concept > o, pt< container > &real_cont, int_pair &pos) |
static bool | contains_not_recursively (pt< container > cont, pt< obj_or_concept > o, int_pair &pos) |
Protected Attributes | |
SDL_Surface * | special_buttons_icon |
int_pair | special_buttons_icon_pos |
SDL_Rect | zone_save_load_game |
SDL_Rect | zone_cycle_active_player |
SDL_Rect | zone_toggle_stay_follow |
surf_of_letter_t | surf_of_letter |
pt< PC > | act_pl |
seq_list< pt< PC > > | players |
set< pt< location > > | locations |
pt< phys_obj > | hand |
pt< phys_obj > | eye |
pt< phys_obj > | mouth |
pt< phys_obj > | foot |
pt< phys_obj > | ear |
pt< phys_obj > | body |
pt< concept > | topic_hello |
pt< concept > | topic_yes |
pt< concept > | topic_no |
pt< concept > | topic_bye |
set< pt< light_across_loc > > | lights_across_loc |
SDL_Surface * | screen |
pt< quick_message > | quick_msg |
list< pt< transition_of_fixed_light > > | transitions_of_fixed_light |
Private Member Functions | |
void | action (const string &eventId) |
void | recompute_on_lights (set< pt< light > > &on_lights) const |
special_button_pick_result | special_button_at_pos (int_pair pos) const |
pt< layer_lit > | lit_layer_of_unlit_layer (const layer_unlit_after_anim &unlit, const set< pt< light > > &on_lights, float time, SDL_Rect visible_rect) const |
pt< circle_t > | circle_of_light (pt< light > l) const |
update_AI_result | update_AI_state (pt< PC > player, float dt, int_pair top_left_of_obj_in_cont_coords) |
void | update_light_transitions (float dt) |
SDL_Rect | find_scrolling_rect (int_pair size_of_bg_surf) |
result_exec_next_scr_cmd | exec_next_scr_cmd (const vector< pt< script_cmd > > commands, int cur_cmd_it, const pt< PC > pl, pt< anim_frame > last_frame, bool increm_cmd_at_start, bool must_set_player_left_or_right) |
void | close_all_open_popups (const pt< PC > pl) |
void | render_command_bar (int_pair mouse_screen, int_pair mouse_bg, const map< pt< PC >, pt< anim_frame > > &cur_frame_of_player) const |
void | manage_button_up (list< SDL_Event >::const_iterator ev) |
int | calc_command_bar_ht () const |
pt< container_pick_result > | item_in_popup_at_screen_pos (int_pair screen_pos) const |
void | the_obj_was_clicked (pt< obj_or_concept > o, int_pair mouse) |
void | drop_item (pt< dragging_state_maybe_dragging_obj > st, int_pair mouse) |
void | cycle_active_player () |
void | stand_up_if_sitting (pt< PC > pl) |
Private Attributes | |
bool | must_exit |
pt< gcn::SDLGraphics > | gcn_graphics |
pt< gcn::Gui > | gcn_gui |
pt< gcn::Container > | gcn_top_container |
pt< gcn::Window > | gcn_save_window |
pt< gcn::Container > | gcn_save_cont |
pt< gcn::Button > | gcn_cancel_save_button |
pt< gcn::Button > | gcn_save_button |
pt< gcn::TextField > | gcn_save_text_field |
pt< gcn::Window > | gcn_options_window |
pt< gcn::Container > | gcn_options_cont |
pt< dir_watcher_list_model > | list_model |
pt< gcn::Window > | gcn_load_window |
pt< gcn::Container > | gcn_load_cont |
pt< gcn::Button > | gcn_cancel_load_button |
pt< gcn::ListBox > | gcn_load_listbox |
pt< gcn::ScrollArea > | gcn_load_scroll_area |
pt< gcn::SDLInput > | gcn_input |
pt< gcn::SDLImageLoader > | gcn_image_loader |
pt< gcn::ImageFont > | gcn_font |
pt< gcn::Button > | gcn_options_save_button |
pt< gcn::Button > | gcn_options_cancel_button |
pt< gcn::Button > | gcn_options_fullscreen_button |
pt< gcn::Button > | gcn_options_load_button |
pt< gcn::Button > | gcn_options_quit_button |
pt< game_state_t > | game_state |
Definition at line 2328 of file fack.hpp.
|
|
Definition at line 5258 of file fack.cc. References gcn_load_window, gcn_options_window, gcn_save_window, gcn_top_container, list_model, must_exit, and screen. |
|
Reimplemented in my_game. Definition at line 2397 of file fack.hpp. Referenced by cycle_active_player(). |
|
Definition at line 2531 of file fack.hpp. References map_get(), and surf_of_letter. Referenced by find_scrolling_rect(), render_command_bar(), and start(). |
|
Definition at line 5212 of file fack.cc. References contains_not_recursively(), foreach, NEW, players, and pt_cast(). Referenced by lit_layer_of_unlit_layer(). |
|
Definition at line 2582 of file fack.cc. Referenced by exec_next_scr_cmd(). |
|
Definition at line 5047 of file fack.cc. References foreach. Referenced by circle_of_light(), contains_recursively(), and my_game::execute_action_verb_object(). |
|
Definition at line 5005 of file fack.cc. References contains_not_recursively(), foreach, and pt_cast(). Referenced by drop_item(), exec_next_scr_cmd(), my_game::execute_action_object_object(), and my_game::execute_action_verb_object(). |
|
Definition at line 3437 of file fack.cc. References act_pl, active_player_changed(), players, and setof_. Referenced by start(). |
|
Definition at line 4548 of file fack.cc. References close_any_open_container, foreach, and NEW. Referenced by my_game::execute_action_object_object(). |
|
Definition at line 617 of file fack.cc. References act_pl, contains_recursively(), NEW, point_in_rect(), pt_cast(), and quick_msg. Referenced by start(). |
|
Definition at line 2595 of file fack.cc. References act_pl, path_finding::best_route(), close_all_open_popups(), close_any_open_container, compute_dir(), compute_feet_positions(), contains_recursively(), d_left, d_right, end_commands(), game_state, hd_left, hd_right, HIDE, in(), map_get(), NEW, pt_cast(), quick_msg, raise_exception(), setof_, stand_up_if_sitting(), transitions_of_fixed_light, var_cast(), and vector_of(). Referenced by execute_commands(), and update_AI_state(). |
|
Implemented in my_game. Referenced by start(). |
|
Implemented in my_game. Referenced by the_obj_was_clicked(). |
|
Implemented in my_game. Referenced by start(), and the_obj_was_clicked(). |
|
Definition at line 2158 of file fack.cc. References exec_next_scr_cmd(), result_exec_next_scr_cmd::new_pl_dir, result_exec_next_scr_cmd::new_pl_pos, result_exec_next_scr_cmd::new_pl_state, pt_cast(), and vector_of(). Referenced by my_game::execute_action_double_none_of_the_above(), my_game::execute_action_object_object(), my_game::execute_action_verb_object(), and start(). |
|
Definition at line 3464 of file fack.cc. References act_pl, calc_command_bar_ht(), create_rect(), min(), screen, int_pair::x, and int_pair::y. Referenced by start(). |
|
Definition at line 844 of file fack.cc. References act_pl, NEW, and pt_cast(). Referenced by render_command_bar(), and start(). |
|
Definition at line 296 of file time-critical-procs.cc. References circle_of_light(), foreach, in(), map_get(), NEW, setof_, and sum_each_pixel(). Referenced by start(). |
|
|
|
Definition at line 3522 of file fack.cc. References act_pl, foreach, lights_across_loc, players, and pt_cast(). Referenced by start(). |
|
Definition at line 1744 of file fack.cc. References act_pl, calc_command_bar_ht(), game_state, item_in_popup_at_screen_pos(), item_in_room_at_position(), players, text::print_x_centered_line_of_text(), pt_cast(), SBPR_CYCLE_PLAYER, SBPR_SAVE_LOAD, SBPR_STAY_FOLLOW, screen, special_button_at_pos(), surf_of_letter, var_cast(), int_pair::x, and int_pair::y. Referenced by start(). |
|
Definition at line 5132 of file fack.cc. References point_in_rect(), SBPR_CYCLE_PLAYER, SBPR_NOTHING, SBPR_SAVE_LOAD, and SBPR_STAY_FOLLOW. Referenced by render_command_bar(), and start(). |
|
Definition at line 2562 of file fack.cc. References NEW, and pt_cast(). Referenced by exec_next_scr_cmd(). |
|
|
Definition at line 3335 of file fack.cc. References act_pl, draw_verb_dialog(), execute_action_object_object(), execute_action_verb_object(), in_list(), is_there_only_one_option_overall(), list_remove_one(), NEW, pt_cast(), screen, and surf_of_letter. Referenced by start(). |
|
Definition at line 2922 of file fack.cc. References exec_next_scr_cmd(), game_state, map_get(), result_exec_next_scr_cmd::new_pl_dir, result_exec_next_scr_cmd::new_pl_pos, result_exec_next_scr_cmd::new_pl_state, pt_cast(), screen, surf_of_letter, update_speech(), update_walking_animation(), and var_cast(). Referenced by start(). |
|
Definition at line 5162 of file fack.cc. References foreach, in(), locations, and transitions_of_fixed_light. Referenced by start(). |
|
Definition at line 2410 of file fack.hpp. Referenced by cycle_active_player(), drop_item(), exec_next_scr_cmd(), find_scrolling_rect(), item_in_popup_at_screen_pos(), recompute_on_lights(), render_command_bar(), start(), and the_obj_was_clicked(). |
|
|
|
|
|
|
|
|
|
Definition at line 2514 of file fack.hpp. Referenced by exec_next_scr_cmd(), FACK(), render_command_bar(), start(), and update_AI_state(). |
|
Definition at line 2456 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2443 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2462 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2437 of file fack.hpp. Referenced by FACK(). |
|
|
|
Definition at line 2461 of file fack.hpp. Referenced by FACK(). |
|
|
|
Definition at line 2455 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2457 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2458 of file fack.hpp. Referenced by FACK(). |
|
|
|
Definition at line 2465 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2448 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2466 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2467 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2468 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2464 of file fack.hpp. Referenced by FACK(). |
|
|
|
Definition at line 2444 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2442 of file fack.hpp. Referenced by FACK(). |
|
Definition at line 2445 of file fack.hpp. Referenced by FACK(). |
|
|
|
|
|
|
|
Definition at line 2420 of file fack.hpp. Referenced by recompute_on_lights(). |
|
|
|
Definition at line 2414 of file fack.hpp. Referenced by update_light_transitions(). |
|
|
|
|
|
Definition at line 2412 of file fack.hpp. Referenced by circle_of_light(), cycle_active_player(), recompute_on_lights(), render_command_bar(), and start(). |
|
Definition at line 2428 of file fack.hpp. Referenced by drop_item(), exec_next_scr_cmd(), and start(). |
|
Definition at line 2426 of file fack.hpp. Referenced by action(), FACK(), find_scrolling_rect(), render_command_bar(), start(), the_obj_was_clicked(), and update_AI_state(). |
|
Definition at line 2404 of file fack.hpp. Referenced by start(). |
|
Definition at line 2405 of file fack.hpp. Referenced by start(). |
|
Definition at line 2408 of file fack.hpp. Referenced by calc_command_bar_ht(), render_command_bar(), start(), the_obj_was_clicked(), and update_AI_state(). |
|
|
|
|
|
|
|
|
|
Definition at line 2430 of file fack.hpp. Referenced by exec_next_scr_cmd(), and update_light_transitions(). |
|
|
|
|
|
|