All magic tools: Add "complexity_level" arg to init()
This commit is contained in:
parent
0bc54921d9
commit
2055b071f1
61 changed files with 185 additions and 189 deletions
|
|
@ -23,7 +23,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
Last updated: April 23, 2023
|
||||
Last updated: December 29, 2023
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -50,7 +50,7 @@ static int pixel_size = 8;
|
|||
|
||||
/* Local function prototype: */
|
||||
|
||||
int pixels_init(magic_api * api, Uint32 disabled_features);
|
||||
int pixels_init(magic_api * api, Uint8 disabled_features, Uint8 complexity_level);
|
||||
Uint32 pixels_api_version(void);
|
||||
int pixels_get_tool_count(magic_api * api);
|
||||
SDL_Surface *pixels_get_icon(magic_api * api, int which);
|
||||
|
|
@ -77,7 +77,7 @@ void pixels_set_size(magic_api * api, int which, int mode, SDL_Surface * canvas,
|
|||
|
||||
|
||||
// No setup required:
|
||||
int pixels_init(magic_api * api, Uint32 disabled_features ATTRIBUTE_UNUSED)
|
||||
int pixels_init(magic_api * api, Uint8 disabled_features ATTRIBUTE_UNUSED, Uint8 complexity_level ATTRIBUTE_UNUSED)
|
||||
{
|
||||
char fname[1024];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue