|
Defines |
| #define | VIEWFILE "view.ccq" |
Functions |
| void | collect_possible_games (void) |
| void | add_to_possible_games (Module *module) |
| void | pick_a_focus (Side *side, int *xp, int *yp) |
| int | num_active_displays (void) |
| VP * | new_vp (void) |
| void | xform_cell (VP *vp, int x, int y, int *sxp, int *syp) |
| void | xform_cell_top (VP *vp, int x, int y, int *sxp, int *syp) |
| void | xform_cell_flat (VP *vp, int x, int y, int *sxp, int *syp) |
| void | xform_cell_fractional (VP *vp, int x, int y, int xf, int yf, int *sxp, int *syp) |
| void | xform_cell_fractional_flat (VP *vp, int x, int y, int xf, int yf, int *sxp, int *syp) |
| void | xform_unit (VP *vp, Unit *unit, int *sxp, int *syp, int *swp, int *shp) |
| int | max_uviews_in_rect (int w, int h, int flags) |
| int | uview_width_in_rect (int w, int h, int flags, int numviews, int usestdsz) |
| int | xform_unit_view (Side *side, VP *vp, UnitView *uview, int *sxp, int *syp, int *swp, int *shp, int flags, int *piles, int sxt, int syt, int swt, int sht) |
| void | xform_unit_self (VP *vp, Unit *unit, int *sxp, int *syp, int *swp, int *shp) |
| int | xform_unit_self_view (Side *side, VP *vp, UnitView *uview, int *sxp, int *syp, int *swp, int *shp) |
| void | xform_occupant (VP *vp, Unit *transport, Unit *unit, int sx, int sy, int sw, int sh, int *sxp, int *syp, int *swp, int *shp) |
| void | xform_occupant_view (VP *vp, UnitView *traview, UnitView *uview, int sx, int sy, int sw, int sh, int *sxp, int *syp, int *swp, int *shp) |
| void | scale_vp (VP *vp, VP *vp2, int *sxp, int *syp, int *swp, int *shp) |
| void | scale_point (VP *vp, VP *vp2, int sx, int sy, int *sx2p, int *sy2p) |
| int | nearest_cell (VP *vp, int sx, int sy, int *xp, int *yp, int *xfp, int *yfp) |
| int | nearest_boundary (VP *vp, int sx, int sy, int *xp, int *yp, int *dirp) |
| UnitView * | find_uview_at_pixel (Side *side, VP *vp, UnitView *uview, int usx, int usy, int usw, int ush, int sx, int sy) |
| | Return unit view at a certain pixel, if there is one.
|
| Unit * | find_unit_or_occ (Side *side, VP *vp, Unit *unit, int usx, int usy, int usw, int ush, int sx, int sy) |
| UnitView * | find_uview_at_pixel (Side *side, VP *vp, int x, int y, int sx, int sy) |
| | Return unit view at a certain pixel, if there is one.
|
| Unit * | find_unit_at (Side *side, VP *vp, int x, int y, int sx, int sy) |
| int | nearest_unit (Side *side, VP *vp, int sx, int sy, Unit **unitp) |
| int | nearest_unit_view (Side *side, VP *vp, int sx, int sy, UnitView **uviewp) |
| int | cell_is_visible (VP *vp, int x, int y) |
| int | cell_is_in_middle (VP *vp, int x, int y) |
| void | focus_on_center (VP *vp) |
| void | center_on_focus (VP *vp) |
| int | set_view_size (VP *vp, int w, int h) |
| int | set_view_position (VP *vp, int sx, int sy) |
| int | set_view_power (VP *vp, int power) |
| int | set_view_focus (VP *vp, int x, int y) |
| int | set_view_angle (VP *vp, int angle) |
| int | set_view_isometric (VP *vp, int flag, int scale) |
| int | set_view_direction (VP *vp, int dir) |
| void | free_vp (VP *vp) |
| int | compute_x1_len (VP *vp, int vx, int vy, int y, int *x1p, int *lenp) |
| int | any_borders_in_dir (int x, int y, int dir) |
| int | any_coating_at (int x, int y) |
| int | compute_transition (Side *side, VP *vp, int x, int y, int dir, int *sxp, int *syp, int *swp, int *shp, int *offsetp) |
| void | compute_fire_line_segment (int sx1, int sy1, int sx2, int sy2, int i, int n, int *xx, int *yy, int *dx, int *dy) |
| void | place_feature_legends (Legend *legend, int nf, Side *side, int orient, int block) |
| void | set_meridian_interval (VP *vp, int interval) |
| void | vp_latlong (VP *vp, int *lat1p, int *lon1p, int *lat2p, int *lon2p) |
| void | plot_meridians (VP *vp, void(*line_callback)(int x1, int y1, int x1f, int y1f, int x2, int y2, int x2f, int y2f), void(*text_callback)(int x1, int y1, int x1f, int y1f, char *str)) |
| void | set_contour_interval (VP *vp, int n) |
| void | contour_lines_at (VP *vp, int x, int y, int sx, int sy, LineSegment **lines, int *numlinesp) |
| int | unit_visible (Side *side, VP *vp, Unit *unit) |
| int | draw_temperature_here (Side *side, int x, int y) |
| int | draw_winds_here (Side *side, int x, int y) |
| void | oneliner (Side *side, VP *vp, int sx, int sy) |
| Unit * | autonext_unit (Side *side, Unit *unit) |
| Unit * | autonext_unit_inbox (Side *side, Unit *unit, VP *vp) |
| int | could_be_next_unit (Unit *unit) |
| Unit * | find_next_occupant (Unit *unit) |
| int | find_units_matching (Side *side, char *name, Unit **unitp) |
| Unit * | embarkation_unit (Unit *unit) |
| int | char_to_dir (int ch, int *dir1p, int *dir2p, int *modp) |
| int | advance_into_cell (Side *side, Unit *unit, int x, int y, Unit *other, HistEventType *reason) |
| int | unit_could_attack (Unit *unit, int u2, Side *side2, int x, int y) |
| Unit * | give_supplies (Unit *unit, short *amts, short *rslts) |
| int | take_supplies (Unit *unit, short *amts, short *rslts) |
| int | impl_move_to (Side *side, Unit *unit, int x, int y, int dist) |
| int | impl_build (Side *side, Unit *unit, int u2, Unit *transport, int x, int y, int n) |
| int | impl_change_type (Side *side, Unit *unit, int u2) |
| int | favored_type (Unit *unit) |
| void | set_unit_image (Unit *unit) |
| void | set_unit_view_image (UnitView *uview) |
| ImageFamily * | get_unit_type_images (Side *side, int u) |
| ImageFamily * | get_material_type_images (Side *side, int m) |
| ImageFamily * | get_terrain_type_images (Side *side, int t) |
| ImageFamily * | get_unseen_images (Side *side) |
| ImageFamily * | get_emblem_images (Side *side, Side *side2) |
| void | record_imf_get (ImageFamily *imf) |
| void | describe_imf (Side *side, char *classname, char *imftype, ImageFamily *imf) |
| void | init_ui_chars (void) |
| void | init_unit_images (Side *side) |
| void | dump_text_view (Side *side, int use_both_chars) |
| int | terrain_seen_at (Side *side, int x, int y) |
| Unit * | unit_seen_at (Side *side, int x, int y) |
| int | utype_seen_at (Side *side, int x, int y) |
Variables |
| char * | first_game_name = INTRO_GAME |
| char * | second_game_name = STANDARD_GAME |
| char * | second_game_title |
| Side * | dside |
| short | mags [NUMPOWERS] = { 1, 2, 4, 8, 16, 32, 64, 128 } |
| short | hws [NUMPOWERS] = { 1, 2, 4, 12, 24, 44, 88, 174 } |
| short | hhs [NUMPOWERS] = { 1, 2, 4, 13, 26, 48, 96, 192 } |
| short | hcs [NUMPOWERS] = { 1, 2, 4, 10, 20, 37, 74, 148 } |
| short | iws [NUMPOWERS] = { 1, 2, 4, 13, 26, 48, 96, 192} |
| short | ihs [NUMPOWERS] = { 1, 1, 2, 6, 12, 22, 44, 88 } |
| short | ics [NUMPOWERS] = { 1, 1, 1, 3, 6, 11, 22, 44 } |
| short | ix1 [NUMPOWERS] = { 0, 0, 1, 3, 6, 11, 22, 44 } |
| short | ix2 [NUMPOWERS] = { 1, 2, 3, 10, 20, 37, 74, 148 } |
| short | halfsides [NUMPOWERS] = { 1, 1, 2, 5, 7, 13, 26, 52 } |
| short | uhs [NUMPOWERS] = { 1, 1, 3, 8, 16, 32, 64, 128 } |
| short | uws [NUMPOWERS] = { 1, 1, 3, 8, 16, 32, 64, 128 } |
| short | bwid [NUMPOWERS] = { 0, 0, 1, 2, 3, 5, 7, 9 } |
| short | bwid2 [NUMPOWERS] = { 0, 0, 1, 1, 2, 3, 4, 5 } |
| short | cwid [NUMPOWERS] = { 0, 0, 1, 2, 3, 5, 7, 9 } |
| short | bsx [NUMPOWERS][7] |
| short | bsy [NUMPOWERS][7] |
| short | ibsx [NUMPOWERS][7] |
| short | ibsy [NUMPOWERS][7] |
| short | lsx [NUMPOWERS][6] |
| short | lsy [NUMPOWERS][6] |
| short | ilsx [NUMPOWERS][6] |
| short | ilsy [NUMPOWERS][6] |
| short | qx [NUMPOWERS][7] |
| short | qy [NUMPOWERS][7] |
| int | extracells = 3 |
| short | uw_trad [NUMPOWERS][NUMPOWERS] |
| short | uw_elli [NUMPOWERS][NUMPOWERS] |
| char * | dirchars = "ulnbhy" |
| ImageFamily ** | uimages = NULL |
| int * | numuimages = NULL |
| int | min_w_for_unit_image = 16 |
| int | min_h_for_unit_image = 16 |
| ImageFamily * | unseen_image |
| ImageFamily * | generic_transition |
| ImageFamily * | generic_fuzz |
| char * | unitchars = NULL |
| char * | terrchars = NULL |
| char | unseen_char_1 |
| char | unseen_char_2 |
| ImageFamily ** | recorded_imfs |
| int | num_recorded_imfs |
| int | max_recorded_imfs |
| void(* | imf_describe_hook )(Side *side, Image *img) |
| int | big_unit_images = FALSE |
| Module ** | possible_games = NULL |
| int | numgames = 0 |