Commit Graph

31357 Commits

Author SHA1 Message Date
Max Horn
32975b25f4 SCI: cleanup
svn-id: r40959
2009-05-28 11:15:09 +00:00
Max Horn
d70504c910 SCI: Renamed sfx_state_t -> SfxState, preparing it to become a class eventually
svn-id: r40958
2009-05-28 10:54:30 +00:00
Max Horn
e23e1ffcb7 Added Audio::Timestamp::addMsecs method
svn-id: r40957
2009-05-28 10:29:25 +00:00
Max Horn
01252c4aaf SCI: Some SFX player cleanup
svn-id: r40956
2009-05-28 10:29:11 +00:00
Max Horn
78b3c80b11 SCI: Turned vocab_version into a static var, and added several FIXMEs related to it (either vocab_version needs to become a member of EngineState/SciEngine, or we need to derive its value e.g. from the game version/flags, if that's possible)
svn-id: r40955
2009-05-28 10:28:51 +00:00
Paul Gilbert
f0e69a7d0b Replaced the original implementation of walk box handling with a cleaner, structure array based one
svn-id: r40954
2009-05-28 08:49:56 +00:00
Paul Gilbert
6ca62c0581 Added new files to the MSVC Kyra project
svn-id: r40953
2009-05-28 08:36:27 +00:00
Willem Jan Palenstijn
0b8412bcfe SCI: Make standard EGA palette a part of gfx_sci0_pic_colors.
This fixes regressions in at least SQ3 and Iceman from r40870

svn-id: r40952
2009-05-27 22:41:14 +00:00
Walter van Niftrik
1dde062e2a SCI: Fix crash in seginfo debug command.
svn-id: r40951
2009-05-27 21:25:45 +00:00
Andre Heider
d89f5cc9b9 Changes for the latest libfat update.
svn-id: r40950
2009-05-27 18:47:53 +00:00
Filippos Karapetis
4717533dea Added a fix to get QFG3 working and changed an error to a warning to get EcoQuest 2 working
svn-id: r40944
2009-05-27 17:13:42 +00:00
Filippos Karapetis
c75bdbc8e9 - SQ5 floppy starts now
- Added a new console command, "room", which shows the current room

svn-id: r40943
2009-05-27 16:45:42 +00:00
Filippos Karapetis
9fd5611fe4 Mention that RtZ, LGoP2, Manhole and Rodney are supported
svn-id: r40942
2009-05-27 15:12:53 +00:00
Johannes Schickel
a378f4543e Mention KYRA PC Speaker support.
svn-id: r40941
2009-05-27 14:55:59 +00:00
Johannes Schickel
ac6c99eff0 Prevent accidental MT-32 initialization for PC speaker output, when "native_mt32" is set to true.
svn-id: r40940
2009-05-27 14:44:26 +00:00
Johannes Schickel
2bcf5c0552 - Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup

svn-id: r40939
2009-05-27 14:40:37 +00:00
Filippos Karapetis
e0a0593949 Fixed a typo, and added parentheses to clarify order
svn-id: r40938
2009-05-27 12:46:11 +00:00
Fabio Battaglia
c0d13da750 sword2: base psx demo detection on screens.clu, and let the user decide between full and demo version at the time of adding the game
svn-id: r40937
2009-05-27 09:52:32 +00:00
Filippos Karapetis
4dccd309e2 - Renamed the Audio commands to kSci*, from kSci1* (since they're pretty much the same for SCI1.1)
- Added enums for the audio sync cases
- Added a warning when kDoSync is called with the new semantics (SQ4CD or newer)

svn-id: r40936
2009-05-27 09:07:08 +00:00
Filippos Karapetis
16078599fb Added a warning when kDoAudio is called with the new semantics (SQ4CD or newer) and fixed the detection entry for SQ4CD
svn-id: r40935
2009-05-27 08:48:57 +00:00
Johannes Schickel
cd35616b84 Typo.
svn-id: r40933
2009-05-27 02:25:47 +00:00
Johannes Schickel
33de8c9a5f Add include guard.
svn-id: r40932
2009-05-27 00:34:31 +00:00
Walter van Niftrik
e3178daf13 SCI: Cleanup.
svn-id: r40931
2009-05-27 00:24:32 +00:00
Walter van Niftrik
fd191a4920 SCI: Changed signatures of StrLen and StrCpy to allow NULL pointers. This is
needed for a game bug in KQ6CD.

svn-id: r40930
2009-05-26 23:34:57 +00:00
Arnaud Boutonné
da96ab639e Gob - Add detection strings for Lost In Time (Hebrew), Fascination (3 disks, Hebrew), Geisha (alternative EN version), Goblins 3 (Hebrew)
svn-id: r40925
2009-05-26 20:30:16 +00:00
Filippos Karapetis
c6ba88c00a Fixed regression in Longbow
svn-id: r40924
2009-05-26 19:16:24 +00:00
Filippos Karapetis
d111e33df4 Fixed regression of commit #40904, which caused the audio in KQ5CD to be played incorrectly
svn-id: r40923
2009-05-26 19:12:09 +00:00
Filippos Karapetis
3e29b47ec3 Fixed a crash when exiting, a regression from the latest music driver changes
svn-id: r40922
2009-05-26 19:05:20 +00:00
Max Horn
50157fbca9 SCI: Undo commit #40917 (SongIteratorChannel::resetSynthChannels now again does something)
svn-id: r40921
2009-05-26 15:46:54 +00:00
Max Horn
099a29b6bf SCI: Added 'opcodes' command to the debugger; fixed output wrapping in the selectors & kernelnames debugger commands
svn-id: r40919
2009-05-26 15:06:21 +00:00
Filippos Karapetis
ae480e2903 Updated the MSVC project files of the SCI engine
svn-id: r40918
2009-05-26 15:01:52 +00:00
Filippos Karapetis
d8c1725fbd Fixed compilation under MSVC
svn-id: r40917
2009-05-26 14:59:41 +00:00
Filippos Karapetis
dfdc239d1f Silenced MSVC warning
svn-id: r40916
2009-05-26 14:54:24 +00:00
Max Horn
c96cf97ea7 SCI: Merged vocab_debug.cpp into vocabulary.cpp; cleanup
svn-id: r40915
2009-05-26 14:44:14 +00:00
Max Horn
1e2c539e42 SCI: Removing obsolete soft sequencer files
svn-id: r40914
2009-05-26 14:43:47 +00:00
Max Horn
7050c5065f SCI: removed realtime and polled player, as well as the sfx/device dir, after discussion with Walter
svn-id: r40913
2009-05-26 14:09:07 +00:00
Max Horn
1d00cc5df0 SCI: Turned sfx_player_t into a class SfxPlayer, and converted the existing players to subclasses of that
svn-id: r40912
2009-05-26 11:49:10 +00:00
Max Horn
c5539b4e4e SCI: Preparing to transform sfx_player_t into a class
svn-id: r40911
2009-05-26 11:35:35 +00:00
Max Horn
7fbbaff990 SCI: Turned the global 'static MessageState state' variable into a member of EngineState
svn-id: r40910
2009-05-26 11:33:18 +00:00
Max Horn
1c552779a0 Renamed Common::Serializer::syncMagic to matchBytes, and added version paarms to it (we migh want to add corresponding matchUint32LE etc. functions if needed)
svn-id: r40909
2009-05-26 11:31:45 +00:00
Max Horn
7d5f3e1714 Turned some static tables into static const tables; added some FIXME comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines)
svn-id: r40908
2009-05-26 11:30:21 +00:00
Max Horn
94dfc8f638 Fixed a bug in Common::Array (including a unit test for it), and changed the way the internal storage growth over time.
The bug could result in incorrect results when using push_back (or insert_at)
to insert data from an array into itself if this insertions would cause the
internal array storage to grow. Also added a unit test for this bug.

Furthermore, if the internal storage needs to grow, it will now be resized to the next power of two,
instead of being increased by 32.

svn-id: r40907
2009-05-26 11:28:38 +00:00
Filippos Karapetis
ae378632cd Added brief information about the create_drascula tool
svn-id: r40906
2009-05-26 10:14:24 +00:00
Johannes Schickel
4d66b55316 Fix g++ warning.
svn-id: r40905
2009-05-26 10:10:45 +00:00
Filippos Karapetis
780899fb0e Rewrote the Audio stream parser. The introduction of KQ6 should work more correctly now (apart from Cassima's speech)
svn-id: r40904
2009-05-26 10:02:25 +00:00
Paul Gilbert
9900cbcb70 Added a brief note about the create_lure tool
svn-id: r40903
2009-05-26 09:35:53 +00:00
Johannes Schickel
7f57c2f2c0 Add some initial documentation for create_kyradat.
svn-id: r40902
2009-05-26 08:55:23 +00:00
Fabio Battaglia
6fd48c3354 tinsel: add default paths needed by Discworld PSX, now the user shouldn't need to move files around
svn-id: r40901
2009-05-26 08:41:25 +00:00
Filippos Karapetis
5e94e688e9 Reserve some space in the Huffman tree arrays before starting to decode the Huffman trees. Hopefully, this will speed up the tree constructing phase somewhat
svn-id: r40900
2009-05-26 07:25:12 +00:00
Travis Howell
4cc2d06b15 Fix bug #2687801 - ZAK: Cannot pickup Ladder on Mars Youth Hostel.
svn-id: r40899
2009-05-26 01:25:44 +00:00