Nicola Mettifogo
3465571b12
Added preliminary support for loading locations in BRA:
...
- changed parseLocation to invoke subclasses for version-specific keywords.
- implemented loading of background resources (backgrounds should be visible)
svn-id: r28568
2007-08-12 19:11:37 +00:00
Torbjörn Andersson
d7b6f0ecc8
Clear _curFile in closeVideo(). This fixes a regression in Lost in Time, where
...
the screen would go blank after closing the notebook.
svn-id: r28567
2007-08-12 18:15:54 +00:00
Nicola Mettifogo
10ee427772
Changed signature of disk routines for backgrounds to something resembling revisions prior to 28524, yet keeping the new useful BackgroundInfo struct. Those routines can now be used to fill specific fields of the struct, instead of having them create a new one at each call.
...
This feature is needed by BRA, since background, mask and path are specified by different instructions in the script.
svn-id: r28566
2007-08-12 17:13:21 +00:00
Nicola Mettifogo
0ec634ea06
Fixed location retrieval.
...
svn-id: r28565
2007-08-12 13:54:31 +00:00
Nicola Mettifogo
12d9e7aed9
Added first location selection for each part.
...
svn-id: r28564
2007-08-12 13:54:01 +00:00
Nicola Mettifogo
a3e1907837
Added more resource loading.
...
svn-id: r28563
2007-08-12 13:47:19 +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
de30651476
Disk can now load tables for BRA.
...
svn-id: r28561
2007-08-12 13:21:45 +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
9125ccb3eb
Oops. Buffers are now initialized properly.
...
svn-id: r28559
2007-08-12 13:06:42 +00:00
Travis Howell
efaca7c657
Change BRA to default to 1x scaler.
...
svn-id: r28558
2007-08-12 12:52:38 +00:00
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