Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz a1daf54425 SCI: never set palette for amiga games (fixes kq5 palette corruption at the beginning)
svn-id: r47525
2010-01-24 21:11:26 +00:00
Martin Kiewitz 44827b340f SCI: changed amiga palette mapping table to map color 15 (white) again, scripts dont like it to be 255 :P
svn-id: r47524
2010-01-24 21:01:21 +00:00
Martin Kiewitz 75816d4ca1 SCI: added comment about using color 255 all the time for amiga games
svn-id: r47523
2010-01-24 20:51:34 +00:00
Martin Kiewitz 2ef7848586 SCI: changing white to be 255 for amiga all the time (works for our interpreter) - fixes mouse cursor on amiga sci1 games
svn-id: r47522
2010-01-24 20:47:35 +00:00
Martin Kiewitz 029154ab3a SCI: fixing amiga mapping for colors 0 and 15, those are hardcoded like everywhere else
svn-id: r47521
2010-01-24 20:38:56 +00:00
Martin Kiewitz b4ecf7f0e1 SCI: self drawn stuff on amiga uses ega palette, we need to match it onto currently used amiga palette (fixes user interface colors for amiga sci1 games)
svn-id: r47520
2010-01-24 20:31:01 +00:00
Martin Kiewitz e51721f7b1 SCI: handle intensity calls for amiga the same way as we handle palette animation (abort instead of process)
svn-id: r47514
2010-01-24 19:42:12 +00:00
Walter van Niftrik e7e9006122 SCI: Fix list control scrolling in Jones EGA and VGA.
svn-id: r47511
2010-01-24 18:57:23 +00:00
Walter van Niftrik 10da245619 SCI: Cleanup
svn-id: r47506
2010-01-24 17:52:27 +00:00
Walter van Niftrik bffdcc9e54 SCI: Fix left aligning and centering in kFormat.
svn-id: r47500
2010-01-24 15:21:51 +00:00
Filippos Karapetis aab6485d32 Always memset the newly malloc'ed argument memory to 0 inside kFormat
svn-id: r47498
2010-01-24 11:57:10 +00:00
Filippos Karapetis bab94d58ba Added missing documentation for the new music related commands introduced in rev. 47475
svn-id: r47497
2010-01-24 11:54:55 +00:00
Filippos Karapetis 1352940688 Replaced CHECK_OVERFLOW1 with asserts
svn-id: r47496
2010-01-24 11:00:21 +00:00
Martin Kiewitz d0b8a8e468 SCI: supporting .used bit 1 in palettes (force direct palette setting) and clipping palette intensity results fixes fade in/out in sq5 intro (some timing problems remain)
svn-id: r47495
2010-01-24 10:06:27 +00:00
Max Horn 4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Filippos Karapetis 5b4fcfdbcb Added some skeleton code for kPalVary()
svn-id: r47485
2010-01-23 21:33:24 +00:00
Filippos Karapetis dcbcb41855 kSetSynonyms is really parser related, but it's an empty function in games without a parser
svn-id: r47484
2010-01-23 20:27:14 +00:00
Filippos Karapetis 722233fd0d - Moved all of the parser-related variables inside the Vocabulary class
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms)
- The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser

