Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz 231e122c63 SCI: updateBox now also supports hires mode
svn-id: r47219
2010-01-10 09:42:55 +00:00
Martin Kiewitz 7d16dbeb35 SCI: changed location of hack inside kDrawCel, coordinates of savedhiresbox may not get port adjusted
svn-id: r47218
2010-01-10 09:07:09 +00:00
Martin Kiewitz da09ee6732 SCI: switching to hires kDrawCel when 8th parameter is passed, fixed kDrawCel port adjust - fixes kq6 hires inventory
svn-id: r47217
2010-01-10 08:55:19 +00:00
Martin Kiewitz 2c1ef90b87 SCI: kPortrait - now drawing after wait, also using gui wait so mouse cursor still works during execution, makes lip sync perfect (thx to the other fix by fingolfin)
svn-id: r47214
2010-01-09 23:01:38 +00:00
Martin Kiewitz 8fdf6a8095 SCI: kPortrait - drawing base bitmap before drawing animation bitmap
svn-id: r47211
2010-01-09 21:20:39 +00:00
Martin Kiewitz 6619d95f48 kPortrait: found the coordinate offsets, corrected actual bitmap size (sometimes extra bytes are appended per line) animation bitmaps now valid
svn-id: r47210
2010-01-09 21:12:08 +00:00
Martin Kiewitz c73927ee4c SCI: deleting _bitmaps and unlocking sync resource in kPortrait
svn-id: r47208
2010-01-09 20:43:24 +00:00
Martin Kiewitz 273da184ee SCI: kPortrait - animation included, doesnt seem right currently coordinate offset is missing (cause i cant find it) and mouth movement doesnt seem right...at least the basics work and graphic data is fine
svn-id: r47206
2010-01-09 20:38:22 +00:00
Martin Kiewitz 7f78815e0e SCI: kPortrait almost fully implemented (animation bitmaps still missing)
svn-id: r47204
2010-01-09 19:12:53 +00:00
Martin Kiewitz 30d787a829 SCI: adding audio support to kPortrait, audio is now playing when portraits are shown
svn-id: r47202
2010-01-09 18:18:52 +00:00
Martin Kiewitz a815d0e12a SCI: added new debug command "picture_visualize", which enables visualization of the drawing process of EGA pictures
svn-id: r47201
2010-01-09 14:09:45 +00:00
Walter van Niftrik 1e3679b4b6 SCI: Cleanup
svn-id: r47194
2010-01-09 03:08:51 +00:00
Walter van Niftrik ac7458f916 SCI: Fix handling of output rate in PCJr driver
svn-id: r47193
2010-01-09 02:17:17 +00:00
Walter van Niftrik 6e991dc73e SCI: Fix crash on exit when using PCJr driver.
svn-id: r47192
2010-01-09 02:16:43 +00:00
Walter van Niftrik d1d4091281 SCI: Cleanup
svn-id: r47191
2010-01-09 02:16:17 +00:00
Walter van Niftrik 6f78bc40dd SCI: Move music device IDs to drivers.
svn-id: r47190
2010-01-09 02:14:12 +00:00
Martin Kiewitz 41eaeaa61d SCI: Ctrl-Z now supported as well :D
svn-id: r47188
2010-01-08 23:09:30 +00:00
Martin Kiewitz af8298d4f8 SCI: removed controlify() to ease readability of code
svn-id: r47186
2010-01-08 22:52:50 +00:00
Martin Kiewitz 75a4ef14f1 SCI: fix for platform difference between linux and windows, makes Ctrl-Alt-keys work under linux as well (e.g. lsl1, age questions cheat)
svn-id: r47185
2010-01-08 22:45:38 +00:00
Max Horn f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Max Horn 0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Martin Kiewitz 5cfd241af9 SCI: we won't do keyboard mapping for sci1late+, because otherwise Ctrl-keys won't work. I couldnt find games that use Alt-keys, so I was unable to check those as well
svn-id: r47175
2010-01-08 21:44:18 +00:00
Martin Kiewitz 8ba776913d SCI: fixing sq3 again (state selector wasnt updated anymore)
svn-id: r47174
2010-01-08 20:25:42 +00:00
Martin Kiewitz 25226cdc23 SCI: updateCues() cleanup
svn-id: r47172
2010-01-08 20:11:27 +00:00
Martin Kiewitz c067bf053d SCI: support "Ctrl-" prefix keys in menu, makes Ctrl-keys work in lsl6
svn-id: r47164
2010-01-08 17:25:39 +00:00
Martin Kiewitz b5603ee822 SCI: support "+" and "-" for menu (fixes speed changes via those keys in all games)
svn-id: r47163
2010-01-08 16:52:45 +00:00
Johannes Schickel 52d264fac1 Fix unhandled case(s) in switch warning from g++.
svn-id: r47157
2010-01-08 15:01:31 +00:00
Martin Kiewitz 723ad1bdc1 SCI: changed handling when unsupported sound type is selected, we are switching to adlib or amiga sound then
svn-id: r47156
2010-01-08 14:26:26 +00:00
Walter van Niftrik 54fc512156 SCI: Use adlib music by default
svn-id: r47155
2010-01-08 14:02:08 +00:00
Walter van Niftrik 3dda1c8073 SCI: Fix view detection in Hoyle 2
svn-id: r47154
2010-01-08 13:45:44 +00:00
Martin Kiewitz cd654b9616 SCI: call gui-init right after loading a saved game, fixes weird gui issue that occurs only when loading a save through ctrl-f5 menu "too early" in the game (where you couldnt load through original interpreter)
svn-id: r47151
2010-01-08 11:17:29 +00:00
Martin Kiewitz 2aca490e13 SCI: remove displaying tag in menu of some games (e.g. qfg1ega)
svn-id: r47143
2010-01-07 23:32:45 +00:00
Martin Kiewitz 8a1583da9b SCI: kPortrait actually gets lowres coordinates that need to get adjusted according to curPort (does this make sense? noooo), fixes portrait coordinates in kq6
svn-id: r47142
2010-01-07 20:41:52 +00:00
Martin Kiewitz 7a636ead9d SCI: sierra sci doesnt seem to adjust according to port on upscaledhires_save_box, this (and all the other fixes) finally fixes coordinates for kq6 hires cel placement
svn-id: r47141
2010-01-07 20:36:00 +00:00
Martin Kiewitz 140b22a374 SCI: implement crazy hack that fixes coordinates of some cel placements. I'm not sure if thats what sierra sci actually does or if we get coordinates 0,0 due some error somewhere. Fixes portrait window placement in kq6 - strangely they are still not at the correct height perhaps related to not adjusting "correctly" (whatever this means in this ugly mess that hires was implemented) inside BitsSave()
svn-id: r47140
2010-01-07 20:29:48 +00:00
Johannes Schickel 20a43c638c Premiliary adaption of SCI to use LoopingAudioStream. (This could really need some cleanup...)
svn-id: r47136
2010-01-07 17:45:17 +00:00
Johannes Schickel 45b6f84ba7 Some formatting fixes.
svn-id: r47135
2010-01-07 17:28:15 +00:00
Johannes Schickel d5fe29c3c9 Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
2010-01-07 16:34:56 +00:00
Martin Kiewitz 9577a45cdd SCI: fixed save/restorebits within screen class for displayscreen case, fixes kq6 menu bar
svn-id: r47125
2010-01-07 15:50:58 +00:00
Martin Kiewitz 7f358e3bbd SCI: changed kernel signature for kDrawCel, enabled upscaled hires savebox code ("crashed" before because afterwards kDrawCel will get the handle from the savebox call)
svn-id: r47121
2010-01-07 15:25:03 +00:00
Martin Kiewitz 519e80ca8b SCI: implemented additional drawCel for hires views, fixes menu bar of kq6 - still need to fix coordinates and implement save/restoreBits for hires
svn-id: r47116
2010-01-07 14:46:29 +00:00
Martin Kiewitz 5b063e2d93 SCI: releasing sample stream as well (thx to LordHoto)
svn-id: r47115
2010-01-07 14:39:42 +00:00
Martin Kiewitz 4701d0799c SCI: small cleanup in view drawing
svn-id: r47108
2010-01-07 13:56:56 +00:00
Martin Kiewitz 12cd066e44 SCI: fixed stupid bug in putPixelOnDisplay, fixes height of displayed hires graphics in kq6
svn-id: r47107
2010-01-07 13:30:08 +00:00
Martin Kiewitz 58aab46f06 SCI: some portrait work (kq6 now shows the main bitmap as portrait, coordinates still messed up)
svn-id: r47105
2010-01-07 10:31:29 +00:00
Eugene Sandulenko 413b4291b4 Fix warnings.
svn-id: r47101
2010-01-06 22:24:52 +00:00
Joost Peters 17feb75ae7 add new robot.cpp file
svn-id: r47100
2010-01-06 22:04:27 +00:00
Martin Kiewitz 1bea3e3873 SCI: added a new class for robot resources
svn-id: r47099
2010-01-06 21:56:31 +00:00
Martin Kiewitz 72ecf8b61e SCI: add robot/.rbt files to resourcemanager class
svn-id: r47096
2010-01-06 20:54:18 +00:00
Walter van Niftrik fc582c0e59 SCI: Fix overflow in LZS decompressor
svn-id: r47090
2010-01-06 20:22:00 +00:00