Commit Graph

36959 Commits

Author SHA1 Message Date
Johannes Schickel
6312b690de Fix bug in RawStream::getLength for 16bit streams. (Uncovered by our new unit tests yay!)
svn-id: r47859
2010-02-03 15:45:54 +00:00
Johannes Schickel
2cb82808eb Add unit test for RawStream::getLength.
svn-id: r47858
2010-02-03 15:45:29 +00:00
Johannes Schickel
e9f831c1da Some additional tests of RawStream::readBuffer.
svn-id: r47857
2010-02-03 15:45:08 +00:00
Johannes Schickel
274f6e5033 Add test for rewind functionality of RawStream.
svn-id: r47856
2010-02-03 15:44:43 +00:00
Johannes Schickel
6b2e9be345 Add tests for unsigned sample data for RawStream.
svn-id: r47855
2010-02-03 15:25:06 +00:00
Johannes Schickel
a5e4741775 Less noisy output in case something goes wrong.
svn-id: r47854
2010-02-03 15:24:44 +00:00
Johannes Schickel
c0f5a5d2d9 Test both BE and LE 16bit samples.
svn-id: r47853
2010-02-03 15:24:24 +00:00
Johannes Schickel
ba5e2b3362 Cleanup.
svn-id: r47852
2010-02-03 15:24:03 +00:00
Arnaud Boutonné
b6a824f48f Fascination - Cleanup: suppress some noisy debug output, suppress some obsolete and commented code.
svn-id: r47851
2010-02-03 12:57:47 +00:00
Filippos Karapetis
2fb37063a4 Placed all the game feature detection code in a separate class
svn-id: r47850
2010-02-03 11:02:43 +00:00
Johannes Schickel
baf6b53431 Add some (lame) first version of RawStream unit tests. Currently all it does it, checking, whether readBuffer works for 8bit and 16bit samples.
svn-id: r47849
2010-02-03 10:36:14 +00:00
Johannes Schickel
d32dfa3bb3 Make makeMP3Stream return 0 on failure too.
svn-id: r47848
2010-02-03 09:47:29 +00:00
Johannes Schickel
8ae24a27b3 Yet more Flac -> FLAC changes for consistency.
svn-id: r47847
2010-02-03 09:42:40 +00:00
Johannes Schickel
fe35d372da - Rename FlacStream to FLACStream.
- Rename makeFlacStream to makeFLACStream.

svn-id: r47846
2010-02-03 09:42:11 +00:00
Sven Hesse
9cad13957d Implementing saving/loading for Fascination. Tested in the DOS floppy versions and the Amiga version
svn-id: r47845
2010-02-03 09:32:16 +00:00
Johannes Schickel
e7d5849ac8 Rename RawAudioStream to RawStream for consistency.
svn-id: r47844
2010-02-03 09:19:16 +00:00
Johannes Schickel
286786b6af Cleanup.
svn-id: r47843
2010-02-03 09:11:55 +00:00
Johannes Schickel
9c1a42f9f5 Rename:
- FlacInputStream -> FlacStream
 - VorbisInputStream -> VorbisStream
 - MP3InputStream -> MP3Stream

svn-id: r47842
2010-02-03 08:59:10 +00:00
Johannes Schickel
c040eeca44 - Return 0 in makeVorbisStream and makeFlacStream, in case creating the stream failed.
- Add a TODO in the MP3 code for the same behavior.

