Commit Graph
7940 Commits
Author SHA1 Message Date
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
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
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
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
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
Johannes Schickel a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +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
Willem Jan Palenstijn 06bd17ee71 SCI: Remove extra '\n's in debugC messages
svn-id: r47707
2010-01-30 11:59:05 +00:00
Willem Jan Palenstijn 9449585893 Fix warning
svn-id: r47706
2010-01-30 11:17:08 +00:00
Filippos Karapetis 28aee9c5f3 Silenced a very annoying warning
svn-id: r47704
2010-01-30 07:11:38 +00:00
Walter van Niftrik 6066c9baa2 SCI: Removed old pathfinding define from sci.h
svn-id: r47702
2010-01-30 04:33:46 +00:00
Walter van Niftrik 1bb011a3aa SCI: Removed old pathfinding code
svn-id: r47701
2010-01-30 04:19:55 +00:00
Walter van Niftrik 7dbd0fc181 SCI: Apply fix from r47683 to u> and u<= as well. Fixes Longbow.
svn-id: r47700
2010-01-30 04:01:15 +00:00
Matthew Hoops 2f68af90d5 Add the SCI2.1 variant of kShowMovie; KQ7 now shows the opening video.
svn-id: r47699
2010-01-30 03:57:58 +00:00
Walter van Niftrik d82b01cee9 SCI: AvoidPath: Allow solitary screen-edge vertices in path.
svn-id: r47698
2010-01-30 03:37:26 +00:00
Matthew Hoops bc64dfb52e Implement kString(Printf) and resizing of SCI32 strings in kFormat().
svn-id: r47697
2010-01-30 02:40:15 +00:00
Matthew Hoops da46fc9b35 Add support for saving/loading Arrays/Strings in SCI32. It's possible to save a game in GK1 now via the console, but not load (yet).
svn-id: r47696
2010-01-30 02:03:59 +00:00
Filippos Karapetis b01a793e55 Added a sanity check to baseSetter() - Torin's demo progresses a bit further now
svn-id: r47695
2010-01-30 01:46:54 +00:00
Filippos Karapetis 928b4a6df6 Added support for String types to kFormat (seems to work but needs testing...)
svn-id: r47694
2010-01-30 01:45:59 +00:00
Filippos Karapetis 42ec4e3780 Ignore kString(printBuf) calls with more parameters than 3 - a list is probably used
svn-id: r47693
2010-01-30 01:14:25 +00:00
Walter van Niftrik 49cfbbaffc SCI: Hook up AvoidPath debug mode to pathfinding debug channel.
svn-id: r47692
2010-01-30 01:02:29 +00:00
Filippos Karapetis c8501e2b26 Implemented kString case 12 - it was really kFormat in disguise :)
svn-id: r47691
2010-01-30 00:21:32 +00:00
Filippos Karapetis 694d30eb31 Don't cripple setVolume(), but throw a warning when receiving invalid volumes and correct them for now - fixes the music in GK1
svn-id: r47690
2010-01-29 23:59:50 +00:00
Filippos Karapetis 8977c1a4aa Disabled the MIDI volume changing code till we figure out why it's getting volume values greater than 127
svn-id: r47688
2010-01-29 23:08:12 +00:00
Filippos Karapetis 99f59d858e _gui and _gui32 are now properly initialized
svn-id: r47687
2010-01-29 22:56:39 +00:00
Walter van Niftrik 6703576452 SCI: Partly revert r47597, as it is superseded by r47683.
svn-id: r47686
2010-01-29 22:51:22 +00:00
Lars Skovlund 027b44673a Document my last change
svn-id: r47684
2010-01-29 22:29:03 +00:00
Lars Skovlund 0e8b8f1962 SCI: uge? and ult? opcodes now work correctly when comparing pointers with 1000.
svn-id: r47683
2010-01-29 22:17:27 +00:00
Matthew Hoops 5b9b6b6b70 Fix compile when ENABLE_SCI32 is not set.
svn-id: r47682
2010-01-29 22:02:28 +00:00
Martin Kiewitz c6e095715c SCI: adding shakeScreen() for gui32 for lsl6
svn-id: r47681
2010-01-29 21:51:21 +00:00
Matthew Hoops 1bc1ff1705 Silence gcc warnings, have gui32.cpp only build when ENABLE_SCI32 is defined.
svn-id: r47680
2010-01-29 21:34:59 +00:00
Martin Kiewitz a800855bf4 SCI: added new SciGui32 class, Gfx class needs some work though and hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top
svn-id: r47679
2010-01-29 21:30:46 +00:00
Filippos Karapetis 85517515a7 Reverting incorrect rev. 47675. The actual problem was that SCI0 doesn't clear a song's handle when stopping it, but when disposing it. Hopefully, a lot of the SCI0 sound oddities are fixed now...
svn-id: r47678
2010-01-29 19:02:13 +00:00
Filippos Karapetis 31319de828 Always prefer MIDI drivers over the other ones
svn-id: r47677
2010-01-29 18:30:19 +00:00
Filippos Karapetis ddda7d12bd Wording
svn-id: r47676
2010-01-29 17:47:17 +00:00