Nicola Mettifogo
797f114aac
- Renamed BitBuffer to MaskBuffer
...
- Added PathBuffer to handle 1-bit buffers for walkable areas
- Changed relevant walk code to use PathBuffer objects for querying screen dimensions.
svn-id: r28478
2007-08-06 22:03:17 +00:00
Nicola Mettifogo
16f161f689
Made disk code directly create background Surface from resources.
...
svn-id: r28475
2007-08-06 20:07:57 +00:00
Nicola Mettifogo
7c20288ba1
Removed useless mask width and size data members from engine.
...
svn-id: r28474
2007-08-06 19:43:33 +00:00
Nicola Mettifogo
14448af3bb
Made disk code directly create mask BitBuffer from resources.
...
svn-id: r28473
2007-08-06 19:39:00 +00:00
Nicola Mettifogo
57196e5dd8
Cleanup.
...
svn-id: r28472
2007-08-06 19:19:59 +00:00
Nicola Mettifogo
6c0288044b
Changed graphics mask to a more generic BitBuffer object.
...
svn-id: r28471
2007-08-06 19:13:51 +00:00
Nicola Mettifogo
872a6edfc6
Made thickness of balloon borders consistent with original games.
...
svn-id: r28470
2007-08-06 15:40:12 +00:00
Nicola Mettifogo
15c3264971
Changed internal graphics buffers to use Surface instead of vanilla arrays. ScummVM's stock surfaces are used for the moment.
...
svn-id: r28469
2007-08-06 13:22:21 +00:00
Nicola Mettifogo
663e78b911
Added routine to restore door backgrounds: this means that backgrounds for door and get zones are now handled by two different sets of routines. This fixes bugs #1765191 and #1762643 (it was actually the same bug).
...
svn-id: r28449
2007-08-04 18:58:50 +00:00
Nicola Mettifogo
4b008f9724
Changed code to use the new fadePalette function, thus removing fadeInPalette and some custom fade code in _c_endComment.
...
svn-id: r28368
2007-07-31 19:33:36 +00:00
Nicola Mettifogo
b29935e93c
Generalized fadePalette to support custom target palette.
...
svn-id: r28367
2007-07-31 19:25:07 +00:00
Nicola Mettifogo
bd22db4502
Renamed palette functions.
...
svn-id: r28365
2007-07-31 19:12:44 +00:00
Nicola Mettifogo
236634662c
Made screen size parameters properties of engine instead of compile-time constants.
...
svn-id: r28219
2007-07-26 18:30:27 +00:00
Nicola Mettifogo
9b4cfc5bbe
Screen update is no more triggered automatically when performing full screen-size blits on Front buffer. Menu code has been changed accordingly to retain consistency.
...
svn-id: r28097
2007-07-15 10:10:48 +00:00
Nicola Mettifogo
5a85103374
Full screen updates aren't automatic after palette changes anymore now. Traded some code pollution with SPEED!
...
svn-id: r28061
2007-07-13 20:50:57 +00:00
Nicola Mettifogo
40905f7ca2
Removed leftover empty function.
...
svn-id: r28004
2007-07-10 09:30:56 +00:00
Nicola Mettifogo
945be6e5f2
Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.
...
svn-id: r27996
2007-07-09 19:19:56 +00:00
Nicola Mettifogo
17da12ca07
Oops.
...
svn-id: r27968
2007-07-08 13:53:56 +00:00
Nicola Mettifogo
3036c37dd8
Yet another fix for broken parsing/displaying of strings. Now quotes are properly considered when they are needed, and ignored when they aren't.
...
svn-id: r27967
2007-07-08 13:39:23 +00:00
Nicola Mettifogo
99df4dd7e2
Removed special displayBalloonString routine.
...
svn-id: r27850
2007-07-02 07:32:06 +00:00
Nicola Mettifogo
675227e81f
Introduced new flatBlitCnv to reduce code duplication.
...
svn-id: r27833
2007-07-01 19:28:32 +00:00
Nicola Mettifogo
d2189e7111
Removed some paranoia screen updates. May cause some minor glitches.
...
svn-id: r27817
2007-07-01 10:07:59 +00:00
Nicola Mettifogo
85ce1d85ca
All known versions of Nippon Safes are now enabled with all features except for half-brite effects. Please keep an eye out for regression.
...
svn-id: r27437
2007-06-15 21:40:02 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Nicola Mettifogo
7d2809108e
Fixed the largest memory leaks.
...
svn-id: r26905
2007-05-21 21:06:30 +00:00
Nicola Mettifogo
2dd30d9aa6
Disabled halfbrite for Amiga versions. The effect will be enabled again when support is complete.
...
svn-id: r26890
2007-05-20 16:13:16 +00:00
Nicola Mettifogo
a1733f8bbe
More cleanup.
...
svn-id: r26835
2007-05-13 14:56:44 +00:00
Nicola Mettifogo
ae63466446
cleanup
...
svn-id: r26834
2007-05-13 14:38:05 +00:00
Nicola Mettifogo
09c816e695
New debug messages.
...
svn-id: r26832
2007-05-13 12:41:42 +00:00
Nicola Mettifogo
c892c768a4
Fixed sketch glitches in the introduction.
...
svn-id: r26765
2007-05-06 14:45:20 +00:00
Nicola Mettifogo
79229cafab
Some cheap cleanup.
...
svn-id: r26757
2007-05-06 09:31:45 +00:00
Nicola Mettifogo
0782fc5448
Fonts have been taking care of them being proportional for some time now, so it's time to remove old flags.
...
svn-id: r26585
2007-04-23 21:19:09 +00:00
Nicola Mettifogo
7609a54520
Some fixes for font management:
...
- new Amiga topaz font
- labels can be seen on the Amiga demo
- colors are now working
svn-id: r26580
2007-04-23 17:22:47 +00:00
Nicola Mettifogo
c9970a8005
- Implemented Amiga halfbrite mode in palette code, though usage is limited to displayItemComment() for the moment.
...
- Some changes to palette routines to make them fit with the new scheme.
svn-id: r26553
2007-04-21 12:51:40 +00:00
Nicola Mettifogo
987638a713
Now handling fonts with brand-new Font hierarchy. Amiga font have been implemented for dialogues/descriptions, but not for labels yet.
...
svn-id: r26530
2007-04-16 20:16:18 +00:00
Nicola Mettifogo
c43960b958
- Fonts are now preloaded at start.
...
- Replaced font string names with enums.
- Some slight simplification to Disk.
svn-id: r26518
2007-04-15 20:57:56 +00:00
Nicola Mettifogo
7e0c88592f
Fixed some memory leaks.
...
svn-id: r26483
2007-04-15 08:32:28 +00:00
Nicola Mettifogo
88b8f94435
Implemented palette animation to Amiga version of Nippon Safes.
...
svn-id: r26453
2007-04-11 20:20:22 +00:00
Nicola Mettifogo
59b1538685
Reduced dependency between project files, and prepared defs.h for deletion as soon as List<>'s usage is implemented.
...
svn-id: r26400
2007-04-07 10:02:59 +00:00
Nicola Mettifogo
91eaea3e58
Added code for resource loading and fixed the bug having Amiga demo crashing. It is now limitedly playable, although graphics is still heavily messed up.
...
svn-id: r26349
2007-04-01 14:35:33 +00:00
Nicola Mettifogo
711865ef63
- implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()
...
- enforced use of getFramePtr instead of Cnv::_array member
svn-id: r26317
2007-03-29 18:34:31 +00:00
Nicola Mettifogo
3903309af3
Overhaul of palette management to bring it back to its original form. Gfx palette code has been updated, and _c_endComment (callable from scripts) has been implemented. As a by-product, palette cycling now finally works!
...
svn-id: r26314
2007-03-28 20:12:00 +00:00
Nicola Mettifogo
ac1e6c9b75
Fixed palette bug to allow proper display of splash screens, but dos palette is still broken in game. Palette code needs a general revision due to differences between dos and amiga.
...
svn-id: r26313
2007-03-27 22:04:50 +00:00
Nicola Mettifogo
1931461127
deleted some dead code
...
svn-id: r26242
2007-03-19 20:26:17 +00:00
Nicola Mettifogo
0bc056aee3
Made loadStatic return a new StaticCnv instead of accepting a parameter. All disk functions now accept only a resource name as their parameter.
...
svn-id: r26232
2007-03-18 21:15:39 +00:00
Nicola Mettifogo
4966b755f0
changed DoorData::_cnv to be a pointer, in view of changes to Disk::loadFrames()
...
svn-id: r26230
2007-03-18 21:00:22 +00:00
Nicola Mettifogo
c1f84742f9
changed remaining stuff to Common::Point and got rid of custom Point and Rect
...
svn-id: r26216
2007-03-18 17:22:07 +00:00
Nicola Mettifogo
919985e4df
converted input and labels to Common::Point
...
svn-id: r26214
2007-03-18 17:12:48 +00:00
Nicola Mettifogo
791ad09510
Made loadFont return a new Cnv instead of accepting a parameter.
...
svn-id: r26203
2007-03-18 10:38:31 +00:00
Nicola Mettifogo
8f74bc15ae
- made loadPointer return a new StaticCnv instead of accepting a parameter.
...
- adjusted Gfx code handling mouse pointers.
svn-id: r26201
2007-03-18 10:30:51 +00:00