Gave ordering to all Distorts magic tools
This commit is contained in:
parent
f8a3eabd9d
commit
0532b35f31
17 changed files with 207 additions and 35 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* halftone.c
|
||||
|
||||
Last updated: December 29, 2023
|
||||
Last updated: January 16, 2024
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -45,11 +45,15 @@ const int groups[NUM_TOOLS] = {
|
|||
MAGIC_TYPE_DISTORTS,
|
||||
};
|
||||
|
||||
const int orders[NUM_TOOLS] = {
|
||||
2200,
|
||||
};
|
||||
|
||||
const char *descs[NUM_TOOLS][2] = {
|
||||
{
|
||||
gettext_noop("Click and drag to turn your drawing into a newspaper."),
|
||||
gettext_noop("Click to turn your drawing into a newspaper."),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Mix_Chunk *snd_effect[NUM_TOOLS];
|
||||
|
|
@ -67,6 +71,7 @@ int halftone_get_tool_count(magic_api * api);
|
|||
SDL_Surface *halftone_get_icon(magic_api * api, int which);
|
||||
char *halftone_get_name(magic_api * api, int which);
|
||||
int halftone_get_group(magic_api * api, int which);
|
||||
int halftone_get_order(int which);
|
||||
char *halftone_get_description(magic_api * api, int which, int mode);
|
||||
int halftone_requires_colors(magic_api * api, int which);
|
||||
int halftone_modes(magic_api * api, int which);
|
||||
|
|
@ -141,6 +146,11 @@ int halftone_get_group(magic_api * api ATTRIBUTE_UNUSED, int which)
|
|||
return groups[which];
|
||||
}
|
||||
|
||||
int halftone_get_order(int which)
|
||||
{
|
||||
return orders[which];
|
||||
}
|
||||
|
||||
char *halftone_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode)
|
||||
{
|
||||
const char *our_desc_english;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue