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
Nicola Mettifogo
db88c544b7
Fixed assorted leaks in Parallaction.
...
svn-id: r35270
2008-12-07 12:41:50 +00:00
Eugene Sandulenko
00de4b2b3c
Fix bug #2401150 : "Compiler: No matching function (Parallaction / Amiga)"
...
svn-id: r35269
2008-12-07 09:21:01 +00:00
Nicola Mettifogo
4c377e0339
Fixed positioning of overlayed graphics (dialogues, inventory, labels) in all locations. These items are now all handled in screen coordinates which are translated automatically by the renderer.
...
svn-id: r35255
2008-12-06 06:17:10 +00:00
Nicola Mettifogo
3fc72c63d9
Simplified scrolling calculations.
...
svn-id: r35254
2008-12-06 06:13:48 +00:00
Nicola Mettifogo
7681461b16
Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues in scrollable locations are a bit messed up for the moment.
...
svn-id: r35253
2008-12-06 04:51:04 +00:00
Nicola Mettifogo
664d696e55
Made readLineIntern() return a zero-length string when no printable text is read out of a script. This makes life easier for the parser, and also makes the introduction fully viewable.
...
svn-id: r35233
2008-12-04 09:33:37 +00:00
Nicola Mettifogo
1e4f2b5a90
Replaced remaining usages of readLine_OLD with readLine.
...
svn-id: r35218
2008-12-03 12:23:50 +00:00
Torbjörn Andersson
8dcb3cbac0
It's unnecessary to use strlen() just to find out if a string is empty or not.
...
svn-id: r35185
2008-11-30 10:11:38 +00:00
Nicola Mettifogo
13297a7857
Added missing initialization (which caused random crashes).
...
svn-id: r35092
2008-11-16 13:06:40 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00