Nicola Mettifogo
340b0e632e
Ensure zone and animation flags are restored when a location is reloaded. This should definitely fix bug #2718462 .
...
svn-id: r39739
2009-03-29 13:17:34 +00:00
Nicola Mettifogo
f2d7875db6
Added initialization for _index and _locationIndex in Zone objects.
...
svn-id: r39723
2009-03-28 14:17:17 +00:00
Nicola Mettifogo
a9f5340cba
Save zone and animation flags when a location is closed. This fixes bug #2718462 .
...
svn-id: r39722
2009-03-28 14:03:51 +00:00
Nicola Mettifogo
8cebcaf017
Pushed down dependencies from parser.h
...
svn-id: r39636
2009-03-23 17:42:08 +00:00
Nicola Mettifogo
71f42a9549
Fully implemented scrolling.
...
svn-id: r39622
2009-03-23 00:56:05 +00:00
Travis Howell
7f99a190cb
Fix loading objects in the Amiga version of BRA.
...
svn-id: r39413
2009-03-15 09:29:25 +00:00
Travis Howell
a6497584cc
Enable music in Amiga version of BRA too.
...
svn-id: r39409
2009-03-15 06:07:57 +00:00
Nicola Mettifogo
6398e56d09
Added midi support to BRA. So far music starts, but related script commands haven't been implemented yet.
...
svn-id: r39397
2009-03-14 17:02:28 +00:00
Nicola Mettifogo
8723afd6f4
* Added a generic sound manager that hides engine-specific managers and allows accessing them through a simplified command/parameter interface.
...
* Updated client code to use the new manager.
* Moved Nippon Safes sound code from sound.cpp to sound_ns.cpp.
svn-id: r39394
2009-03-14 15:09:31 +00:00
Nicola Mettifogo
33a8fe7a7e
Initialize and save zones flags and follower position when a location switch occurs.
...
svn-id: r39064
2009-03-02 08:36:42 +00:00
Nicola Mettifogo
813bd1ac7a
Fixed overflow in flag table.
...
svn-id: r39062
2009-03-02 06:14:25 +00:00
Nicola Mettifogo
09196a35ad
Added filter to preserve needed Animation across location switch.
...
svn-id: r38903
2009-02-26 14:53:57 +00:00
Nicola Mettifogo
b76ad3dc4f
changeLocation now uses the internal variable _newLocationName instead of an input parameter.
...
svn-id: r38902
2009-02-26 14:42:03 +00:00
Nicola Mettifogo
88efc8603e
Removed null*Ptr dummy objects, using SharedPtr's reset method to null pointers instead.
...
svn-id: r38897
2009-02-26 10:44:01 +00:00
Nicola Mettifogo
3efffe511b
Fixed crashes and leaks when quitting BRA from menu and splash screen.
...
svn-id: r38893
2009-02-26 09:12:29 +00:00
Nicola Mettifogo
d5d006bb30
Cleanup of CommandExec and ProgramExec, and pushed down dependencies from exec.h.
...
svn-id: r38892
2009-02-26 06:16:35 +00:00
Nicola Mettifogo
301e9d73d1
* Rebased Parallaction_br to inherit from Parallaction instead of Parallaction_ns
...
* Same as above for CommandExec_br and ProgramExec_br
This should finally kill most issues with destruction, at the cost of some code duplication.
svn-id: r38877
2009-02-25 09:15:53 +00:00
Nicola Mettifogo
93666ef53c
Updated all for(;;) loops to use prefix increment on iterators.
...
svn-id: r38876
2009-02-25 08:53:58 +00:00
Nicola Mettifogo
6334125d1c
Implemented follower support, except that:
...
* follower is forgotten when location changes (see freeLocation)
* the final walking frame is screwed
svn-id: r38838
2009-02-24 11:20:45 +00:00
Nicola Mettifogo
5dff53a2fa
Added preliminary code for following walker support in BRA.
...
svn-id: r38837
2009-02-24 09:18:20 +00:00
Nicola Mettifogo
659c9fb901
Changed interface to walk code, to better handle the differences between games. Moreover:
...
* merged PathBuilder_BR into PathWalker_BR
* implemented checkTrap routine for BRA
svn-id: r38836
2009-02-24 08:42:46 +00:00
Nicola Mettifogo
e3afa772e2
Cleanup.
...
svn-id: r38817
2009-02-23 12:17:25 +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
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
e11c17a005
Moved more GfxObj management to Gfx object.
...
svn-id: r35466
2008-12-21 15:42:47 +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
db88c544b7
Fixed assorted leaks in Parallaction.
...
svn-id: r35270
2008-12-07 12:41:50 +00:00
Nicola Mettifogo
13297a7857
Added missing initialization (which caused random crashes).
...
svn-id: r35092
2008-11-16 13:06:40 +00:00
Nicola Mettifogo
27a5d8bd5b
Better cleanup and handling of mouse when changing location in NS.
...
svn-id: r34942
2008-11-09 03:53:06 +00:00
Nicola Mettifogo
5581030972
* removed the obsolete _quit flag
...
* refactored most cleanup code for locations and game
svn-id: r34939
2008-11-08 14:56:45 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Nicola Mettifogo
1002b82022
Changed BRA to use the new Common:Archive infrastructure.
...
svn-id: r34777
2008-10-12 07:01:09 +00:00
Nicola Mettifogo
15d94dd614
Fixed crash when existing BRA: fonts were deallocated twice.
...
svn-id: r34766
2008-10-11 02:23:13 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Nicola Mettifogo
4ab5d3fdc4
Merging more of the GSoC 2008 RTL branch: PARALLACTION
...
svn-id: r34268
2008-09-02 01:58:55 +00:00
Nicola Mettifogo
6db501d612
Cleanup.
...
svn-id: r34222
2008-08-31 09:30:16 +00:00
Nicola Mettifogo
1fd91e2bb0
Moved save/load code into SaveLoad class.
...
svn-id: r34220
2008-08-31 06:14:45 +00:00
Nicola Mettifogo
983863bef3
Uniformed the interface of Parallaction class (and its hierarchy) with regards of gui code, which is now independent of engine version.
...
svn-id: r34219
2008-08-31 05:18:25 +00:00
Nicola Mettifogo
0a387bca12
Moved mouse cursor loading/handling to Input class.
...
svn-id: r34206
2008-08-30 10:27:20 +00:00
Nicola Mettifogo
47b1a06e3b
Removed unused code and structures, and a bit of cleanup.
...
svn-id: r34080
2008-08-21 12:11:24 +00:00
Nicola Mettifogo
9549cbee7f
Engine now returns to the menu when intro is over.
...
svn-id: r34047
2008-08-20 04:02:12 +00:00
Nicola Mettifogo
c528106b86
Fixed segfault when quitting BRA.
...
svn-id: r34022
2008-08-19 08:08:32 +00:00
Christopher Page
909b66ef54
Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33924
2008-08-16 04:30:01 +00:00
Nicola Mettifogo
d3440f2cc5
Some variable renamed to make more sense.
...
svn-id: r33864
2008-08-14 13:45:32 +00:00
Christopher Page
4198ee9623
Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33624
2008-08-04 22:34:07 +00:00
Nicola Mettifogo
f46ee2b70c
* Implemented pause/resume of command execution
...
* Implemented command opcode MOVE (not the script instruction).
svn-id: r33408
2008-07-29 12:59:55 +00:00
Nicola Mettifogo
ec04a81e81
Yet another hack to deal with labels... Must rethink this crap from scratch.
...
svn-id: r33377
2008-07-28 14:23:49 +00:00
Nicola Mettifogo
a1557bd776
Pick up/drop/open/close actions are now available in game.
...
svn-id: r33371
2008-07-28 11:50:36 +00:00