Changed set_window_title() and hline() prototypes to match Allegro.
This commit is contained in:
parent
aeccbd8bd6
commit
86385007de
4 changed files with 4 additions and 4 deletions
|
|
@ -547,7 +547,7 @@ void get_executable_name(char *s, int size);
|
||||||
void startblit();
|
void startblit();
|
||||||
void endblit();
|
void endblit();
|
||||||
|
|
||||||
void set_window_title(char *s);
|
void set_window_title(const char *s);
|
||||||
|
|
||||||
void updatewindowsize(int x, int y);
|
void updatewindowsize(int x, int y);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,6 @@ void closevideo();
|
||||||
|
|
||||||
void video_updatetiming();
|
void video_updatetiming();
|
||||||
|
|
||||||
void hline(BITMAP *b, int x1, int y, int x2, uint32_t col);
|
void hline(BITMAP *b, int x1, int y, int x2, int col);
|
||||||
|
|
||||||
void destroy_bitmap(BITMAP *b);
|
void destroy_bitmap(BITMAP *b);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
BITMAP *screen;
|
BITMAP *screen;
|
||||||
|
|
||||||
void hline(BITMAP *b, int x1, int y, int x2, uint32_t col)
|
void hline(BITMAP *b, int x1, int y, int x2, int col)
|
||||||
{
|
{
|
||||||
if (y < 0 || y >= buffer->h)
|
if (y < 0 || y >= buffer->h)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -307,7 +307,7 @@ void get_executable_name(char *s, int size)
|
||||||
GetModuleFileName(hinstance, s, size);
|
GetModuleFileName(hinstance, s, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_window_title(char *s)
|
void set_window_title(const char *s)
|
||||||
{
|
{
|
||||||
if (video_fullscreen)
|
if (video_fullscreen)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue