Gave ordering to all Painting magic tools
All done!
This commit is contained in:
parent
e3cb845426
commit
a9515c351e
18 changed files with 150 additions and 32 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Last updated: December 29, 2023
|
||||
Last updated: January 16, 2024
|
||||
*/
|
||||
|
||||
#include <time.h> //For time()
|
||||
|
|
@ -34,6 +34,7 @@ int confetti_get_tool_count(magic_api * api);
|
|||
SDL_Surface *confetti_get_icon(magic_api * api, int which);
|
||||
char *confetti_get_name(magic_api * api, int which);
|
||||
int confetti_get_group(magic_api * api, int which);
|
||||
int confetti_get_order(int which);
|
||||
char *confetti_get_description(magic_api * api, int which, int mode);
|
||||
int confetti_requires_colors(magic_api * api, int which);
|
||||
void confetti_release(magic_api * api, int which,
|
||||
|
|
@ -106,6 +107,11 @@ int confetti_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNU
|
|||
return MAGIC_TYPE_PAINTING;
|
||||
}
|
||||
|
||||
int confetti_get_order(int which ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return 1400;
|
||||
}
|
||||
|
||||
char *confetti_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return strdup(gettext_noop("Click to throw confetti!"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue