Commit Graph
86814 Commits
Author SHA1 Message Date
Oystein Eftevaag 915c60c629 Using #include instead of #import to include some mac os x headers to avoid silly gcc warnings, that we'd otherwise have to remove -pedantic to get rid of
svn-id: r46597
2009-12-26 17:18:18 +00:00
Filippos Karapetis f6da0146b2 Throw a warning when we're trying to invoke a variable selector, instead of swallowing it silently. This should never happen, so we shouldn't hide it, when it does
svn-id: r46596
2009-12-26 17:10:43 +00:00
Oystein Eftevaag d2ac036269 Fixed sentence -> buildbot rebuild
svn-id: r46595
2009-12-26 16:59:14 +00:00
Johannes Schickel 1a1b041d00 Add "End of namespace" comment.
svn-id: r46594
2009-12-26 16:57:34 +00:00
Filippos Karapetis 4e743e1a46 SCI2: Figured out the screen coordinates of views. Now, part of the interface can be seen in GK1. Also, silenced the OnMe warnings
svn-id: r46593
2009-12-26 16:16:02 +00:00
Oystein Eftevaag b21679e56e Buildbot compile fix for os x cross compile
svn-id: r46592
2009-12-26 16:00:41 +00:00
Filippos Karapetis b2c170168e SCI2: Implemented kListEachElementDo (a more advanced version of SciGuiAnimate:invoke()) and kListAt. Now, the Sierra logo music can be heard, and game logic is running on objects of the animated views list
svn-id: r46591
2009-12-26 15:47:57 +00:00
Filippos Karapetis 71f6fede60 Removed the file and line parameters from the selector handling functions
svn-id: r46588
2009-12-26 14:58:23 +00:00
Florian Kagerer 193b23bcad LOL: fixed minor bug in lamp code
svn-id: r46587
2009-12-26 14:12:38 +00:00
Oystein Eftevaag 657b881c4e Updated xcode project
svn-id: r46586
2009-12-26 14:03:13 +00:00
Filippos Karapetis 4f02900890 Kernel function 0x26 is empty in SCI1.1 games, and it has been set to kPortrait in KQ6CD only
svn-id: r46585
2009-12-26 13:53:59 +00:00
Filippos Karapetis 0de0abb5d3 Case kSciAudioLanguage in kDoAudio always checks for audio capability in SCI1.1 games, regardless of parameters. Fixes a warning in SQ4CD
svn-id: r46584
2009-12-26 13:50:52 +00:00
Oystein Eftevaag 925c1744ec Committing the actual new browser_osx.mm file, oops
svn-id: r46583
2009-12-26 13:48:14 +00:00
Oystein Eftevaag 9d70103d9c The file selection dialog in OS X now uses Cocoa instead of Carbon, and lives in a separate file due to having to be compiled as Objective-C++. ScummVM can now run in x64 natively on OS X
svn-id: r46581
2009-12-26 13:35:57 +00:00
Filippos Karapetis 21c6bbc588 Fixed graphics functions detection in an old version of SQ3 - my initial thought to rely on the presence of the shiftParser selector was wrong
svn-id: r46580
2009-12-26 13:35:17 +00:00
Filippos Karapetis d39ac80f4a Hopefully fixed the freezes/deadlocks in the new music code (e.g. in LSL5 and Castle of Dr. Brain)
svn-id: r46579
2009-12-26 13:20:07 +00:00
Filippos Karapetis c6a8d0e973 - Made the music playlist private
- Removed some leaks
- Fixed the destruction of the music playlist
- Made mutexes more sane
- Removed some dead code
- Cleanup

