Commit Graph
7940 Commits
Author SHA1 Message Date
Filippos Karapetis 6e18ee5b88 Changed palette initialization depending on the findings of the resource manager. Fixes the palette in several SCI1 EGA games
svn-id: r45114
2009-10-15 12:04:07 +00:00
Walter van Niftrik 0d6ab8c73a SCI: Add support for reg_t based segments to Message()
svn-id: r45113
2009-10-15 11:57:36 +00:00
Martin Kiewitz 5d6b256495 SCI/newgui: SciGuiPicture now supports embedded ega cel data
svn-id: r45112
2009-10-15 11:47:05 +00:00
Martin Kiewitz 022491c1cd SCI/newgui: longbow palette 999 doesnt have mapping, so palette was detected as SCI1.1, changed detection. fixes black windows
svn-id: r45110
2009-10-15 10:12:14 +00:00
Willem Jan Palenstijn c3e1f7be6b SCI: Don't cache squares
svn-id: r45109
2009-10-15 09:54:45 +00:00
Martin Kiewitz 1259c3ded7 SCI/newgui: SciGuiTransitions fadeIn now uses setIntensity() like sierra sci does, fixes blackout in longbow and others
svn-id: r45106
2009-10-15 08:03:01 +00:00
Martin Kiewitz 0868fd24d2 SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way
svn-id: r45105
2009-10-15 07:50:10 +00:00
Martin Kiewitz 3e7eb5089c SCI/newgui: within transitions mouse cursor is now hidden
svn-id: r45104
2009-10-15 07:46:52 +00:00
Martin Kiewitz 1fe5233c31 SCI/newgui: SciGuiTransitions now doesnt fade in/out color 255 anymore
svn-id: r45103
2009-10-15 06:50:42 +00:00
Martin Kiewitz 942dc2ce84 SCI: included stub for kPalVary to make Pharkas work a little bit more (currently crashes in kMessage)
svn-id: r45102
2009-10-15 06:37:05 +00:00
Willem Jan Palenstijn e6d3bb80b4 SCI: Improve cmdSend slightly. It's still broken, though
svn-id: r45097
2009-10-14 22:41:03 +00:00
Willem Jan Palenstijn 984527a479 SCI: Fix build with VM_DEBUG_SEND enabled
svn-id: r45096
2009-10-14 22:40:43 +00:00
Martin Kiewitz a7e6f50ede SCI: removed speed throttler (cause of kAnimate change)
svn-id: r45094
2009-10-14 21:48:52 +00:00
Martin Kiewitz a7e51b8276 SCI: kAnimate now delays a bit if needed (fixes typing in intro of lsl5, kq6 sierra logo and much more)
svn-id: r45093
2009-10-14 21:45:16 +00:00
Martin Kiewitz bc49c6e63e SCI/newgui: kPalette / setIntensity / reimplemented setPalette optional parameter, fixed memory corruption in setIntensity
svn-id: r45091
2009-10-14 19:39:07 +00:00
Martin Kiewitz 3c5c954154 SCI/newgui: changed kPalette (setIntensity) to behave differently (seems we had it wrong) also changed nonsense clipping
svn-id: r45090
2009-10-14 18:35:15 +00:00
Martin Kiewitz 8e58d5ef80 SCI: kDrawPic now reads out blackout flag for transitions
svn-id: r45089
2009-10-14 18:09:54 +00:00
Filippos Karapetis 20036d3cb4 Fixed the palette in the SEQ decoder again
svn-id: r45088
2009-10-14 18:03:47 +00:00
Martin Kiewitz ccaec44fc0 SCI/newgui: fix header of transitions
svn-id: r45087
2009-10-14 17:08:02 +00:00
Martin Kiewitz c10052865d SCI/newgui: SciGuiTransitions scroll left/right now supported (kq1)
svn-id: r45086
2009-10-14 16:57:16 +00:00
Martin Kiewitz 07b73f6ea8 SCI/newgui: woops, forgot to set new palette when scrolling up
svn-id: r45085
2009-10-14 15:46:59 +00:00
Martin Kiewitz e074792616 SCI/newgui: SciGuiTransitions now also supports scrolling up (lsl6 intro)
svn-id: r45084
2009-10-14 15:43:58 +00:00
Filippos Karapetis 1b3a5eaff6 Started rewriting the SEQ decoder to use the new GUI functions
svn-id: r45083
2009-10-14 15:21:53 +00:00
Martin Kiewitz f286a6d5b9 SCI/newgui: SciGuiTransitions now supports block-pixelation as well (EGA and VGA), e.g. qfg1/ega
svn-id: r45079
2009-10-14 13:58:37 +00:00
Filippos Karapetis b220471efd Fixed kMoveCursor(). Now the cursor will be moved to the correct spot when pressing tab in dialogs
svn-id: r45078
2009-10-14 13:28:36 +00:00
Martin Kiewitz 8df9514b79 SCI/newgui: SciGuiTransitions now supports pixelation effect (lsl5 intro)
svn-id: r45077
2009-10-14 13:23:37 +00:00
Martin Kiewitz 2284932e35 SCI/newgui: changed step-count to half to minimize cpu load
svn-id: r45075
2009-10-14 12:53:57 +00:00
Joost Peters d9de73e725 fix compilation
svn-id: r45074
2009-10-14 12:48:28 +00:00
Martin Kiewitz 7ba018898e SCI/newgui: implemented code to differentiate between EGA and VGA transitions
svn-id: r45073
2009-10-14 12:47:51 +00:00
Martin Kiewitz 9dff5c53b4 SCI/newgui: SciGuiTransitions now at least supports fadeIn/out
svn-id: r45072
2009-10-14 12:39:39 +00:00
Martin Kiewitz 060980c502 SCI/newgui: SciGuiTransitions receives SciGui now
svn-id: r45071
2009-10-14 11:34:02 +00:00
Filippos Karapetis cf51ef499e Plugged loads of memory leaks in the new GUI
svn-id: r45070
2009-10-14 11:29:09 +00:00
Martin Kiewitz 5da32b16c2 SCI: kDrawPic - flags is actually uint16
svn-id: r45069
2009-10-14 11:28:50 +00:00
Martin Kiewitz d6d2b0b6bb SCI/newgui: SciGuiTransitions now gets picRect
svn-id: r45068
2009-10-14 11:23:46 +00:00
Martin Kiewitz 7c2eae0ca3 SCI/newgui: fixes textcode processing to get out if string ends and no ending delimiter found
svn-id: r45065
2009-10-14 10:25:06 +00:00
Martin Kiewitz caaac0130a SCI: kDrawControl now also fixes bad rects (fixes jones/vga)
svn-id: r45064
2009-10-14 10:11:03 +00:00
Martin Kiewitz ec25df8e23 SCI/newgui: another change to floodfill, fixes jones/vga
svn-id: r45063
2009-10-14 10:02:23 +00:00
Martin Kiewitz 947d3ab5d4 SCI/newgui: coordinates fixup for embeeded cels
svn-id: r45062
2009-10-14 09:56:11 +00:00
Martin Kiewitz 4c91ace530 SCI/newgui: support for embedded cel data < 320 pixels width. fixes jones/vga
svn-id: r45061
2009-10-14 09:46:02 +00:00
Max Horn 5ea978f63a SCI: Rename some vars (cleaning up what seems to have been caused by a blind global search & replace)
svn-id: r45060
2009-10-14 09:37:22 +00:00
Max Horn 28034ef298 SCI: Fix warning, cleanup
svn-id: r45059
2009-10-14 09:36:39 +00:00
Filippos Karapetis d358f07254 Proper variable naming
svn-id: r45058
2009-10-14 09:32:49 +00:00
Filippos Karapetis 8570068f58 - Moved cel width and height calculation in the GUI
- Merged the engine states of the old and new GUI

svn-id: r45057
2009-10-14 09:28:58 +00:00
Martin Kiewitz 724e7a873a SCI/newgui: class SciGuiTransitions created
svn-id: r45051
2009-10-13 21:18:47 +00:00
Max Horn 429c9eb814 SCI: Don't end warning() format strings with a newline or a period (a newline and an exclamation mark are automatically added)
svn-id: r45049
2009-10-13 20:52:05 +00:00
Max Horn 2ae08e8478 SCI: Don't save HunkTable segments
svn-id: r45048
2009-10-13 20:50:59 +00:00
Filippos Karapetis b49d6d950b Moved some old GUI specific code from kgraphics.cpp into gui32.cpp
svn-id: r45047
2009-10-13 20:25:51 +00:00
Martin Kiewitz 8ccafc09a9 SCI/newgui: DrawControl type 10 is actually just a dummy in qfg1ega, we dont need to do anything. I believe some other control is responsible for the percentage box
svn-id: r45044
2009-10-13 19:08:40 +00:00
Max Horn 297542345f SCI: Skip loading HunkTable segments. This fixes a silly bug that can lead to arbitrary numbers of HunkTable segments to be created by repeatedly saving and loading.
svn-id: r45042
2009-10-13 18:54:20 +00:00
Max Horn 296dd54344 SCI: Merge SegManager::alloc_Hunk into SegManager::allocateHunkEntry
svn-id: r45041
2009-10-13 18:53:50 +00:00