ACCESS: Simplified surface creation, added drawing for scaled flipped images

This commit is contained in:
Paul Gilbert 2014-08-18 20:15:43 -04:00
parent b6dc7a1dd4
commit ad0be89459
4 changed files with 37 additions and 9 deletions

View file

@ -35,7 +35,7 @@ namespace Access {
#define VGA_COLOR_TRANS(x) ((x) * 255 / 63)
Screen::Screen(AccessEngine *vm) : _vm(vm) {
create(320, 200, Graphics::PixelFormat::createFormatCLUT8());
create(320, 200);
Common::fill(&_tempPalette[0], &_tempPalette[PALETTE_SIZE], 0);
Common::fill(&_manPal[0], &_manPal[0x60], 0);
Common::fill(&_scaleTable1[0], &_scaleTable1[256], 0);