mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-08-30 20:17:07 -04:00
SLD context now running in main thread (for better compatibility)
This commit is contained in:
parent
96eaeb4851
commit
e0aa5096ba
16 changed files with 259 additions and 275 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue