36866 Commits

Author SHA1 Message Date
Chris Apers
3ed2192923 Prevent my compiler to crash and object copy hopefully it doesn't break something
svn-id: r47766
2010-01-31 18:08:51 +00:00
Martin Kiewitz
699a525db4 SCI: removing unused DrawChar()/StdChar() from text class
svn-id: r47765
2010-01-31 18:01:49 +00:00
Martin Kiewitz
299fb1a9cc SCI: dont delete _font inside text class, its already deleted inside cache
svn-id: r47764
2010-01-31 17:57:51 +00:00
Arnaud Boutonné
5507cb6247 Fascination - Partially fix the intro
svn-id: r47763
2010-01-31 17:57:07 +00:00
Martin Kiewitz
aaf756e736 SCI: implemented font caching
svn-id: r47762
2010-01-31 17:45:22 +00:00
Matthew Hoops
3b411f6576 Fix compile without ENABLE_SCI32 set.
svn-id: r47761
2010-01-31 17:30:58 +00:00
Matthew Hoops
2cf1efac78 Silence gcc warnings.
svn-id: r47760
2010-01-31 17:19:17 +00:00
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