Commit Graph

22422 Commits

Author SHA1 Message Date
Travis Howell
4c9a175ff9 Fix BRA regressions.
svn-id: r28557
2007-08-12 12:51:10 +00:00
Nicola Mettifogo
ee7102d0e7 Pushed menu handling into Parallaction_ns.
svn-id: r28556
2007-08-12 12:44:26 +00:00
Travis Howell
9a9f801e93 Remove left over debug ocde.
svn-id: r28555
2007-08-12 12:26:46 +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
Torbjörn Andersson
84dbc41e47 Fixed warning.
svn-id: r28553
2007-08-12 11:39:02 +00:00
Paul Gilbert
04f2c4e1e4 Added missing calls to the sound system
svn-id: r28552
2007-08-12 11:19:01 +00:00
Paul Gilbert
2f1c5a47db Added code fragment that can change the resource Id to change depending on whether inside/outside
svn-id: r28551
2007-08-12 11:17:48 +00:00
Paul Gilbert
9a9d0cb0a5 Cleaned up structures for room exit joins
svn-id: r28550
2007-08-12 11:16:43 +00:00
Paul Gilbert
4cf99284a7 Added missing calls to the sound system
svn-id: r28549
2007-08-12 11:15:36 +00:00
Paul Gilbert
81fa23f091 Skeleton code added for restart/restore screen
svn-id: r28548
2007-08-12 11:15:06 +00:00
Paul Gilbert
48499f3a52 Added accelerated tick calls during room loads
svn-id: r28547
2007-08-12 11:14:23 +00:00
Paul Gilbert
e1fd529679 Added new resource identifiers and incremented required data version
svn-id: r28546
2007-08-12 11:10:44 +00:00
Paul Gilbert
c247257721 Added part of the framework for playing sounds
svn-id: r28545
2007-08-12 11:08:44 +00:00
Paul Gilbert
52292983b0 Skeleton code added for restart/restore screen
svn-id: r28544
2007-08-12 11:07:44 +00:00
Paul Gilbert
8466c6869a Added description data for game sounds
svn-id: r28542
2007-08-12 11:01:10 +00:00
Nicola Mettifogo
be994c88db Moved intro hack routines to Parallaction_ns callables, where they belonged from the beginning.
svn-id: r28541
2007-08-12 09:10:10 +00:00
Nicola Mettifogo
8444ad7f48 Even better large background support. Now internal buffers aren't reallocated if not background size stays the same across location switches.
svn-id: r28540
2007-08-12 08:47:45 +00:00
Nicola Mettifogo
fdee6a6e87 Better support for large backgrounds.
svn-id: r28539
2007-08-12 08:37:46 +00:00
Nicola Mettifogo
46c74a5bcf Added very basic support for backgrounds larger than screen:
- background surfaces are now reallocated for every location
- screen is copied according to _scrollX/Y position

svn-id: r28538
2007-08-12 08:26:20 +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
Sven Hesse
f1cbf3f9b6 Added a small safety check to avoid accidently overflowing buffers when reading from files in STKs
svn-id: r28536
2007-08-11 20:59:08 +00:00
Sven Hesse
771741647d This should fix bug #1770655 and another one eriktorbjorn experienced in the CD version of Lost in Time in one go! :D
svn-id: r28535
2007-08-11 20:55:43 +00:00
Nicola Mettifogo
9167422ce3 Moved cursor handling from Gfx to engine subclasses.
svn-id: r28534
2007-08-11 20:44:22 +00:00
Torbjörn Andersson
ceaeba852e Fixed warning.
svn-id: r28533
2007-08-11 19:35:27 +00:00
Torbjörn Andersson
c915fb8807 Fixed compilation.
svn-id: r28532
2007-08-11 19:34:46 +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
81b864e9e8 Added preliminary font support for Big Red Adventure.
svn-id: r28529
2007-08-11 14:26:12 +00:00
Max Horn
74b16c7e90 Fix compiler warning
svn-id: r28528
2007-08-11 14:22:39 +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
0c7d53a2a4 Deleted some rotten comments.
svn-id: r28526
2007-08-11 13:17:57 +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
2c6c654435 Added new clone method to Palette object.
svn-id: r28523
2007-08-11 12:26:17 +00:00
Filippos Karapetis
156fa8e84f windows.h needs to be included before sdl.h, to avoid redefinition of ARRAYSIZE
svn-id: r28522
2007-08-11 11:31:31 +00:00
Filippos Karapetis
b755d15397 Updated the MSVC8 ScummVM project file for commit #28520
svn-id: r28521
2007-08-11 09:32:23 +00:00
Max Horn
9402981517 SDL backend cleanup (minor)
svn-id: r28520
2007-08-11 08:44:43 +00:00
Max Horn
3f22960a65 Fix warning() format string
svn-id: r28518
2007-08-11 08:16:18 +00:00
Max Horn
a03119c5f5 Changed OSystem (A)RGBToColor and colorTo(A)RGB methods to use ColorMasks templates; clarified some OSystem comments
svn-id: r28517
2007-08-11 08:05:03 +00:00
Max Horn
c492e9c902 make use of RGBToColor<ColorMasks> > template function
svn-id: r28516
2007-08-11 08:02:19 +00:00
Max Horn
4387d82dd8 Removing the DEAD MorphOS port
svn-id: r28515
2007-08-11 08:00:47 +00:00
Kari Salminen
6ea171189b Added Apple IIGS sample's true size calculation (A zero byte can end the sample prematurely).
svn-id: r28514
2007-08-10 15:33:07 +00:00
Kari Salminen
9df29f1123 Parsing Apple IIGS wave info into more easily accessible variables in the memory.
svn-id: r28513
2007-08-10 13:04:59 +00:00
Kari Salminen
1b7bed55fd Removed an extra semicolon.
svn-id: r28512
2007-08-09 21:32:26 +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
df7bd6f41c Fix warning.
svn-id: r28510
2007-08-09 19:24:51 +00:00
Nicola Mettifogo
aa1175ed13 Encapsulated palette stuff into a new Palette object and got rid of a lot of #defines. This should ease handling of palettes in different versions of the engine.
svn-id: r28509
2007-08-09 18:02:37 +00:00
Kari Salminen
f200150590 Added Apple IIGS instruments and wave file loading.\n(Apple IIGS music playing is broken at the moment).
svn-id: r28508
2007-08-09 17:44:07 +00:00
Kari Salminen
ae1f66994e Brought back and changed some variables from inside a #if 0 ... #endif
svn-id: r28507
2007-08-09 17:26:41 +00:00
Kari Salminen
89c30c871f Removed old loadInstruments().
svn-id: r28506
2007-08-09 17:11:38 +00:00