svn-id: r47483
2010-01-23 19:10:56 +00:00
Johannes Schickel edbc368398 Cleanup. (And along with it add some additional asserts).
svn-id: r47482
2010-01-23 18:24:11 +00:00
Johannes Schickel 2489340cc8 Fix build broken with r47480.
svn-id: r47481
2010-01-23 18:11:21 +00:00
Filippos Karapetis df149e1509 Separated the parser code
svn-id: r47480
2010-01-23 17:55:54 +00:00
Filippos Karapetis 27b37ed97e Amiga SCI1 games had signed sound data. Fixes PQ3 Amiga
svn-id: r47477
2010-01-23 15:01:17 +00:00
Filippos Karapetis d6e0276119 Added song manipulation debug commands: songinfo, startsound, togglesound and stopallsounds. is_sample now works with the new sound code
svn-id: r47475
2010-01-23 14:39:03 +00:00
Filippos Karapetis f007435b82 sfx_init_flags is not used in the new sound code
svn-id: r47464
2010-01-23 12:10:31 +00:00
Martin Kiewitz ed349aba0f SCI: SCI0 games have a grey titlebar
svn-id: r47463
2010-01-23 12:01:04 +00:00
Martin Kiewitz e99adedac2 SCI: separate fix function for kDrawControl rects
svn-id: r47462
2010-01-23 11:00:24 +00:00
Martin Kiewitz 81e85b3186 SCI: dont swap coordinates on rects when both are "wrong", will fix button placement and gfx corruption when challenging jones (caused by duplicate buttons having lower right 0, 0) - function needs some more work
svn-id: r47446
2010-01-22 23:02:33 +00:00
Martin Kiewitz fa80444a12 SCI: restoring r47412, we were right all along but this "hack" was done on the sierra sci interpreter for jones ega/vga only (talkie NOT included). So this restore does it game specific now, causing no regressions anywhere else. We detect jones/talkie as "jones" as well, may cause regressions for talkie
svn-id: r47445
2010-01-22 22:34:14 +00:00
Martin Kiewitz 4500910b49 SCI: reverting r47412, change was incorrect and also resulted in broken animations inside text boxes in kq5. jones also uses hardcoded -1 priority for control icons.
svn-id: r47444
2010-01-22 19:25:48 +00:00
Martin Kiewitz 8f41cc0631 SCI: removed error inside Menu::mouseFindMenuItemSelection, instead returning 0
svn-id: r47442
2010-01-22 18:20:57 +00:00
Martin Kiewitz 61acb22fc5 SCI: draw a black line under menubar when menu is active (effectively for jones, wouldnt be needed otherwise), adjust inverting menu selections accordingly
svn-id: r47441
2010-01-22 17:38:06 +00:00
Filippos Karapetis b8d0c214ea Reset the value of _resetOnPause when a song is loaded/unloaded
svn-id: r47434
2010-01-22 12:32:54 +00:00
Filippos Karapetis 47c97f4a60 - The reverb value is now obtained from the music driver
- Implemented kSetReverb (0x50) and kResetOnPause (0x4C)

svn-id: r47433
2010-01-22 12:26:12 +00:00
Walter van Niftrik 716a2bf242 SCI: Fix OB1 error in rhythm mapping in MT-32 to GM translation
svn-id: r47428
2010-01-22 01:01:08 +00:00
Johannes Schickel 8257b1106c Fix gcc warning.
svn-id: r47425
2010-01-21 22:44:25 +00:00
Martin Kiewitz c8e2b0f967 SCI: fixing iceman intro again (dont set datainc immediately but after delta)
svn-id: r47424
2010-01-21 22:33:35 +00:00
Filippos Karapetis c46c42ceb0 SCI: Saved games can now be loaded from ScummVM's launcher
svn-id: r47423
2010-01-21 22:20:16 +00:00
Filippos Karapetis 93a8b469c0 - Fixed pausing of all sounds in the playlist
- Sounds are now paused correctly when opening/closing the debug console
- Some cleanup

svn-id: r47422
2010-01-21 21:28:32 +00:00
Walter van Niftrik b6742d12f6 SCI: Cleanup
svn-id: r47419
2010-01-21 16:28:09 +00:00
Walter van Niftrik 208dbf1d9a SCI: Renamed softseq/ to drivers/
svn-id: r47418
2010-01-21 16:27:29 +00:00
Walter van Niftrik 9f5e50c130 SCI: Removed seq/ directory
svn-id: r47417
2010-01-21 16:25:39 +00:00
Walter van Niftrik c5409b2d7b SCI: Add MT-32 to GM mapping
svn-id: r47416
2010-01-21 16:24:47 +00:00
Martin Kiewitz e85d2a023d SCI: control icons now use objects priority selector instead of hardcoded priority 255. fixes jones speech bubbles
svn-id: r47412
2010-01-20 21:59:12 +00:00
Martin Kiewitz 99896e8a45 SCI: boundary check on getPortById()
svn-id: r47410
2010-01-20 20:09:24 +00:00
Martin Kiewitz 49d3ba06bf SCI: kDrawCel workaround documented and not temporary anymore
svn-id: r47409
2010-01-20 19:45:42 +00:00
Martin Kiewitz 0b2453aed8 SCI: workaround for game menu/quit menu in freddy pharkas till vm issue is resolved
svn-id: r47407
2010-01-20 17:56:00 +00:00
Max Horn dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Filippos Karapetis f0e6c3f142 - Removed the resetDriver() hack. The reason why notes stopped being played sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn)
- Hooked setReverb() to actually set music reverb

svn-id: r47392
2010-01-19 20:02:17 +00:00
Martin Kiewitz dbe665908e SCI: dont directly set mouse cursor to visible state but call show() instead thus updating _isVisible so cursor wont get lost in sci0 games
svn-id: r47391
2010-01-19 19:58:36 +00:00
Martin Kiewitz f2ddf8cdd8 SCI: call showBits() on the line between menubar and the actual menu (because reanimate clips to picPort, so that line wouldnt be shown as restored)
svn-id: r47390
2010-01-19 19:48:56 +00:00