mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 14:10:27 -04:00
boat in exploration is drawn by compositor
This commit is contained in:
parent
232dae6708
commit
05c1f952c4
12 changed files with 323 additions and 72 deletions
|
@ -126,6 +126,7 @@ int load_pcx(const char *pcx,int32_t fsize,int conv_type,char **buffer, ... )
|
|||
switch (conv_type)
|
||||
{
|
||||
case A_8BIT: *buffer=(char *)getmem(sz = xsize*ysize+512+16);break;
|
||||
case A_16BIT_ZERO_TRANSP:conv_type = A_16BIT; paleta2[0] = 0x8000;CASE_FALLTHROUGH;
|
||||
case A_16BIT: *buffer=(char *)getmem(sz = xsize*ysize*2+16);break;
|
||||
case A_FADE_PAL: *buffer=(char *)getmem(sz = xsize*ysize+SHADE_PAL+16);break;
|
||||
case A_8BIT_NOPAL: *buffer=(char *)getmem(sz = xsize*ysize+16);break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue