300 Commits

Author SHA1 Message Date
Nicola Mettifogo
12d9e7aed9 Added first location selection for each part.
svn-id: r28564
2007-08-12 13:54:01 +00:00
Nicola Mettifogo
c408e30bb9 BRA now loads tables and correctly selects episode (part) for resource loading.
svn-id: r28562
2007-08-12 13:27:48 +00:00
Nicola Mettifogo
6bbeb8c6d1 Added simple game loop to BRA. The game still crashes after menu.
svn-id: r28560
2007-08-12 13:10:04 +00:00
Nicola Mettifogo
ee7102d0e7 Pushed menu handling into Parallaction_ns.
svn-id: r28556
2007-08-12 12:44:26 +00:00
Nicola Mettifogo
41b8ec417c Added menu options enum to BRA and some refactoring.
svn-id: r28554
2007-08-12 12:24:59 +00:00
Nicola Mettifogo
ccfd109e25 Added partial cursor support for Big Red Adventure. Small adjustments to generalize disk code for multiple cursors.
svn-id: r28537
2007-08-11 21:08:08 +00:00
Nicola Mettifogo
9167422ce3 Moved cursor handling from Gfx to engine subclasses.
svn-id: r28534
2007-08-11 20:44:22 +00:00
Nicola Mettifogo
b11a47bd17 Main menu in Big Red Adventure is now available. Cursor is still ScummVM stock.
svn-id: r28531
2007-08-11 19:08:32 +00:00
Nicola Mettifogo
b07f787f7f Moved core font management from Gfx to engine. Gfx still retains features related to displaying text on screen.
svn-id: r28530
2007-08-11 17:25:57 +00:00
Nicola Mettifogo
1d0541a1db Since splash screen graphics will be called slides (like in Nippon Safes), loading code has been moved to loadSlide. Related code in engine has been refactored as well.
svn-id: r28527
2007-08-11 14:18:00 +00:00
Nicola Mettifogo
4c89de8fc0 Cleanup.
svn-id: r28525
2007-08-11 13:13:56 +00:00
Nicola Mettifogo
8c2ae45ab4 Overhaul of background/mask/path handling:
- added new BackgroundInfo structure
- added helper functions to aid management of BackgroundInfo. Engine is now responsible for allocation/deallocation.
- simplified loading and handling of background resources.

svn-id: r28524
2007-08-11 13:07:21 +00:00
Nicola Mettifogo
a644817966 Added code to load and display splash screens for BRA. The game crashes afterwards.
svn-id: r28511
2007-08-09 19:26:20 +00:00
Nicola Mettifogo
d800f33ff1 Turned StaticCnv struct into stock Graphics::Surface, and changed all relevant code.
svn-id: r28484
2007-08-07 15:08:45 +00:00
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
7c20288ba1 Removed useless mask width and size data members from engine.
svn-id: r28474
2007-08-06 19:43:33 +00:00
Nicola Mettifogo
d9e6db79b5 Refactored allegedly ugly code.
svn-id: r28318
2007-07-29 21:14:17 +00:00
Nicola Mettifogo
160a4ceaad Added callables stubs for Big Red Adventure.
svn-id: r28312
2007-07-29 18:49:24 +00:00
Nicola Mettifogo
4774696a96 Made current callable routines members of Parallaction_ns, and moved them to callables_ns.cpp.
svn-id: r28302
2007-07-29 17:02:08 +00:00
Nicola Mettifogo
7e4909efad Moved all callable routines and related data into callables.cpp.
svn-id: r28299
2007-07-29 16:42:29 +00:00
Nicola Mettifogo
b01232f08a - Added parser strings for Big Red Adventure
- Pushed parser strings initialization down to engine subclasses

svn-id: r28295
2007-07-29 16:29:41 +00:00
Nicola Mettifogo
9a766cf5c4 Removed direct references to callable functions (opcodes). They are now only available via a virtual member function in the engine.
svn-id: r28291
2007-07-29 15:21:33 +00:00
Nicola Mettifogo
7e7b07132e Moved specialized initialization code into subclasses.
svn-id: r28289
2007-07-29 14:24:31 +00:00
Nicola Mettifogo
8b62b591a8 Added detection target for Big Red Adventure, and derived new engine classes for supported games.
svn-id: r28247
2007-07-27 23:41:43 +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
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
674f2e93c2 Location background sound (different from music) now implemented.
svn-id: r27958
2007-07-08 08:13:32 +00:00
Nicola Mettifogo
214cbc40f5 Moved SaveLoadChooser class to saveload.cpp and adjusted dependencies.
svn-id: r27954
2007-07-07 19:42:06 +00:00
Nicola Mettifogo
94fab1c151 Wrapped dialogue functions into a new DialogueManager, and some basic refactoring.
svn-id: r27827
2007-07-01 16:12:21 +00:00
Nicola Mettifogo
f6e2c67cbb Mouse is now properly hidden during dialogues, and is restored after load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning.
svn-id: r27539
2007-06-18 20:11:49 +00:00
Travis Howell
4362692684 Add GF_LANG_MULT game flag, for detecting differences between the two Amiga versions.
svn-id: r27441
2007-06-16 02:43:31 +00:00
Nicola Mettifogo
607b2f3476 Added full version of Nippon Safes for Amiga (EN/FR/DE) to detector.
svn-id: r27389
2007-06-13 20:00:39 +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
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
346f0746d6 Added Audio debug level and fixed a bug when freeing music streams.
svn-id: r26804
2007-05-12 12:56:35 +00:00
Torbjörn Andersson
8a48951370 Fixed compilation.
svn-id: r26762
2007-05-06 10:31:17 +00:00
Nicola Mettifogo
a4cc51b8c5 Added embryonic debugger, and some adjustments to make basic commands work.
svn-id: r26755
2007-05-06 08:52:27 +00:00
Nicola Mettifogo
81d6873608 Refactored music code for dos version and added music to Amiga versions.
svn-id: r26619
2007-04-27 20:06:42 +00:00
Nicola Mettifogo
ab85ecdcb7 - Moved Zone and Animation to List<>.
- Removed any reference to Node from codebase.

svn-id: r26452
2007-04-11 20:01:06 +00:00
Nicola Mettifogo
6f8e77eb76 Moved Jobs to ManagedList. Since Jobs must be ordered according to their priority, a new insertSorted method has been added to the implementation.
svn-id: r26451
2007-04-10 18:46:34 +00:00
Nicola Mettifogo
cfcf281b86 Cleanup of Zone/Animation removal code. Only the good god of void pointers knows how it managed to work until now.
svn-id: r26430
2007-04-09 11:07:38 +00:00
Nicola Mettifogo
a0dbf44ee1 - moved walk code to List<>
- some adjustments to #include statements

svn-id: r26424
2007-04-09 10:03:15 +00:00
Nicola Mettifogo
edd226d1b6 Added new ManagedList class to handle Instruction and Command lists. The same class will be used to hold Zone, Animation and WalkNode lists.
svn-id: r26410
2007-04-07 17:18:16 +00:00
Nicola Mettifogo
5a8b8ca92d cleanup
svn-id: r26409
2007-04-07 16:40:27 +00:00
Nicola Mettifogo
162247ad3e Changed Commands to use List<>
svn-id: r26407
2007-04-07 15:18:26 +00:00
Nicola Mettifogo
9cf94ef46a Implemented destructors for Question and Answer.
svn-id: r26405
2007-04-07 14:00:23 +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
9367371107 Turned free___() routines into proper destructors for Zone, Animation and Program, and added memo comments for porting the engine to Common::List<>.
svn-id: r26399
2007-04-07 09:31:24 +00:00
Nicola Mettifogo
972b0d036a Characters now only store the set of frames they actually need. Basically, mini characters and normal characters are now completely separated.
svn-id: r26381
2007-04-04 20:59:31 +00:00