mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-25 08:34:52 -04:00
you can now visit caredbar!
This commit is contained in:
parent
bf59962724
commit
3b903e2b52
55 changed files with 953 additions and 1428 deletions
|
@ -15,7 +15,7 @@ int load_file(char *filename)
|
|||
{
|
||||
int32_t size;
|
||||
|
||||
bmp=fopen(filename,"rb");
|
||||
bmp=fopen_icase(filename,"rb");
|
||||
if (!bmp) return -1;
|
||||
fseek(bmp,0,SEEK_END);
|
||||
size=ftell(bmp);
|
||||
|
@ -80,7 +80,7 @@ void conv_hicolor()
|
|||
|
||||
int save_file_hi(char *newname)
|
||||
{
|
||||
bmp=fopen(newname,"wb");
|
||||
bmp=fopen_icase(newname,"wb");
|
||||
if (!bmp) return -1;
|
||||
fwrite(&xsize,1,2,bmp);
|
||||
fwrite(&ysize,1,2,bmp);
|
||||
|
@ -172,7 +172,7 @@ void conv_256color()
|
|||
|
||||
int save_file_256(char *newname)
|
||||
{
|
||||
bmp=fopen(newname,"wb");
|
||||
bmp=fopen_icase(newname,"wb");
|
||||
if (!bmp) return -1;
|
||||
fwrite(&xsize,1,2,bmp);
|
||||
fwrite(&ysize,1,2,bmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue