Commit Graph
7940 Commits
Author SHA1 Message Date
Max Horn 81f7a55e8c SCI: Renamed Console::_vm to _engine
svn-id: r47831
2010-02-03 01:32:03 +00:00
Max Horn 2c25dab0e7 SCI: cleanup
svn-id: r47825
2010-02-02 22:53:33 +00:00
Max Horn 4b19acf255 SCI: Use Common::List and Common::String to simplify breakpoint handling (untested)
svn-id: r47824
2010-02-02 22:52:41 +00:00
Max Horn 6c322506dd SCI: Move some code around (no code changes)
svn-id: r47823
2010-02-02 22:50:32 +00:00
Matthew Hoops 5d80990380 Fix compile without SCI32
svn-id: r47822
2010-02-02 22:31:32 +00:00
Matthew Hoops 66b326d3e8 Add support in kString(Cpy) for copying to system strings. Also, stubbing kFileIO(19) to allow Torin to see the main menu. Some minor cleanup.
svn-id: r47820
2010-02-02 19:45:22 +00:00
Matthew Hoops 35d2f48fc1 Use MIDI by default for SCI32. Fixes the GK2 demo.
svn-id: r47819
2010-02-02 19:39:02 +00:00
Filippos Karapetis af6648fbb0 Try to make drmccoy happy again (is that even possible? :P )
svn-id: r47818
2010-02-02 17:33:52 +00:00
Filippos Karapetis 50e6b0283f Silenced warning
svn-id: r47817
2010-02-02 17:21:11 +00:00
Filippos Karapetis e321654dcd Added a stub for kCreateTextBitmap, which shows the text that should be drawn on screen
svn-id: r47816
2010-02-02 17:20:21 +00:00
Martin Kiewitz 6b26f76f70 SCI: frameout ignoring 0xFFFE for picture id as well (must be some other magic value)
svn-id: r47815
2010-02-02 16:29:14 +00:00
Martin Kiewitz 714665f9d9 SCI: some sort of priority support for sci32 (not working right, but at least the menu in gk1 now correctly shows up)
svn-id: r47814
2010-02-02 16:25:35 +00:00
Martin Kiewitz b0208e7306 SCI: moving structs/enums from helpers to animate/controls
svn-id: r47813
2010-02-02 14:41:17 +00:00
Walter van Niftrik 3493958423 SCI: Abort when sound driver fails to open.
svn-id: r47807
2010-02-02 03:23:48 +00:00
Walter van Niftrik 5f7c518542 SCI: Fix bug in keyshift handling in midi driver.
svn-id: r47806
2010-02-02 01:36:45 +00:00
Filippos Karapetis 5678269280 Fixed silly typos (priority is a byte in SCI32)
svn-id: r47800
2010-02-01 18:16:50 +00:00
Filippos Karapetis 86408ae3bc Added an initial implementation of kGetHighPlanePri
svn-id: r47799
2010-02-01 17:04:20 +00:00
Lars Skovlund 16490ab64e Fix bug in kString(Printf)
svn-id: r47798
2010-02-01 16:58:17 +00:00
Matthew Hoops 7b34392aad Only compile in the SCI32 static selectors when ENABLE_SCI32 is set; minor cleanup.
svn-id: r47797
2010-02-01 16:42:10 +00:00
Martin Kiewitz 097b45db21 SCI: fix getLanguage - fixes gk1 german (day number blood writing at the start), thx to waltervn
svn-id: r47795
2010-02-01 13:27:20 +00:00
Martin Kiewitz 80abaab1ae SCI: initialize gfxmenu for sci32 (fixes gk1 crash)
svn-id: r47794
2010-02-01 11:53:54 +00:00
Martin Kiewitz a20f4ef1fc SCI: implemented reset for GfxMenu, not recreating object anymore
svn-id: r47793
2010-02-01 10:16:45 +00:00
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
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
Martin Kiewitz 30bd160ad9 SCI: added additional decimal output for "vo" command
svn-id: r47768
2010-01-31 18:14:19 +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
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