Crossfire Client, Trunk
|
A buffer record that supports suppression of duplicate messages. This buffer holds data for messages that are monitored for suppression of duplicates. The buffer holds all data passed to message_callback(), including type, subtype, suggested color, and the text. Age and count fields are provided to track the time a message is in the buffer, and how many times it occured during the time it is buffered. More...
Public Attributes | |
int | age |
int | count |
char | message [MESSAGE_BUFFER_SIZE] |
int | orig_color |
int | subtype |
int | type |
A buffer record that supports suppression of duplicate messages. This buffer holds data for messages that are monitored for suppression of duplicates. The buffer holds all data passed to message_callback(), including type, subtype, suggested color, and the text. Age and count fields are provided to track the time a message is in the buffer, and how many times it occured during the time it is buffered.
int info_buffer_t::age |
The length of time a message spends in the buffer, measured in client ticks.
Definition at line 149 of file info.c.
Referenced by info_buffer_init(), info_buffer_tick(), and message_callback().
int info_buffer_t::count |
The number of times a buffered message is detected while it is buffered. A count of -1 indicates the buffer is empty.
Definition at line 153 of file info.c.
Referenced by info_buffer_flush(), info_buffer_init(), info_buffer_tick(), and message_callback().
char info_buffer_t::message[MESSAGE_BUFFER_SIZE] |
Message data: Message text.
Definition at line 167 of file info.c.
Referenced by info_buffer_init().
int info_buffer_t::orig_color |
Message data: The suggested color to display the text in.
Definition at line 158 of file info.c.
Referenced by info_buffer_init(), and message_callback().
int info_buffer_t::subtype |
Message data: Sub-class of the buffered message.
Definition at line 164 of file info.c.
Referenced by info_buffer_init(), and message_callback().
int info_buffer_t::type |
Message data: Classification of the buffered message.
Definition at line 161 of file info.c.
Referenced by info_buffer_init(), and message_callback().