|
|
| version 1.2, 2004/08/04 15:18:26 | version 1.6, 2004/08/12 13:32:52 |
|---|---|
| Line 3 | Line 3 |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "scrndraw.h" | #include "scrndraw.h" |
| #include "sdraw.h" | #include "sdraw.h" |
| #include "draw.h" | |
| #include "palettes.h" | #include "palettes.h" |
| #include "makescrn.h" | |
| SCRN scrn; | SCRN scrn; |
| Line 55 void scrndraw_changepalette(void) { | Line 55 void scrndraw_changepalette(void) { |
| return; | return; |
| } | } |
| #endif | #endif |
| #if defined(SUPPORT_16BPP) | |
| if (scrnmng_getbpp() == 16) { | |
| pals_cnv16pal(x1n_pal16, x1n_pal32, xm_palettes); | |
| } | |
| #endif | |
| updateallline(0x01010101); // fillrenewalline(0x03030303) | updateallline(0x01010101); // fillrenewalline(0x03030303) |
| } | } |
| Line 71 const SDRAWFN *sdrawfn; | Line 66 const SDRAWFN *sdrawfn; |
| _SDRAW sdraw; | _SDRAW sdraw; |
| UINT i; | UINT i; |
| if (redraw) { | |
| updateallline(0x01010101); | |
| } | |
| surf = scrnmng_surflock(); | surf = scrnmng_surflock(); |
| if (surf == NULL) { | if (surf == NULL) { |
| goto sddr_exit1; | goto sddr_exit1; |
| Line 123 sddr_exit1: | Line 122 sddr_exit1: |
| void scrndraw_redraw(void) { | void scrndraw_redraw(void) { |
| scrnmng_allflash(); | scrnmng_allflash(); |
| scrnmng_palchanged(); // ? | pal_update(); |
| updateallline(0x01010101); // fillrenewalline(0x03030303) | scrndraw_draw(TRUE); |
| palettes(); | |
| scrndraw_draw(FALSE); | |
| } | } |