svn-id: r47841
2010-02-03 08:58:52 +00:00
Sven Hesse
5115c94f35 Only show that annoying checkmouse warning for Fascination
svn-id: r47840
2010-02-03 03:26:28 +00:00
Sven Hesse
d4949d03d4 Minor style-related changes
svn-id: r47839
2010-02-03 03:25:50 +00:00
Filippos Karapetis
887ca3145e Initial implementation of text drawing for SCI2 (it's a hack for now, done the "SCI0-SCI11" way, and text splitting is wrong...)
svn-id: r47838
2010-02-03 01:36:53 +00:00
Max Horn
09046947d4 SCI: Make add_exec_stack_entry & add_exec_stack_varselector static / private
svn-id: r47837
2010-02-03 01:34:39 +00:00
Max Horn
bca7c6eef3 SCI: Move more stuff around
svn-id: r47836
2010-02-03 01:34:15 +00:00
Max Horn
bec3a0d539 cleanup
svn-id: r47835
2010-02-03 01:33:48 +00:00
Max Horn
4ecaf4d4ac SCI: restoring param of run_vm is a bool, not an int
svn-id: r47834
2010-02-03 01:33:23 +00:00
Max Horn
bb5e34a014 SCI: Get rid of EngineState::stack_segment
svn-id: r47833
2010-02-03 01:32:59 +00:00
Max Horn
b2d69649f7 SCI: Rearrange members of class EngineState
svn-id: r47832
2010-02-03 01:32:27 +00:00
Max Horn
81f7a55e8c SCI: Renamed Console::_vm to _engine
svn-id: r47831
2010-02-03 01:32:03 +00:00
Arnaud Boutonné
ac6e9e07a3 Fascination - Fix screen transition
svn-id: r47830
2010-02-03 00:51:09 +00:00
Arnaud Boutonné
86aa70ec4b Fascination - comment calls to getWindow() in checkMouse(). I think getWindow() is wrong, and to be replaced with my new check. The first window reacts !
svn-id: r47829
2010-02-02 23:45:14 +00:00
Arnaud Boutonné
f072709f25 Fascination - Add a window specific function, modify checkmouse() function in order to use it (without breaking the other games). Windows are no longer "transparent"
svn-id: r47828
2010-02-02 23:39:19 +00:00
Arnaud Boutonné
4b063230b7 Fascination - Add a define to enable/disable MDY player, as it currently generates more warnings than sounds
svn-id: r47827
2010-02-02 23:35:08 +00:00
Arnaud Boutonné
48c023cd5b Fascination - Fix one wrong wait time
svn-id: r47826
2010-02-02 23:33:10 +00:00
Max Horn
2c25dab0e7 SCI: cleanup
svn-id: r47825
2010-02-02 22:53:33 +00:00
Max Horn
4b19acf255 SCI: Use Common::List and Common::String to simplify breakpoint handling (untested)
svn-id: r47824
2010-02-02 22:52:41 +00:00
Max Horn
6c322506dd SCI: Move some code around (no code changes)
svn-id: r47823
2010-02-02 22:50:32 +00:00
Matthew Hoops
5d80990380 Fix compile without SCI32
svn-id: r47822
2010-02-02 22:31:32 +00:00
Vladimir Menshakov
21bb78b677 fixed actor glitch
svn-id: r47821
2010-02-02 21:47:51 +00:00
Matthew Hoops
66b326d3e8 Add support in kString(Cpy) for copying to system strings. Also, stubbing kFileIO(19) to allow Torin to see the main menu. Some minor cleanup.
svn-id: r47820
2010-02-02 19:45:22 +00:00
Matthew Hoops
35d2f48fc1 Use MIDI by default for SCI32. Fixes the GK2 demo.
svn-id: r47819
2010-02-02 19:39:02 +00:00
Filippos Karapetis
af6648fbb0 Try to make drmccoy happy again (is that even possible? :P )
svn-id: r47818
2010-02-02 17:33:52 +00:00
Filippos Karapetis
50e6b0283f Silenced warning
svn-id: r47817
2010-02-02 17:21:11 +00:00
Filippos Karapetis
e321654dcd Added a stub for kCreateTextBitmap, which shows the text that should be drawn on screen
svn-id: r47816
2010-02-02 17:20:21 +00:00
Martin Kiewitz
6b26f76f70 SCI: frameout ignoring 0xFFFE for picture id as well (must be some other magic value)
svn-id: r47815
2010-02-02 16:29:14 +00:00
Martin Kiewitz
714665f9d9 SCI: some sort of priority support for sci32 (not working right, but at least the menu in gk1 now correctly shows up)
svn-id: r47814
2010-02-02 16:25:35 +00:00
Martin Kiewitz
b0208e7306 SCI: moving structs/enums from helpers to animate/controls
svn-id: r47813
2010-02-02 14:41:17 +00:00
Jordi Vilalta Prat
448ef35fe1 Install the plugins from the current directory (the build one), not from the source directory
svn-id: r47812
2010-02-02 13:02:08 +00:00
Jordi Vilalta Prat
0d464397a6 Remove what looks like reminders of debug output in the configure script
svn-id: r47811
2010-02-02 11:48:28 +00:00
Jordi Vilalta Prat
7f4a1d7d90 Sort several lists alphabetically in the configure script
svn-id: r47810
2010-02-02 11:46:35 +00:00