RCS file: /cvsroot/scummvm/scummvm/scumm/saveload.cpp,v
retrieving revision 1.8
diff -u -r1.8 saveload.cpp
|
|
|
400 | 400 | MKLINE(Scumm, _switchRoomEffect2, sleByte), |
401 | 401 | MKLINE(Scumm, _BgNeedsRedraw, sleByte), |
402 | 402 | |
| 403 | // Jamieson630: variables for palManipulate |
| 404 | // TODO: Add these next time save game format changes. |
| 405 | // MKLINE(Scumm, _palManipStart, sleByte), |
| 406 | // MKLINE(Scumm, _palManipEnd, sleByte), |
| 407 | // MKLINE(Scumm, _palManipCounter, sleUint16), |
| 408 | |
403 | 409 | MKARRAY(Scumm, gfxUsageBits[0], sleUint32, 200), |
404 | 410 | MKLINE(Scumm, gdi._transparency, sleByte), |
405 | 411 | MKARRAY(Scumm, _currentPalette[0], sleByte, 768), |
… |
… |
|
505 | 511 | MKLINE(Scumm, _switchRoomEffect2, sleByte), |
506 | 512 | MKLINE(Scumm, _BgNeedsRedraw, sleByte), |
507 | 513 | |
| 514 | // Jamieson630: variables for palManipulate |
| 515 | // TODO: Add these next time save game format changes. |
| 516 | // MKLINE(Scumm, _palManipStart, sleByte), |
| 517 | // MKLINE(Scumm, _palManipEnd, sleByte), |
| 518 | // MKLINE(Scumm, _palManipCounter, sleUint16), |
| 519 | |
508 | 520 | MKARRAY(Scumm, gfxUsageBits[0], sleUint32, 200), |
509 | 521 | MKLINE(Scumm, gdi._transparency, sleByte), |
510 | 522 | MKARRAY(Scumm, _currentPalette[0], sleByte, 768), |
… |
… |
|
634 | 646 | |
635 | 647 | if (_shadowPaletteSize) |
636 | 648 | s->saveLoadArrayOf(_shadowPalette, _shadowPaletteSize, 1, sleByte); |
| 649 | |
| 650 | _palManipCounter = 0; // TODO: Remove this once it's being loaded from disk |
| 651 | if (_palManipCounter && 0 /* TODO: Remove 0 with above */) { |
| 652 | if (!_palManipPalette) |
| 653 | _palManipPalette = (byte *)calloc(0x300, 1); |
| 654 | if (!_palManipIntermediatePal) |
| 655 | _palManipPalette = (byte *)calloc(0x300, 1); |
| 656 | s->saveLoadArrayOf(_palManipPalette, 0x300, 1, sleByte); |
| 657 | s->saveLoadArrayOf(_palManipIntermediatePal, 0x600, 1, sleByte); |
| 658 | } |
637 | 659 | |
638 | 660 | s->saveLoadArrayOf(_classData, _numGlobalObjects, sizeof(_classData[0]), sleUint32); |
639 | 661 | |