18 struct text_tag_list *
tags;
20 enum event_type
event;
28 #define MESWIN_CLEAR_ALL (-1)
32 struct tile *ptile,
enum event_type
event,
int turn,
void meswin_popup_city(int message_index)
Called from messagewin.c if the user clicks on the popup-city button.
void meswin_goto(int message_index)
Called from messagewin.c if the user clicks on the goto button.
void meswin_clear_older(int turn, int phase)
Clear all messages.
void meswin_add(const char *message, const struct text_tag_list *tags, struct tile *ptile, enum event_type event, int turn, int phase)
Add a message.
int meswin_get_num_messages()
Returns the number of message in the window.
const struct message * meswin_get_message(int message_index)
Returns the pointer to a message.
void meswin_set_visited_state(int message_index, bool state)
Sets the visited-state of a message.
struct text_tag_list * tags