Freeciv-3.2
Loading...
Searching...
No Matches
Functions | Variables
sprite_g.h File Reference
#include "support.h"
#include "gui_proto_constructor.h"

Go to the source code of this file.

Functions

 GUI_FUNC_PROTO (struct sprite *, load_gfxfile, const char *filename, bool svgflag) GUI_FUNC_PROTO(struct sprite *
 
struct sprite int int int int struct sprite int int float bool smooth GUI_FUNC_PROTO (struct sprite *, create_sprite, int width, int height, struct color *pcolor) GUI_FUNC_PROTO(void
 

Variables

 crop_sprite
 
struct spritesource
 
struct sprite int x
 
struct sprite int int y
 
struct sprite int int int width
 
struct sprite int int int int height
 
struct sprite int int int int struct spritemask
 
struct sprite int int int int struct sprite int mask_offset_x
 
struct sprite int int int int struct sprite int int mask_offset_y
 
struct sprite int int int int struct sprite int int float scale
 
struct sprite int int int int struct sprite int int float bool smooth get_sprite_dimensions
 
struct sprite int int int int struct sprite int int float bool smooth struct spritesprite
 

Function Documentation

◆ GUI_FUNC_PROTO() [1/2]

struct sprite int int int int struct sprite int int float bool smooth GUI_FUNC_PROTO ( struct sprite ,
create_sprite  ,
int  width,
int  height,
struct color pcolor 
)

◆ GUI_FUNC_PROTO() [2/2]

GUI_FUNC_PROTO ( struct sprite ,
load_gfxfile  ,
const char filename,
bool  svgflag 
)

Variable Documentation

◆ crop_sprite

crop_sprite

◆ get_sprite_dimensions

◆ height

Definition at line 31 of file sprite_g.h.

◆ mask

◆ mask_offset_x

Definition at line 32 of file sprite_g.h.

Referenced by crop_sprite(), mask_surface(), and qtg_crop_sprite().

◆ mask_offset_y

Definition at line 32 of file sprite_g.h.

Referenced by crop_sprite(), mask_surface(), and qtg_crop_sprite().

◆ scale

◆ source

struct sprite* source

Definition at line 30 of file sprite_g.h.

◆ sprite

Definition at line 36 of file sprite_g.h.

◆ width

Definition at line 31 of file sprite_g.h.

◆ x

Definition at line 31 of file sprite_g.h.

Referenced by _rotozoomSurfaceSizeTrig(), _shrinkSurfaceRGBA(), _transformSurfaceRGBA(), _zoomSurfaceRGBA(), adv_settlers_road_bonus(), apply_cmresult_to_city(), apply_result_on_server(), apply_solution(), attr_tile_get(), attr_tile_set(), attribute_get(), attribute_set(), base_coor_hexa(), base_coor_isohexa(), base_coor_rect(), button_press_callback(), info_tile::calc_size(), notify_dialog::calc_size(), chat_pointer_motion(), check_scroll_area(), circle_bresenham(), citizen_happy_luxury(), citizens_callback(), city_tc_effect_refresh(), citylog_map_data(), citylog_map_line(), citylog_map_workers(), client_city_tile(), cm_print_result(), cm_result_workers(), combo_popup(), compat_load_020400(), connect_list_left_button(), connect_list_right_button(), create_line_at_mouse_pos(), units_select::create_pixmap(), crop_sprite(), debug_command(), define_tiles_within_rectangle(), dio_get_uint16_raw(), dio_get_uint32_raw(), dio_get_uint8_raw(), dio_put_uint16_raw(), dio_put_uint32_raw(), dio_put_uint8_raw(), draw_horiz(), draw_vert(), minimap_view::draw_viewport(), event_after(), event_after(), event_cache_load(), production_widget::eventFilter(), fair_do_geometry(), fair_do_hex_rotation(), fair_do_hex_symmetry1(), fair_do_hex_symmetry2(), fair_do_iso_hex_rotation(), fair_do_iso_hex_symmetry1(), fair_do_rotation(), fair_do_symmetry1(), fair_map_copy(), fair_map_place_island_rand(), fair_map_place_island_team(), fair_map_pos_tile(), fair_map_tile_pos(), fair_map_tile_step(), fc_results_are_equal(), fill_terrain_sprite_array(), FilterMouseMotionEvents(), find_dispersed_position(), find_next_widget_at_pos(), map_view::find_place(), find_tech_on_reqtree(), flush_dirty(), fmfill(), get_closest_safe_tile_distance(), get_pixel(), get_smaller_surface_rect(), get_tech_on_reqtree(), get_tile_output_text(), getpixel(), fc_client::gimme_place(), goto_here_callback(), gui_layer_new(), gui_to_map_pos(), handle_edit_mouse_button_press(), handle_edit_mouse_button_release(), handle_edit_mouse_move(), img_index(), img_plot(), img_plot_tile(), img_save_ppm(), is_in_rect_area(), is_normal_map_pos(), is_normal_nat_pos(), is_point_in_area(), is_real_map_pos(), left_butt_down_mapcanvas(), left_butt_down_overviewcanvas(), left_butt_up_mapcanvas(), left_button_down_citymap(), main_finger_down_handler(), main_finger_up_handler(), make_fracture_map(), map_generate_fair_islands(), map_relative_southness(), meswin_dialog_button_press_callback(), middle_butt_down_mapcanvas(), min_food_surplus_for_fastest_growth(), motion_notify_event(), units_select::mouseMoveEvent(), info_tab::mouseMoveEvent(), qfc_dialog::mousePressEvent(), minimap_view::mousePressEvent(), info_tab::mousePressEvent(), move_mapcanvas(), move_overviewcanvas(), nearest_real_tile(), normalize_map_pos(), notify_dialog::notify_dialog(), option_button_press_callback(), overview_update_line(), minimap_view::paint(), paradrop_here_callback(), patrol_here_callback(), pick_a_nation(), popup_city_cma_dialog(), popup_goto_airlift_dialog(), popupinfo_positioning_callback(), print_cityresult(), put_overview_tile_area(), put_spaceship(), qtg_crop_sprite(), query_main_list_tooltip_cb(), query_main_list_tooltip_cb(), redraw_ibutton(), redraw_iconlabel(), redraw_overview(), report_scroll_mouse_motion_handler(), right_butt_down_mapcanvas(), right_butt_down_overviewcanvas(), right_butt_up_mapcanvas(), right_button_down_citymap(), minimap_thread::run(), minimap_view::scale_point(), science_diagram_center(), science_diagram_left_button_up(), science_diagram_right_button_up(), set_cursor_if_appropriate(), set_relative_window_position(), sg_load_map_owner(), sg_load_map_owner(), sg_load_map_worked(), sg_load_map_worked(), sg_load_player_vision(), sg_load_player_vision(), sg_save_map_owner(), sg_save_map_worked(), sg_save_player_vision(), show_full_citybar(), show_small_citybar(), surface_put_text(), SurfaceToCursor(), terrain_info_callback(), text_tag_init_from_sequence(), tileset_setup_tile_type(), toggle_units_report(), trade_route_to_canvas_lines(), unscale_point(), update_overview_scroll_window_pos(), update_rect_at_mouse_pos(), widget_core_set_position(), widget_set_position(), window_set_position(), wl_right_button_up(), write_utf8(), and zealous_crop_rect().

◆ y

Definition at line 31 of file sprite_g.h.

Referenced by __FillRectAlpha8888_32bit(), _rotozoomSurfaceSizeTrig(), _shrinkSurfaceRGBA(), _transformSurfaceRGBA(), _zoomSurfaceRGBA(), adv_settlers_road_bonus(), apply_cmresult_to_city(), apply_result_on_server(), apply_solution(), attr_tile_get(), attr_tile_set(), attribute_get(), attribute_set(), base_coor_hexa(), base_coor_isohexa(), base_coor_rect(), button_press_callback(), info_tile::calc_size(), notify_dialog::calc_size(), calculate_diagram_layout(), chat_pointer_motion(), check_scroll_area(), circle_bresenham(), city_tc_effect_refresh(), citylog_map_data(), citylog_map_line(), citylog_map_workers(), client_city_tile(), cm_print_result(), cm_result_workers(), combo_popup(), compat_load_020400(), connect_list_left_button(), connect_list_right_button(), create_line_at_mouse_pos(), units_select::create_pixmap(), crop_sprite(), debug_command(), define_tiles_within_rectangle(), draw_horiz(), draw_trade_route_line(), draw_vert(), minimap_view::draw_viewport(), event_after(), event_after(), event_cache_load(), production_widget::eventFilter(), fair_do_geometry(), fair_do_hex_rotation(), fair_do_hex_symmetry1(), fair_do_hex_symmetry2(), fair_do_iso_hex_rotation(), fair_do_iso_hex_symmetry1(), fair_do_rotation(), fair_do_symmetry2(), fair_map_copy(), fair_map_place_island_rand(), fair_map_place_island_team(), fair_map_pos_tile(), fair_map_tile_pos(), fair_map_tile_step(), fc_results_are_equal(), fill_terrain_sprite_array(), FilterMouseMotionEvents(), find_dispersed_position(), find_next_widget_at_pos(), map_view::find_place(), find_tech_on_reqtree(), flush_dirty(), fmfill(), get_closest_safe_tile_distance(), get_pixel(), get_smaller_surface_rect(), get_tech_on_reqtree(), getpixel(), goto_here_callback(), gui_layer_new(), gui_to_map_pos(), handle_edit_mouse_button_press(), handle_edit_mouse_button_release(), handle_edit_mouse_move(), img_index(), img_plot(), img_plot_tile(), img_save_ppm(), is_in_rect_area(), is_normal_map_pos(), is_normal_nat_pos(), is_point_in_area(), is_real_map_pos(), left_butt_down_mapcanvas(), left_butt_down_overviewcanvas(), left_butt_up_mapcanvas(), left_button_down_citymap(), main_finger_down_handler(), main_finger_up_handler(), make_fracture_map(), map_generate_fair_islands(), map_relative_southness(), meswin_dialog_button_press_callback(), middle_butt_down_mapcanvas(), min_food_surplus_for_fastest_growth(), motion_notify_event(), units_select::mouseMoveEvent(), qfc_dialog::mousePressEvent(), minimap_view::mousePressEvent(), info_tab::mousePressEvent(), move_mapcanvas(), move_overviewcanvas(), nearest_real_tile(), normalize_map_pos(), notify_dialog::notify_dialog(), option_button_press_callback(), overview_update_line(), minimap_view::paint(), paradrop_here_callback(), patrol_here_callback(), popup_goto_airlift_dialog(), popup_sabotage_dialog(), popupinfo_positioning_callback(), print_cityresult(), put_overview_tile_area(), put_spaceship(), qtg_crop_sprite(), query_main_list_tooltip_cb(), query_main_list_tooltip_cb(), redraw_ibutton(), redraw_iconlabel(), redraw_overview(), redraw_tech_tree_dlg(), redraw_unit_info_label(), right_butt_down_mapcanvas(), right_butt_down_overviewcanvas(), right_butt_up_mapcanvas(), right_button_down_citymap(), minimap_thread::run(), minimap_view::scale_point(), science_diagram_center(), science_diagram_left_button_up(), science_diagram_right_button_up(), scroll_mouse_motion_handler(), set_cursor_if_appropriate(), set_relative_window_position(), sg_load_map_owner(), sg_load_map_owner(), sg_load_map_worked(), sg_load_map_worked(), sg_load_player_vision(), sg_load_player_vision(), sg_save_map_owner(), sg_save_map_worked(), sg_save_player_vision(), show_full_citybar(), show_small_citybar(), surface_put_text(), SurfaceToCursor(), terrain_info_callback(), text_tag_init_from_sequence(), textyear(), tileset_setup_tile_type(), trade_route_to_canvas_lines(), unscale_point(), update_overview_scroll_window_pos(), update_rect_at_mouse_pos(), widget_core_set_position(), widget_set_position(), window_set_position(), wl_right_button_up(), write_utf8(), and zealous_crop_rect().