Gave ordering to all Picture Warps magic tools
This commit is contained in:
parent
3abf6f75f4
commit
9ce4ee8c50
8 changed files with 75 additions and 14 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
/*
|
/*
|
||||||
Folds the picture down from the corners.
|
Folds the picture down from the corners.
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//optimized version soon :)
|
//optimized version soon :)
|
||||||
|
// LOL comment is from 2008-07-10 -bjk 2024.01.16
|
||||||
//when "folding" same corner many times it gives strange results. Now it's allowed. Let me know
|
//when "folding" same corner many times it gives strange results. Now it's allowed. Let me know
|
||||||
//if you think it shouldn't be.
|
//if you think it shouldn't be.
|
||||||
|
|
||||||
|
|
@ -47,6 +48,7 @@ int fold_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *fold_get_icon(magic_api * api, int which);
|
SDL_Surface *fold_get_icon(magic_api * api, int which);
|
||||||
char *fold_get_name(magic_api * api, int which);
|
char *fold_get_name(magic_api * api, int which);
|
||||||
int fold_get_group(magic_api * api, int which);
|
int fold_get_group(magic_api * api, int which);
|
||||||
|
int fold_get_order(int which);
|
||||||
char *fold_get_description(magic_api * api, int which, int mode);
|
char *fold_get_description(magic_api * api, int which, int mode);
|
||||||
int fold_requires_colors(magic_api * api, int which);
|
int fold_requires_colors(magic_api * api, int which);
|
||||||
void fold_release(magic_api * api, int which,
|
void fold_release(magic_api * api, int which,
|
||||||
|
|
@ -119,6 +121,11 @@ int fold_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED)
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int fold_get_order(int which ATTRIBUTE_UNUSED)
|
||||||
|
{
|
||||||
|
return 700;
|
||||||
|
}
|
||||||
|
|
||||||
char *fold_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
char *fold_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return strdup(gettext_noop("Choose a background color and click to turn the corner of the page over."));
|
return strdup(gettext_noop("Choose a background color and click to turn the corner of the page over."));
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
kaleidoscope.
|
kaleidoscope.
|
||||||
Bill Kendrick
|
Bill Kendrick
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -56,6 +56,7 @@ int kaleidox_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *kaleidox_get_icon(magic_api * api, int which);
|
SDL_Surface *kaleidox_get_icon(magic_api * api, int which);
|
||||||
char *kaleidox_get_name(magic_api * api, int which);
|
char *kaleidox_get_name(magic_api * api, int which);
|
||||||
int kaleidox_get_group(magic_api * api, int which);
|
int kaleidox_get_group(magic_api * api, int which);
|
||||||
|
int kaleidox_get_order(int which);
|
||||||
char *kaleidox_get_description(magic_api * api, int which, int mode);
|
char *kaleidox_get_description(magic_api * api, int which, int mode);
|
||||||
int kaleidox_requires_colors(magic_api * api, int which);
|
int kaleidox_requires_colors(magic_api * api, int which);
|
||||||
int kaleidox_modes(magic_api * api, int which);
|
int kaleidox_modes(magic_api * api, int which);
|
||||||
|
|
@ -122,6 +123,11 @@ int kaleidox_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNU
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int kaleidox_get_order(int which)
|
||||||
|
{
|
||||||
|
return 800 + which;
|
||||||
|
}
|
||||||
|
|
||||||
char *kaleidox_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode ATTRIBUTE_UNUSED)
|
char *kaleidox_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return strdup(gettext(kaleidox_descrs[which]));
|
return strdup(gettext(kaleidox_descrs[which]));
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
Mirror and Flip Magic Tools Plugin
|
Mirror and Flip Magic Tools Plugin
|
||||||
Tux Paint - A simple drawing program for children.
|
Tux Paint - A simple drawing program for children.
|
||||||
|
|
||||||
Copyright (c) 2002-2023 by Bill Kendrick and others; see AUTHORS.txt
|
Copyright (c) 2002-2024 by Bill Kendrick and others; see AUTHORS.txt
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
https://tuxpaint.org/
|
https://tuxpaint.org/
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -50,6 +50,7 @@ int mirror_flip_get_tool_count(magic_api *);
|
||||||
SDL_Surface *mirror_flip_get_icon(magic_api *, int);
|
SDL_Surface *mirror_flip_get_icon(magic_api *, int);
|
||||||
char *mirror_flip_get_name(magic_api *, int);
|
char *mirror_flip_get_name(magic_api *, int);
|
||||||
int mirror_flip_get_group(magic_api *, int);
|
int mirror_flip_get_group(magic_api *, int);
|
||||||
|
int mirror_flip_get_order(int);
|
||||||
char *mirror_flip_get_description(magic_api *, int, int);
|
char *mirror_flip_get_description(magic_api *, int, int);
|
||||||
void mirror_flip_drag(magic_api *, int, SDL_Surface *, SDL_Surface *, int, int, int, int, SDL_Rect *);
|
void mirror_flip_drag(magic_api *, int, SDL_Surface *, SDL_Surface *, int, int, int, int, SDL_Rect *);
|
||||||
void mirror_flip_release(magic_api *, int, SDL_Surface *, SDL_Surface *, int, int, int, int, SDL_Rect *);
|
void mirror_flip_release(magic_api *, int, SDL_Surface *, SDL_Surface *, int, int, int, int, SDL_Rect *);
|
||||||
|
|
@ -125,6 +126,12 @@ int mirror_flip_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return our order:
|
||||||
|
int mirror_flip_get_order(int which)
|
||||||
|
{
|
||||||
|
return 100 + which;
|
||||||
|
}
|
||||||
|
|
||||||
// Return our descriptions, localized:
|
// Return our descriptions, localized:
|
||||||
char *mirror_flip_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode ATTRIBUTE_UNUSED)
|
char *mirror_flip_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
Panels, Tile mode of Zoom, and Rush
|
Panels, Tile mode of Zoom, and Rush
|
||||||
by Bill Kendrick
|
by Bill Kendrick
|
||||||
|
|
||||||
Copyright (c) 2014-2023
|
Copyright (c) 2014-2024
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
https://tuxpaint.org/
|
https://tuxpaint.org/
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -58,6 +58,7 @@ int perspective_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *perspective_get_icon(magic_api * api, int which);
|
SDL_Surface *perspective_get_icon(magic_api * api, int which);
|
||||||
char *perspective_get_name(magic_api * api, int which);
|
char *perspective_get_name(magic_api * api, int which);
|
||||||
int perspective_get_group(magic_api * api, int which);
|
int perspective_get_group(magic_api * api, int which);
|
||||||
|
int perspective_get_order(int which);
|
||||||
|
|
||||||
char *perspective_get_description(magic_api * api, int which, int mode);
|
char *perspective_get_description(magic_api * api, int which, int mode);
|
||||||
|
|
||||||
|
|
@ -131,6 +132,14 @@ enum
|
||||||
perspective_NUM_TOOLS
|
perspective_NUM_TOOLS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int perspective_orders[perspective_NUM_TOOLS] = {
|
||||||
|
304,
|
||||||
|
302,
|
||||||
|
301,
|
||||||
|
300,
|
||||||
|
303,
|
||||||
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
TOP_LEFT,
|
TOP_LEFT,
|
||||||
|
|
@ -226,6 +235,12 @@ int perspective_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return our order:
|
||||||
|
int perspective_get_order(int which)
|
||||||
|
{
|
||||||
|
return perspective_orders[which];
|
||||||
|
}
|
||||||
|
|
||||||
// Return our descriptions, localized:
|
// Return our descriptions, localized:
|
||||||
char *perspective_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode ATTRIBUTE_UNUSED)
|
char *perspective_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
Reflection Magic Tool Plugin
|
Reflection Magic Tool Plugin
|
||||||
Tux Paint - A simple drawing program for children.
|
Tux Paint - A simple drawing program for children.
|
||||||
|
|
||||||
Copyright (c) 2021-2023 by Bill Kendrick and others; see AUTHORS.txt
|
Copyright (c) 2021-2024 by Bill Kendrick and others; see AUTHORS.txt
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
https://tuxpaint.org/
|
https://tuxpaint.org/
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -57,6 +57,7 @@ int reflection_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *reflection_get_icon(magic_api * api, int which);
|
SDL_Surface *reflection_get_icon(magic_api * api, int which);
|
||||||
char *reflection_get_name(magic_api * api, int which);
|
char *reflection_get_name(magic_api * api, int which);
|
||||||
int reflection_get_group(magic_api * api, int which);
|
int reflection_get_group(magic_api * api, int which);
|
||||||
|
int reflection_get_order(int which);
|
||||||
char *reflection_get_description(magic_api * api, int which, int mode);
|
char *reflection_get_description(magic_api * api, int which, int mode);
|
||||||
void reflection_drag(magic_api * api, int which, SDL_Surface * canvas,
|
void reflection_drag(magic_api * api, int which, SDL_Surface * canvas,
|
||||||
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
||||||
|
|
@ -119,6 +120,11 @@ int reflection_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_U
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int reflection_get_order(int which ATTRIBUTE_UNUSED)
|
||||||
|
{
|
||||||
|
return 400;
|
||||||
|
}
|
||||||
|
|
||||||
char *reflection_get_description(magic_api * api ATTRIBUTE_UNUSED,
|
char *reflection_get_description(magic_api * api ATTRIBUTE_UNUSED,
|
||||||
int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
Shift Magic Tool Plugin
|
Shift Magic Tool Plugin
|
||||||
Tux Paint - A simple drawing program for children.
|
Tux Paint - A simple drawing program for children.
|
||||||
|
|
||||||
Copyright (c) 2002-2023 by Bill Kendrick and others; see AUTHORS.txt
|
Copyright (c) 2002-2024 by Bill Kendrick and others; see AUTHORS.txt
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
https://tuxpaint.org/
|
https://tuxpaint.org/
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -50,6 +50,7 @@ int shift_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *shift_get_icon(magic_api * api, int which);
|
SDL_Surface *shift_get_icon(magic_api * api, int which);
|
||||||
char *shift_get_name(magic_api * api, int which);
|
char *shift_get_name(magic_api * api, int which);
|
||||||
int shift_get_group(magic_api * api, int which);
|
int shift_get_group(magic_api * api, int which);
|
||||||
|
int shift_get_order(int which);
|
||||||
char *shift_get_description(magic_api * api, int which, int mode);
|
char *shift_get_description(magic_api * api, int which, int mode);
|
||||||
void shift_drag(magic_api * api, int which, SDL_Surface * canvas,
|
void shift_drag(magic_api * api, int which, SDL_Surface * canvas,
|
||||||
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
||||||
|
|
@ -118,6 +119,12 @@ int shift_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return our order
|
||||||
|
int shift_get_order(int which ATTRIBUTE_UNUSED)
|
||||||
|
{
|
||||||
|
return 200;
|
||||||
|
}
|
||||||
|
|
||||||
// Return our descriptions, localized:
|
// Return our descriptions, localized:
|
||||||
char *shift_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
char *shift_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
By Bill Kendrick
|
By Bill Kendrick
|
||||||
Some parts based on "Blind" Magic Tool by Pere Pujal Carabantes
|
Some parts based on "Blind" Magic Tool by Pere Pujal Carabantes
|
||||||
|
|
||||||
Copyright (c) 2021-2023
|
Copyright (c) 2021-2024
|
||||||
https://tuxpaint.org/
|
https://tuxpaint.org/
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tp_magic_api.h"
|
#include "tp_magic_api.h"
|
||||||
|
|
@ -57,6 +57,7 @@ int stretch_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *stretch_get_icon(magic_api * api, int which);
|
SDL_Surface *stretch_get_icon(magic_api * api, int which);
|
||||||
char *stretch_get_name(magic_api * api, int which);
|
char *stretch_get_name(magic_api * api, int which);
|
||||||
int stretch_get_group(magic_api * api, int which);
|
int stretch_get_group(magic_api * api, int which);
|
||||||
|
int stretch_get_order(int which);
|
||||||
char *stretch_get_description(magic_api * api, int which, int mode);
|
char *stretch_get_description(magic_api * api, int which, int mode);
|
||||||
int stretch_requires_colors(magic_api * api, int which);
|
int stretch_requires_colors(magic_api * api, int which);
|
||||||
void stretch_release(magic_api * api, int which,
|
void stretch_release(magic_api * api, int which,
|
||||||
|
|
@ -123,6 +124,11 @@ int stretch_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUS
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int stretch_get_order(int which ATTRIBUTE_UNUSED)
|
||||||
|
{
|
||||||
|
return 500;
|
||||||
|
}
|
||||||
|
|
||||||
char *stretch_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
char *stretch_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return strdup(gettext_noop("Click and drag to stretch part of your picture vertically or horizontally."));
|
return strdup(gettext_noop("Click and drag to stretch part of your picture vertically or horizontally."));
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
Waves Magic Tool Plugin
|
Waves Magic Tool Plugin
|
||||||
Tux Paint - A simple drawing program for children.
|
Tux Paint - A simple drawing program for children.
|
||||||
|
|
||||||
Copyright (c) 2002-2023 by Bill Kendrick and others; see AUTHORS.txt
|
Copyright (c) 2002-2024 by Bill Kendrick and others; see AUTHORS.txt
|
||||||
bill@newbreedsoftware.com
|
bill@newbreedsoftware.com
|
||||||
https://tuxpaint.org/
|
https://tuxpaint.org/
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
Last updated: December 29, 2023
|
Last updated: January 16, 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -46,6 +46,7 @@ int waves_get_tool_count(magic_api * api);
|
||||||
SDL_Surface *waves_get_icon(magic_api * api, int which);
|
SDL_Surface *waves_get_icon(magic_api * api, int which);
|
||||||
char *waves_get_name(magic_api * api, int which);
|
char *waves_get_name(magic_api * api, int which);
|
||||||
int waves_get_group(magic_api * api, int which);
|
int waves_get_group(magic_api * api, int which);
|
||||||
|
int waves_get_order(int which);
|
||||||
char *waves_get_description(magic_api * api, int which, int mode);
|
char *waves_get_description(magic_api * api, int which, int mode);
|
||||||
void waves_drag(magic_api * api, int which, SDL_Surface * canvas,
|
void waves_drag(magic_api * api, int which, SDL_Surface * canvas,
|
||||||
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
||||||
|
|
@ -111,6 +112,12 @@ int waves_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED
|
||||||
return MAGIC_TYPE_PICTURE_WARPS;
|
return MAGIC_TYPE_PICTURE_WARPS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return our order:
|
||||||
|
int waves_get_order(int which)
|
||||||
|
{
|
||||||
|
return 600 + which;
|
||||||
|
}
|
||||||
|
|
||||||
// Return our names, localized:
|
// Return our names, localized:
|
||||||
char *waves_get_name(magic_api * api ATTRIBUTE_UNUSED, int which)
|
char *waves_get_name(magic_api * api ATTRIBUTE_UNUSED, int which)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue