|
Atrinik Client 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static void | list_handle_enter (list_struct *list) |
| static const char * | list_text_color_hook (list_struct *list, const char *default_color, uint32 row, uint32 col) |
| static void | skill_list_reload () |
| static void | button_repeat_func (button_struct *button) |
| void | widget_skills_render (widgetdata *widget) |
| void | widget_skills_mevent (widgetdata *widget, SDL_Event *event) |
| int | skill_find (const char *name, size_t *type, size_t *id) |
| int | skill_find_type_selected (const char *name, size_t *id) |
| skill_entry_struct * | skill_get (size_t type, size_t id) |
| void | skills_init () |
| void | skills_reload () |
| void | SkilllistCmd (char *data) |
Variables | |
| static skill_entry_struct ** | skill_list [SKILL_LIST_TYPES] |
| static size_t | skill_list_num [SKILL_LIST_TYPES] |
| static size_t | skill_list_type = 0 |
| static uint8 | skill_list_filter_known |
| static button_struct | button_type_left |
| static button_struct | button_type_right |
| static button_struct | button_close |
| static button_struct | button_filter_known |
| static button_struct | button_help |
Implements the skills widget.
Definition in file skills.c.
| static void button_repeat_func | ( | button_struct * | button | ) | [static] |
| static void list_handle_enter | ( | list_struct * | list | ) | [static] |
| static const char* list_text_color_hook | ( | list_struct * | list, |
| const char * | default_color, | ||
| uint32 | row, | ||
| uint32 | col | ||
| ) | [static] |
| int skill_find | ( | const char * | name, |
| size_t * | type, | ||
| size_t * | id | ||
| ) |
Find a skill in the skill_list based on its name.
Partial skill names will be matched.
| name | Skill name to find. | |
| [out] | type | Will contain the skill's type. |
| [out] | id | Will contain the skill's ID. |
| int skill_find_type_selected | ( | const char * | name, |
| size_t * | id | ||
| ) |
Find a skill in the skill_list based on its name, but only look inside the currently selected skill type list.
Partial skill names will be matched.
| name | Skill name to find. | |
| [out] | id | Will contain the skill's ID. |
| skill_entry_struct* skill_get | ( | size_t | type, |
| size_t | id | ||
| ) |
| static void skill_list_reload | ( | ) | [static] |
| void SkilllistCmd | ( | char * | data | ) |
| void skills_reload | ( | ) |
| void widget_skills_mevent | ( | widgetdata * | widget, |
| SDL_Event * | event | ||
| ) |
| void widget_skills_render | ( | widgetdata * | widget | ) |
button_struct button_type_left [static] |
skill_entry_struct** skill_list[SKILL_LIST_TYPES] [static] |
uint8 skill_list_filter_known [static] |
size_t skill_list_num[SKILL_LIST_TYPES] [static] |
Number of skills contained in each skill type array in skill_list.
size_t skill_list_type = 0 [static] |
1.7.4