15284 Commits

Author SHA1 Message Date
Martin Kiewitz
845c245ff3 SCI: class menu renamed to GfxMenu - now getting called directly, also fix for loading savedgames
svn-id: r47792
2010-02-01 09:53:42 +00:00
Matthew Hoops
c72c2ff711 kPlatform(0) should return the SCI platform number. Fixes playing AVI's in KQ7 Windows. Also, adding/updating detection entries for KQ7 Windows.
svn-id: r47791
2010-02-01 04:14:16 +00:00
Matthew Hoops
af52e2caf0 Torin calls K_FILEIO_OPEN without a file mode to open with. Assume that it's opening the file for reading as it appears that it is just testing if it exists. Torin (and the demo) progress a little farther now.
svn-id: r47790
2010-02-01 03:59:48 +00:00
Walter van Niftrik
f24e0aad2b SCI: When removing audio resources from the resource manager, also remove them from the LRU list.
svn-id: r47789
2010-02-01 01:05:08 +00:00
Matthew Hoops
313b531d56 Skip extra pixels at the end of each row in the cel so that they don't carry over to the next row if the dest width is less than the source width. Fixes several images in Mixed-Up Mother Goose (SCI1).
svn-id: r47788
2010-02-01 00:53:13 +00:00
Martin Kiewitz
da1a125a1a SCI: fixing scaling for sci32
svn-id: r47787
2010-02-01 00:23:05 +00:00
Matthew Hoops
d1bc12300c mothergoose SCI1 starts at the top of the screen, so set offTop to 0 for that version.
svn-id: r47786
2010-01-31 23:53:25 +00:00
Torbjörn Andersson
c5be030077 Silenced some more cppcheck warnings.
svn-id: r47785
2010-01-31 23:28:12 +00:00
Walter van Niftrik
b0b7764178 SCI: Add stub for kIntersections()
svn-id: r47784
2010-01-31 22:38:07 +00:00
Martin Kiewitz
d31f696d1f SCI: rename Controls to GfxControls, gets directly called now
svn-id: r47783
2010-01-31 22:20:55 +00:00
Matthew Hoops
12d983eaf4 Make EngineState::getLanguage() check from the resource manager as to what language it has loaded before checking from what ScummVM has set and make kDoAudio use EngineState::getLanguage()
svn-id: r47782
2010-01-31 22:14:35 +00:00
Martin Kiewitz
5cf510648a SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32
svn-id: r47781
2010-01-31 21:59:37 +00:00
Martin Kiewitz
19bca95905 SCI: renamed Text class to GfxText16
svn-id: r47780
2010-01-31 21:54:43 +00:00
Matthew Hoops
fb3d272c3c getFont() should check _cachedFonts and not _cachedViews. Fixes segfaults when using fonts.
svn-id: r47779
2010-01-31 21:31:11 +00:00
Walter van Niftrik
c66a6db213 SCI: Fix regression in KQ5CD caused by r47775.
svn-id: r47778
2010-01-31 21:11:36 +00:00
Martin Kiewitz
180874f044 SCI: display object name when addScreenItem is called
svn-id: r47777
2010-01-31 19:52:05 +00:00
Walter van Niftrik
a92bb6193b SCI: Implement kMemorySegment().
svn-id: r47776
2010-01-31 19:47:54 +00:00
Walter van Niftrik
4acb18f6b9 SCI: Add another DeviceInfo subfunction. Fixes VM crash in MUMG.
svn-id: r47775
2010-01-31 19:46:46 +00:00
Walter van Niftrik
1d50acaa50 SCI: Handle -1 properly when passed as a language id to DoAudio
svn-id: r47774
2010-01-31 19:45:51 +00:00
Walter van Niftrik
43c15603c3 SCI: Add support for early audio map files.
svn-id: r47773
2010-01-31 19:44:40 +00:00
Martin Kiewitz
e44620a0df SCI: fix printObject, so it does not output some spaces to terminal in case its supposed to output to debug console
svn-id: r47772
2010-01-31 18:49:59 +00:00
Johannes Schickel
420569626c Fix return of a reference to a temporary object introduced with r47766. (Hopefully this "workaround" will work also for Chrilith's compiler ;-).
svn-id: r47771
2010-01-31 18:29:54 +00:00
Johannes Schickel
3dd46d50f5 Slight fixes to comply with our coding guidelines.
svn-id: r47770
2010-01-31 18:24:49 +00:00
Martin Kiewitz
30bd160ad9 SCI: added additional decimal output for "vo" command
svn-id: r47768
2010-01-31 18:14:19 +00:00
Chris Apers
8f8c85e757 Removed obsolete code
svn-id: r47767
2010-01-31 18:11:48 +00:00
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
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
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
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