Freeciv-3.2
Loading...
Searching...
No Matches
Functions
citydlg.h File Reference
#include <SDL3/SDL.h>
#include "effects.h"
#include "citydlg_g.h"

Go to the source code of this file.

Functions

void free_city_units_lists (void)
 
void enable_city_dlg_widgets (void)
 
void popup_hurry_production_dialog (struct city *pcity, SDL_Surface *pdest)
 
SDL_Surfaceget_scaled_city_map (struct city *pcity)
 
void refresh_city_resource_map (SDL_Surface *pdest, int x, int y, const struct city *pcity, bool(*worker_check)(const struct city *, int, int))
 
struct impr_typeget_building_for_effect (enum effect_type effect_type)
 

Function Documentation

◆ enable_city_dlg_widgets()

void enable_city_dlg_widgets ( void  )

◆ free_city_units_lists()

void free_city_units_lists ( void  )

◆ get_building_for_effect()

struct impr_type * get_building_for_effect ( enum effect_type  effect_type)

◆ get_scaled_city_map()

SDL_Surface * get_scaled_city_map ( struct city pcity)

Return scaled city map.

Definition at line 1620 of file citydlg.c.

Referenced by next_prev_city_dlg_callback(), popup_city_cma_dialog(), real_city_dialog_popup(), and redraw_city_dialog().

◆ popup_hurry_production_dialog()

void popup_hurry_production_dialog ( struct city pcity,
SDL_Surface pdest 
)

◆ refresh_city_resource_map()

void refresh_city_resource_map ( SDL_Surface pdest,
int  x,
int  y,
const struct city pcity,
bool(*)(const struct city *, int, int worker_check 
)