Freeciv-3.2
|
Go to the source code of this file.
Definition at line 65 of file global_worklist.h.
Definition at line 57 of file global_worklist.h.
#define global_worklists_iterate_all_end |
Definition at line 60 of file global_worklist.h.
#define global_worklists_iterate_end |
Definition at line 68 of file global_worklist.h.
#define SPECLIST_TAG global_worklist |
Definition at line 52 of file global_worklist.h.
#define SPECLIST_TYPE struct global_worklist |
Definition at line 53 of file global_worklist.h.
struct global_worklist * global_worklist_by_id | ( | int | id | ) |
Returns the global worklist corresponding to this id. N.B.: It can returns an invalid glocbal worklist.
Definition at line 298 of file global_worklist.c.
Referenced by add_global_worklist(), append_worklist_callback(), append_worklist_callback(), cell_edited(), commit_worklist(), city_widget::display_list_menu(), city_dialog::display_worklist_menu(), edit_worklist_callback(), menu_item_callback(), menu_item_callback(), ok_worklist_editor_callback(), refresh_worklist(), set_global_worklist(), set_worklist_callback(), set_worklist_callback(), update_worklist_report_dialog(), and worklists_response().
void global_worklist_destroy | ( | struct global_worklist * | pgwl | ) |
Destroys a glocal worklist.
Definition at line 214 of file global_worklist.c.
Referenced by edit_worklist_callback(), global_worklists_free(), global_worklists_load(), and worklists_response().
Returns the worklist of this global worklist or NULL if it's not valid.
Definition at line 276 of file global_worklist.c.
Referenced by add_global_worklist(), append_worklist_callback(), append_worklist_callback(), city_widget::display_list_menu(), city_dialog::display_worklist_menu(), menu_item_callback(), menu_item_callback(), popup_worklist_editor(), refresh_worklist(), set_global_worklist(), set_worklist_callback(), and set_worklist_callback().
int global_worklist_id | ( | const struct global_worklist * | pgwl | ) |
Returns the id of the global worklist.
Definition at line 288 of file global_worklist.c.
Referenced by add_new_worklist_callback(), create_wl_menu(), create_wl_menu(), delete_worklist(), city_dialog::display_worklist_menu(), city_widget::gen_worklist_labels(), get_worklist(), insert_worklist(), option_dialog_worklist(), popdown_worklist(), popup_add_menu(), popup_worklist(), popup_worklist_editor(), production_menu_shown(), reset_global_worklist(), and update_worklist_report_dialog().
bool global_worklist_is_valid | ( | const struct global_worklist * | pgwl | ) |
Returns TRUE if this global worklist is valid.
Definition at line 255 of file global_worklist.c.
const char * global_worklist_name | ( | const struct global_worklist * | pgwl | ) |
Return the name of the global worklist.
Definition at line 323 of file global_worklist.c.
Referenced by add_new_worklist_callback(), create_wl_menu(), create_wl_menu(), city_dialog::display_worklist_menu(), city_widget::gen_worklist_labels(), option_dialog_worklist(), popup_add_menu(), popup_worklist(), popup_worklist_editor(), production_menu_shown(), and update_worklist_report_dialog().
struct global_worklist * global_worklist_new | ( | const char * | name | ) |
Creates a new global worklist form a normal worklist.
Definition at line 244 of file global_worklist.c.
Referenced by add_new_worklist_callback(), city_dialog::save_worklist(), and worklists_response().
Sets the worklist. Return TRUE on success.
Definition at line 263 of file global_worklist.c.
Referenced by commit_worklist(), ok_worklist_editor_callback(), and city_dialog::save_worklist().
void global_worklist_set_name | ( | struct global_worklist * | pgwl, |
const char * | name | ||
) |
Sets the name of this global worklist.
Definition at line 312 of file global_worklist.c.
Referenced by cell_edited(), global_worklist_load(), global_worklist_new(), and ok_worklist_editor_callback().
Check if the global worklists are valid or not for the ruleset.
Definition at line 100 of file global_worklist.c.
Referenced by global_worklists_load(), and set_client_state().
Free the client global worklists.
Definition at line 86 of file global_worklist.c.
Initialize the client global worklists.
Definition at line 76 of file global_worklist.c.
void global_worklists_load | ( | struct section_file * | file | ) |
Load all global worklist from a section file.
Definition at line 390 of file global_worklist.c.
Returns the number of valid global worklists. N.B.: This counts only the valid global worklists.
Definition at line 173 of file global_worklist.c.
void global_worklists_save | ( | struct section_file * | file | ) |
Save all global worklist into a section file.
Definition at line 465 of file global_worklist.c.
Convert the universal pointers to strings to work out-ruleset.
Definition at line 145 of file global_worklist.c.
Referenced by set_client_state().