Merge branch 'main' into mapedit_support

This commit is contained in:
Ondrej Novak 2025-08-28 20:07:46 +02:00
commit 2f4caf3173
15 changed files with 250 additions and 273 deletions

View file

@ -100,17 +100,6 @@ void showview_lo(word x,word y,word xs,word ys);
void outtext(const char *text);
void outtext_ex(const char *text, int space);
void outtext_w_nl(const char *text);
int initmode(const INI_CONFIG_SECTION *, const char *app_name);
int initmode32(void);
int initmode32b(void);
int initmode256(void *paletefile);
int initmode256b(void *paletefile);
int initmode_lo(void *paletefile);
int initmode16(void *paletefile);
int initmode64(void *paletefile);
int initmode64b(void *paletefile);
void *create_hixlat(void);
void closemode(void);
void line32(word x1,word y1, word x2, word y2);
void position(word x,word y);
void show_ms_cursor(integer x,integer y);

View file

@ -328,14 +328,6 @@ void switchvesabank(word bank)
}
*/
int initmode(const INI_CONFIG_SECTION *display_config, const char *app_name)
{
if (!game_display_init(display_config, app_name)) return -1;
showview=game_display_update_rect;
screenstate=1;
return 0;
}
/*
int initmode256(void *paletefile)
@ -435,15 +427,6 @@ int initmode_lo(void *paletefile)
}
*/
void closemode()
{
if (screenstate)
{
game_display_close();
}
screenstate=0;
}
/*
static void showview64b(word x,word y,word xs,word ys)