36959 Commits

Author SHA1 Message Date
Martin Kiewitz
66c88b98f5 SCI: GfxCache is now also called directly w/o SciGui nor SciGui32
svn-id: r47759
2010-01-31 17:14:58 +00:00
Johannes Schickel
6a3308150f Yet another little formatting fix.
svn-id: r47758
2010-01-31 17:05:07 +00:00
Johannes Schickel
4bdae74b10 Formatting.
svn-id: r47757
2010-01-31 16:49:24 +00:00
Martin Kiewitz
af5b9b14ca SCI: changed the way font class is initialized
svn-id: r47756
2010-01-31 16:49:22 +00:00
Johannes Schickel
594d82e287 Fix possible memory leaks.
svn-id: r47755
2010-01-31 16:32:11 +00:00
Martin Kiewitz
b21255509a SCI: remove classname from header to fix build
svn-id: r47754
2010-01-31 16:29:02 +00:00
Martin Kiewitz
7184fa3bad SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :P
svn-id: r47753
2010-01-31 16:26:15 +00:00
Martin Kiewitz
72c2d360f7 SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui
svn-id: r47752
2010-01-31 16:21:11 +00:00
Martin Kiewitz
c991a5bceb SCI: renamed SciGuiAnimate to GfxAnimate, moved code from SciGui into this class, now getting called directly
svn-id: r47751
2010-01-31 15:07:36 +00:00
Sven Hesse
6248362c38 Properly deleting the TOT resource table again when loading failed
svn-id: r47750
2010-01-31 13:18:32 +00:00
Sven Hesse
2185f6b164 Adding some sanity asserts
svn-id: r47749
2010-01-31 13:05:46 +00:00
Travis Howell
d6611ec7dc Sort order.
svn-id: r47748
2010-01-31 12:54:48 +00:00
Martin Kiewitz
c67ba0536d SCI: forgot the cache :P
svn-id: r47747
2010-01-31 12:46:55 +00:00
Martin Kiewitz
1169109773 SCI: added new modules to module.mk
svn-id: r47746
2010-01-31 12:44:51 +00:00
Martin Kiewitz
7929255cd9 SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui
svn-id: r47745
2010-01-31 12:35:15 +00:00
Johannes Schickel
5278b82f33 Slight formatting fixes to comply to our coding guidelines.
svn-id: r47744
2010-01-31 10:22:09 +00:00
Johannes Schickel
044ddf02a0 Fix warning format arguments. (Passing a Common::String ins't that much of a good idea)
svn-id: r47743
2010-01-31 10:02:38 +00:00
Filippos Karapetis
f59f03967b - Fixed saving from the GMM
- Grouped game IDs per SCI generation

svn-id: r47742
2010-01-31 08:28:10 +00:00
Max Horn
20f8503c23 Further OOify the ADPCM code
svn-id: r47740
2010-01-31 02:14:11 +00:00
Max Horn
7f2f9a8117 Rearrange code of ADPCMStream subclasses
svn-id: r47739
2010-01-31 02:13:38 +00:00
Max Horn
f3322bb1c8 Split ADPCMStream into several classes
svn-id: r47738
2010-01-31 02:12:59 +00:00
Max Horn
17ec0a8402 Rename ADPCMInputStream to ADPCMStream; make some members const
svn-id: r47737
2010-01-31 02:12:33 +00:00
Max Horn
21e1cc4cf8 Switch makeADPCMStream to DisposeAfterUse::Flag
svn-id: r47736
2010-01-31 02:11:41 +00:00
Filippos Karapetis
7f4aa161bc Removed duplicate code. Some cleanup
svn-id: r47735
2010-01-31 01:26:06 +00:00
Filippos Karapetis
8b9cdd671f Removed an unused parameter from _game_run()
svn-id: r47734
2010-01-31 01:15:05 +00:00
Paul Gilbert
9c178c2d3a Formatting corrections to conform to ScummVM formatting guidelines
svn-id: r47733
2010-01-31 00:47:29 +00:00
Paul Gilbert
dc8ff8c9d4 Further work on separating the scene logic for MADS and M4
svn-id: r47732
2010-01-31 00:42:47 +00:00
Filippos Karapetis
5b7d430550 Fixed endless looping in Longbow, when the after market GM patches are used
svn-id: r47731
2010-01-31 00:14:23 +00:00
Filippos Karapetis
a7165c02c1 Removed the hack for kResourceTypeRobot patch files
svn-id: r47730
2010-01-31 00:13:16 +00:00
Filippos Karapetis
4a4b69dbeb Fixed loading of saved games
svn-id: r47729
2010-01-30 23:40:29 +00:00
Paul Gilbert
3d1a43bc54 Worked on separating scene logic into separate classes for M4 and MADS
svn-id: r47728
2010-01-30 23:03:07 +00:00
Johannes Schickel
676bebe2be - Call the special debug channels "channels" consistently. (Formerly sometimes they were refered to as "levels").
- Along with it add some more descriptive commentary about what is the intention behind debug channels.

svn-id: r47727
2010-01-30 19:23:00 +00:00
Max Horn
87856c545c SCI: Don't mess with save_slot just to be able to decide whether we already honored a load request or not
svn-id: r47726
2010-01-30 19:08:00 +00:00
Max Horn
4f4b559d1c SCI: Correct comments which talked about 'loading from GMM' when they really meant 'loading from launcher'
svn-id: r47725
2010-01-30 19:06:24 +00:00
Max Horn
d0bcf4d281 SCI: Mark scriptState as one of the many evil global vars in the SCI engine
svn-id: r47724
2010-01-30 19:04:21 +00:00
Max Horn
a652b603c9 MOHAWK: Don't remove save_slot config entries the user may have added on purpose
svn-id: r47723
2010-01-30 19:03:11 +00:00
Johannes Schickel
f79b474ea7 Use SubLoopingAudioStream instead of makeLoopingAudioStream in SCUMM. (Incorrect replacement introduced with r47715, thanks to Max for spotting this).
svn-id: r47722
2010-01-30 18:15:17 +00:00
Johannes Schickel
5539f0d358 Add some TODO item.
svn-id: r47721
2010-01-30 15:38:31 +00:00
Johannes Schickel
3125dfe66e Add some asserts to the RawAudioStream code.
svn-id: r47720
2010-01-30 15:37:20 +00:00
Johannes Schickel
ef99a72436 Typo.
svn-id: r47719
2010-01-30 15:30:53 +00:00
Johannes Schickel
75ba7ee0f8 Rename RawDiskStream to RawAudioStream.
svn-id: r47718
2010-01-30 15:29:48 +00:00
Johannes Schickel
3cc0ef6c1c Remove RawMemoryStream.
svn-id: r47717
2010-01-30 15:28:07 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Johannes Schickel
8e3646e062 Get rid of Audio::makeRawMemoryStream_OLD.
svn-id: r47715
2010-01-30 15:19:15 +00:00
Johannes Schickel
523181d719 Add a factory which plays audio from a buffer via RawDiskStream.
svn-id: r47714
2010-01-30 15:18:25 +00:00
Johannes Schickel
ec3f58e626 - Mark makeRawDiskStream factory as deprecated.
- Introduce two new makeRawStream factories, one is using RawStreamBlockList instead of an RawDiskStreamAudioBlock array.

svn-id: r47713
2010-01-30 15:17:57 +00:00
Johannes Schickel
17cebab354 Change RawDiskStream to use a Common::List to store its blocks internally.
svn-id: r47712
2010-01-30 15:16:55 +00:00
Walter van Niftrik
ce5f91c785 SCI: Do not prefer MIDI drivers, as MT-32 to GM mapping is still lacking.
svn-id: r47711
2010-01-30 13:35:41 +00:00
Willem Jan Palenstijn
068e0c3ae8 SCI: Fix build without SCI32 support (#2942682)
svn-id: r47710
2010-01-30 13:22:29 +00:00
Fabio Battaglia
bff00f002b N64: added comments and slight cleanup
svn-id: r47709
2010-01-30 12:57:57 +00:00