svn-id: r46578
2009-12-26 11:54:57 +00:00
Filippos Karapetis 8940a1f537 Restored the mutexes in onTimer, and removed them from soundKill - fixes the freeze in LSL5 intro
svn-id: r46577
2009-12-26 10:50:05 +00:00
Johannes Schickel bc0da4dce8 Change teenagent engine to use CursorMan instead of using OSystem directly.
svn-id: r46576
2009-12-26 10:43:37 +00:00
Martin Kiewitz c78c10b9ee SCI/newmusic: Removed mutex from onTimer, fixes freeze in sci1 games
svn-id: r46575
2009-12-26 10:20:57 +00:00
Max Horn ddce48ed03 Remove x86 ASM version of sykcpt code, just use the generic code everywhere
svn-id: r46574
2009-12-26 01:38:57 +00:00
Max Horn 6c0dc96fd3 Tweak and rename skycpt ReadMe.txt -> README
svn-id: r46573
2009-12-26 01:37:31 +00:00
Max Horn 4807dbdb28 Remove obsolete skycpt Makefile
svn-id: r46572
2009-12-26 01:37:09 +00:00
Filippos Karapetis ab2a5429f5 Set the save game directory to something in pre-SCI32 games, as games like SQ4CD complain that it's invalid if it's empty
svn-id: r46570
2009-12-26 01:20:12 +00:00
Filippos Karapetis 12b6d4ab03 Some more work on the new music code
svn-id: r46569
2009-12-26 00:50:09 +00:00
Filippos Karapetis a88e4df7a0 SCI/new music code: Fixed a bug where music was stopped when saving. Some cleanup
svn-id: r46568
2009-12-26 00:22:21 +00:00
Martin Kiewitz 46eb68090c SCI/newmusic: Added comments about sound resource headers
svn-id: r46567
2009-12-25 22:58:45 +00:00
Martin Kiewitz 4dbb9c0806 SCI: implemented command 0x80 (stopnote) for amiga music driver
svn-id: r46566
2009-12-25 22:14:41 +00:00
Matthew Hoops ff00963a8b Silence a bunch of gcc warnings (and Merry Christmas, if you celebrate).
svn-id: r46565
2009-12-25 21:54:31 +00:00
Martin Kiewitz 9255d43a16 SCI/newmusic: Change to channel filtering for sci0early to reflect actual sierra driver behaviour
svn-id: r46564
2009-12-25 21:51:02 +00:00
Martin Kiewitz 2f5f625b98 SCI/newmusic: added filter support for kq4early and adlib
svn-id: r46563
2009-12-25 18:59:15 +00:00
Eugene Sandulenko f9754ca68b Remove extra debug output which sneaked in.
svn-id: r46562
2009-12-25 18:37:07 +00:00
Martin Kiewitz c2f17f9bb9 SCI/newmusic: support for early sound resource format, early kq4 version now gets music, is not filtered yet
svn-id: r46561
2009-12-25 18:25:15 +00:00
Filippos Karapetis 113c0941ae - Introduced a new version in the sound version detection routine, as SCI0 early games had different sound than SCI0 late ones
- Changed sound-related debug output from printf's into debugC calls

svn-id: r46560
2009-12-25 18:15:16 +00:00
Martin Kiewitz 16eff8660d SCI/newmusic: Adlib driver / added comment that sierra adlib driver did not support aftertouch
svn-id: r46559
2009-12-25 16:29:16 +00:00
Filippos Karapetis 86701f4019 Added a stub for signal 0xA0 (polyphonic key pressure - aftertouch)
svn-id: r46558
2009-12-25 16:20:40 +00:00
Filippos Karapetis 09081ce128 Ignore internal SysEx events in the Adlib player
svn-id: r46557
2009-12-25 15:58:18 +00:00
Filippos Karapetis 924c950ed4 Added mutexes in music functions
svn-id: r46556
2009-12-25 15:44:25 +00:00
Filippos Karapetis 586ec94df9 Adjusted volume clipping
svn-id: r46555
2009-12-25 15:24:35 +00:00
Filippos Karapetis ec5c42e1f3 Limit volume range to 0 - 255
svn-id: r46554
2009-12-25 14:02:28 +00:00
Martin Kiewitz c03e7c8586 SCI/newmusic: find slot again after destroying it fixes kq6cd, lb2cd, added debug output
svn-id: r46553
2009-12-25 13:52:40 +00:00
Filippos Karapetis f5567d4605 Fixed variable capitalization
svn-id: r46552
2009-12-25 13:37:55 +00:00
Johannes Schickel 6223450781 Fix compilation.
svn-id: r46551
2009-12-25 13:26:13 +00:00
Filippos Karapetis a5bb030b6e Properly initialize the audio stream part of each music slot when loading
svn-id: r46550
2009-12-25 13:26:09 +00:00
Filippos Karapetis 809e8c9123 SCI/new music code: Some initial code for saving/loading the sound state
svn-id: r46549
2009-12-25 13:18:48 +00:00
Martin Kiewitz 5989195d84 SCI/newmusic: _signalSet, _signalToSet init, debug output added for signals
svn-id: r46548
2009-12-25 13:17:30 +00:00
Martin Kiewitz 55f55a1444 SCI/newmusic: ignore vol selector for games prior sci1late, fixes amiga music in sq3
svn-id: r46547
2009-12-25 13:13:42 +00:00
Filippos Karapetis 8cd9b3bd76 Another readability change
svn-id: r46546
2009-12-25 11:08:12 +00:00
Filippos Karapetis 16e548f67d Slight code readability cleanup
svn-id: r46545
2009-12-25 10:06:59 +00:00
Martin Kiewitz 02f23a6113 SCI/newmusic: Filter was processing one byte too much
svn-id: r46544
2009-12-25 08:00:51 +00:00