Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Nicola Mettifogo
d1b71335d6
Fixed support for walking zones in BRA:
...
* patches are not applied if the zone is not visible when loading
* when applying a patch, always overwrite the existing data instead of OR'ing
svn-id: r36209
2009-02-03 10:42:27 +00:00
Nicola Mettifogo
0a42482fc3
Removed newlines from debug statements.
...
svn-id: r36208
2009-02-03 10:38:56 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +00:00
Nicola Mettifogo
b2a9393eee
Replacement an immediate with the appropriate #define constant.
...
svn-id: r35950
2009-01-20 12:47:39 +00:00
Nicola Mettifogo
545b76876a
Character is now placed at the right spot when a new location is entered. Size may be still not right, though.
...
svn-id: r35945
2009-01-20 11:07:27 +00:00
Nicola Mettifogo
3e611e1eb7
Adapted fixed-sized arrays to cope with the larger dialogues in BRA. Maybe they should be turned into dynamic data structures...
...
svn-id: r35944
2009-01-20 10:39:16 +00:00
Nicola Mettifogo
e5d75d1f7b
Fixed regression from revision 35765. Mask and path patches were destroyed before getting a chance to be used.
...
svn-id: r35835
2009-01-12 13:14:09 +00:00
Nicola Mettifogo
99d603c332
Attempted fix of bug #2438637 (Dino not erased in introduction screen on Amiga Nippon Safes), by not forcing the character visible on a location switch.
...
svn-id: r35786
2009-01-08 14:34:22 +00:00
Nicola Mettifogo
4b402e4cd8
Fixed points 2 and 3 of bug #2438549 , spotlight wasn't displayed correctly.
...
svn-id: r35785
2009-01-08 14:12:46 +00:00
Nicola Mettifogo
beacae5efd
Trim resource filenames to 8 characters as a last resort on BRA. Script files are unbelievably broken.
...
svn-id: r35784
2009-01-08 07:31:32 +00:00
Nicola Mettifogo
294c76f4c4
Don't assert anymore when a command flag doesn't exist, but ignore it and print a warning instead. Some location scripts in BRA are totally broken.
...
svn-id: r35783
2009-01-08 07:11:32 +00:00
Max Horn
e955e0b4c4
Fixed warnings
...
svn-id: r35780
2009-01-07 23:30:31 +00:00
Nicola Mettifogo
5cf67c6ed7
Implemented Engine::getDebugger().
...
svn-id: r35768
2009-01-07 15:30:38 +00:00
Nicola Mettifogo
f1ad8b6934
Extended PathBuffer to support BRA.
...
svn-id: r35766
2009-01-07 08:16:18 +00:00
Nicola Mettifogo
21fae9d029
* moved more mask management to BackgroundInfo
...
* simplified mask management for client code
* reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp
* preparation for the full implementation of BRA's PathBuffer
svn-id: r35765
2009-01-07 07:35:11 +00:00
Nicola Mettifogo
ef05ed7a98
Cleanup.
...
svn-id: r35764
2009-01-07 07:21:50 +00:00
Nicola Mettifogo
fa1d881ad4
Implemented pauseEngineIntern, and fixed music volume handling in SoundMan.
...
svn-id: r35756
2009-01-06 16:21:23 +00:00
Nicola Mettifogo
c6935f2f69
Fixed broken condition check for displaying dialogue balloons.
...
svn-id: r35748
2009-01-06 06:13:45 +00:00
Nicola Mettifogo
2d74085545
Deleted unused declarations, sorted others, and removed some dead code.
...
svn-id: r35739
2009-01-05 14:07:26 +00:00
Max Horn
83a8f7bc29
Fixed warning
...
svn-id: r35730
2009-01-04 17:17:28 +00:00
Nicola Mettifogo
7a0b782a3c
Made sure to display labels on animations.
...
svn-id: r35726
2009-01-04 15:37:46 +00:00
Nicola Mettifogo
a53fa36913
Made sure each event is processed only once. This wasn't always the case when _inputMode changed as a result of a game action. This also caused the comment mode to be apparently skipped.
...
svn-id: r35725
2009-01-04 15:09:28 +00:00
Nicola Mettifogo
f2b495ba2d
Implemented counters in BRA. Only valid answer options are shown, and counter calculations in scripts are performed.
...
svn-id: r35723
2009-01-04 14:23:20 +00:00
Nicola Mettifogo
b2d7ae871b
Dropped the script preprocessor introduced to fix the broken scripts. The parser has evolved in the meantime and can deal with it accordingly.
...
svn-id: r35700
2009-01-03 14:03:12 +00:00
Nicola Mettifogo
f32f4e5cec
Another change I forgot to do in revision 35447.
...
svn-id: r35619
2008-12-30 05:14:27 +00:00
Max Horn
f26f85ee96
GUI: Added Widget::setVisible convenience wrapper
...
svn-id: r35572
2008-12-27 14:36:28 +00:00
Nicola Mettifogo
b3b23642bf
Fixed selection of invalid frame numbers. This means that most locations can be switched to and don't crash up anymore!
...
svn-id: r35550
2008-12-26 05:44:32 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
45529628e1
Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",
...
svn-id: r35533
2008-12-25 00:18:01 +00:00
Nicola Mettifogo
cae7c2346f
Questions in dialogues can have up to 10 answers in BRA.
...
svn-id: r35524
2008-12-24 10:35:34 +00:00
Nicola Mettifogo
41ebd732f5
Fixed display of location background when changing from a scrollable to a non-scrollable one.
...
svn-id: r35522
2008-12-24 09:53:00 +00:00
Nicola Mettifogo
6c1dc0c03b
Simplified destructions of Balloon objects.
...
svn-id: r35521
2008-12-24 09:51:07 +00:00
Nicola Mettifogo
e11c17a005
Moved more GfxObj management to Gfx object.
...
svn-id: r35466
2008-12-21 15:42:47 +00:00
Nicola Mettifogo
74b251d45d
Added a stub to dialogue parser, so that dialogue lines controlled by counters are displayed.
...
svn-id: r35465
2008-12-21 15:41:41 +00:00
Nicola Mettifogo
025b2a93e9
Moved mask creation/handling to Gfx.
...
svn-id: r35447
2008-12-20 08:15:09 +00:00
Nicola Mettifogo
774773b7cd
Reduced code duplication when manipulating Animations, and cleanup.
...
svn-id: r35408
2008-12-17 11:15:47 +00:00
Nicola Mettifogo
c76f0bdb10
Weeded out some more unused code, and some restructuring.
...
svn-id: r35377
2008-12-15 07:15:29 +00:00
Nicola Mettifogo
dc3e9027f4
Removed references to _vm from the engine itself.
...
svn-id: r35358
2008-12-14 10:32:26 +00:00
Nicola Mettifogo
e98bc7e402
Removed some unused code.
...
svn-id: r35357
2008-12-14 10:08:31 +00:00
Nicola Mettifogo
5b39775184
Some more restructuring of rendering code.
...
svn-id: r35343
2008-12-13 17:52:37 +00:00
Nicola Mettifogo
800db6f142
Restructuring of rendering code.
...
svn-id: r35342
2008-12-13 17:31:48 +00:00
Nicola Mettifogo
b3475d8178
* Replaced char* with Common::String in the parser.
...
* Enforced const-correctness on related routines.
svn-id: r35326
2008-12-13 03:37:43 +00:00
Nicola Mettifogo
6724097f67
Fixed positioning of inventory.
...
svn-id: r35325
2008-12-13 03:36:28 +00:00
Nicola Mettifogo
7e7d5c68ed
Initialised variables to silence lots of valgrind's warnings.
...
svn-id: r35312
2008-12-12 04:52:37 +00:00
Nicola Mettifogo
6ecc17010d
Fixed some more leaks and mismatched allocations/deallocations.
...
svn-id: r35277
2008-12-07 14:33:30 +00:00
Nicola Mettifogo
b557c58d3b
Missing break statement caused many broken warning messages.
...
svn-id: r35271
2008-12-07 12:47:14 +00:00