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
|
|
@ -4,7 +4,7 @@
|
|||
kaleidoscope.
|
||||
Bill Kendrick
|
||||
|
||||
Last updated: April 20, 2023
|
||||
Last updated: December 29, 2023
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -51,7 +51,7 @@ char *kaleidox_descrs[NUM_TOOLS] = {
|
|||
Mix_Chunk *snd_effects[NUM_TOOLS];
|
||||
|
||||
Uint32 kaleidox_api_version(void);
|
||||
int kaleidox_init(magic_api * api, Uint32 disabled_features);
|
||||
int kaleidox_init(magic_api * api, Uint8 disabled_features, Uint8 complexity_level);
|
||||
int kaleidox_get_tool_count(magic_api * api);
|
||||
SDL_Surface *kaleidox_get_icon(magic_api * api, int which);
|
||||
char *kaleidox_get_name(magic_api * api, int which);
|
||||
|
|
@ -83,7 +83,7 @@ Uint32 kaleidox_api_version(void)
|
|||
return (TP_MAGIC_API_VERSION);
|
||||
}
|
||||
|
||||
int kaleidox_init(magic_api * api, Uint32 disabled_features ATTRIBUTE_UNUSED)
|
||||
int kaleidox_init(magic_api * api, Uint8 disabled_features ATTRIBUTE_UNUSED, Uint8 complexity_level ATTRIBUTE_UNUSED)
|
||||
{
|
||||
int i;
|
||||
char fname[1024];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue