Commit Graph
75 Commits
Author SHA1 Message Date
Max Horn 359be0c066 SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
svn-id: r49968
2010-06-17 23:14:34 +00:00
Martin Kiewitz 27741ee970 SCI: dont subtract offTop on wmgrPort when using old gfx functions - fixes about window in pq2
svn-id: r49947
2010-06-17 19:42:34 +00:00
Martin Kiewitz ba2de6dfa4 SCI: putting SciGui::init into SciEngine, removing it from SciGui(32)
svn-id: r49854
2010-06-15 13:34:40 +00:00
Martin Kiewitz 3269e5cc4c SCI: adjust priority bottom, if its 200 to avoid possible out of bounds (sierra actually does the same)
svn-id: r49592
2010-06-11 09:17:11 +00:00
Filippos Karapetis c874ff15a8 Cleaned up the game ID code:
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID
- Moved the code which reads the internal Sierra ID inside the resource manager
- Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code

svn-id: r49152
2010-05-23 10:28:03 +00:00
Martin Kiewitz ae4da9debe SCI: setting port _menuPort, fixing crash on setFont()
svn-id: r49043
2010-05-15 15:59:46 +00:00
Martin Kiewitz 19af89a902 SCI: removed _mainPort (was unused, is unused)
svn-id: r49042
2010-05-15 15:45:05 +00:00
Martin Kiewitz 59a255226f SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum GFX_SCREEN_UPSCALED_*
svn-id: r49039
2010-05-15 08:57:13 +00:00
Martin Kiewitz c083ce2879 SCI: fix window, when its too large for screen (fixes sq3 crash at ending, actually caused by script bug)
svn-id: r49028
2010-05-13 22:04:53 +00:00
Martin Kiewitz 38c661bfac SCI: fix regression of r49026 - line between titlebar and actual window was overdrawn
svn-id: r49027
2010-05-13 21:29:32 +00:00
Martin Kiewitz a5f59ccdae SCI: remove hack code for shadows and implement them properly (shadow is actually part of the window, not added onto the window) - fixes especially lsl5
svn-id: r49026
2010-05-13 21:14:37 +00:00
Martin Kiewitz 070b2e14fe SCI: don't adjust new windows to _wmgrPort for oldGfxFunctions() games (till kq4 .502), fixes all window positions for those especially sq3old speech bubble windows
svn-id: r49025
2010-05-13 20:19:54 +00:00
Martin Kiewitz 579a19fbc4 SCI: fix code that was commented out (wasn't meant to get commited that way) during cleanup r47745
svn-id: r49015
2010-05-12 19:46:24 +00:00
Martin Kiewitz 78e85ce053 SCI: fixing regression from r48771 - sierra used != before SCI1LATE and !(&) later - fixes broken windows in sq1
svn-id: r48807
2010-04-26 15:30:32 +00:00
Martin Kiewitz 3005fffe78 SCI: draw a black line between titlebar and actual window content for SCI0, also replaced hardcoded white value (255) with screen specific value
svn-id: r48798
2010-04-25 19:49:10 +00:00
Martin Kiewitz 1243217547 SCI: added additional comment for setOrigin() commit (from waltervn), after doing some test with sierra interpreter
svn-id: r48775
2010-04-22 18:12:25 +00:00
Martin Kiewitz 4fbea9d02d SCI: make setOrigin() for ports behave like in sierra sci, fixes qfg1ega character screen issues ("moving" controls), fixes jones/vga 1 pixel-off windows
svn-id: r48772
2010-04-22 17:41:04 +00:00
Martin Kiewitz e25651a467 SCI: SCI1LATE+ checks for STYLE_USER, versions before check for STYLE_USER|STYLE_TRANSPARENT
svn-id: r48771
2010-04-22 16:55:46 +00:00
Martin Kiewitz 2242ee33ac SCI: get color white instead of hardcoded 255 inside openPort(), fixes not working inverting of button controls on qfg1ega character stats screen
svn-id: r48755
2010-04-20 19:37:58 +00:00
Martin Kiewitz 71fb77a5aa SCI: priority band specific stuff now gets called directly w/o SciGui
svn-id: r47916
2010-02-05 22:20:46 +00:00
Martin Kiewitz f3ea96d168 SCI: GfxCoordAdjuster class added, local2Global and global2Local use that class directly, kGraph / RedrawBox is now using GfxPaint16 directly
svn-id: r47908
2010-02-05 18:56:13 +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
Martin Kiewitz 19bca95905 SCI: renamed Text class to GfxText16
svn-id: r47780
2010-01-31 21:54:43 +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 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