Commit Graph

98 Commits

Author SHA1 Message Date
Joost Peters
a0824205af some DW2 endian fixes
svn-id: r36058
2009-01-25 11:02:34 +00:00
Willem Jan Palenstijn
a8ae95cc10 fixing #2531282: don't fall back to a real audio CD when playing enhanced midi tracks
svn-id: r36030
2009-01-24 01:29:52 +00:00
Filippos Karapetis
71421c9966 Mention that kSupportsRTL is problematic in tinsel
svn-id: r35969
2009-01-20 23:50:07 +00:00
Filippos Karapetis
cb8ffaf3a9 Implemented loading from the command line and the GMM for tinsel (kSupportsLoadingDuringStartup)
svn-id: r35958
2009-01-20 17:30:23 +00:00
Max Horn
c77ecdc050 Fix another warning
svn-id: r35934
2009-01-20 02:56:32 +00:00
Filippos Karapetis
85d4063000 Some WIP code for the kSupportsLoadingDuringStartup engine feature
svn-id: r35932
2009-01-20 00:33:26 +00:00
Filippos Karapetis
c56faf3216 Since users need to rename the sound and index files in DW2, throw nice GUI error messages when these files are not found before dying with an error
svn-id: r35886
2009-01-17 22:29:55 +00:00
Filippos Karapetis
f79007d6cf Fix for non-looped tracks of the music enhancement project. Also, got rid of the dwMidiIndex variable
svn-id: r35862
2009-01-14 13:55:36 +00:00
Filippos Karapetis
e1f8088328 Don't call _mixer->stopAll() when changing scenes, as this stops the enhanced audio tracks as well. Sounds are stopped by stopAllSamples()
svn-id: r35839
2009-01-12 15:51:11 +00:00
Filippos Karapetis
3f8ca778d0 Cleanup
svn-id: r35838
2009-01-12 15:41:37 +00:00
Filippos Karapetis
1a7aeec4d9 Imitate the way the original game is playing MIDI tracks when playing enhanced ones
svn-id: r35837
2009-01-12 15:31:50 +00:00
Filippos Karapetis
8911d34542 Added support for the Discworld 1 Music Enhancement project. Big thanks to James Woodcock for his work on both versions of the game (the *.GRA and *.SCN version)
svn-id: r35836
2009-01-12 14:56:29 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Paul Gilbert
6187ec38fb Added extra endian conversion. This may fix bug #2462700
svn-id: r35566
2008-12-27 04:11:28 +00:00
Joost Peters
e98f573688 add comment for clarification
svn-id: r35528
2008-12-24 16:13:09 +00:00
Joost Peters
85bfce72d3 on systems that need alignment, allocate chunks that are a multiple of 4 to ensure we get aligned chunks.
Otherwise, some pNode structs will be dereferenced from unaligned addresses.

svn-id: r35527
2008-12-24 16:10:55 +00:00
Joost Peters
a93cf38f0b change PPINIT's bools to uint8 to fix crash on OSX (see revision 33285 - must've been accidentally undone by the
DW2 merge) 

svn-id: r35508
2008-12-23 21:17:04 +00:00
Joost Peters
1b33233e86 endian fixes
svn-id: r35506
2008-12-23 20:20:30 +00:00
Filippos Karapetis
94b914b0cb Reduced the memory allocated for DW1 and DW1 demo by 5MB
svn-id: r35464
2008-12-21 12:30:30 +00:00
Johannes Schickel
cba892a61b Disable loading from command line again, it seems it only worked for saves, which did a cd change in DW2 and I only tested those by chance.
svn-id: r35456
2008-12-21 00:48:23 +00:00
Johannes Schickel
f3f93da8b8 - Added comment about error check when loading save on startup
- Updated code to properly test the last three digits of save filenames instead of only the last two

svn-id: r35455
2008-12-20 23:15:46 +00:00
Johannes Schickel
c3041ad99b Implemented support for loading saves from launcher / via command line.
svn-id: r35454
2008-12-20 23:11:56 +00:00
Johannes Schickel
34368e5650 Fixed loading Discworld 2 savegames from GMM.
svn-id: r35453
2008-12-20 23:08:37 +00:00
Willem Jan Palenstijn
dcc81b07e5 move necessary code outside of assert
svn-id: r35414
2008-12-17 19:25:54 +00:00
Travis Howell
98bbf9c417 Add target for CD demo of Discworld 1.
svn-id: r35405
2008-12-16 23:07:16 +00:00
Paul Gilbert
116980367a Removed the comment about the DW1 Demo not being supported
svn-id: r35356
2008-12-14 04:39:25 +00:00
Paul Gilbert
4d79c4c9b6 Minor bugfix to string display in DW1 demo
svn-id: r35354
2008-12-14 04:24:41 +00:00
Paul Gilbert
303d463a50 Workaround to correctly return control to the player in the DW1 Demo after using the prunes
svn-id: r35334
2008-12-13 11:18:28 +00:00
Paul Gilbert
5f9bbd3444 Bugfixes for text display and animations in DW1 demo
svn-id: r35333
2008-12-13 10:24:28 +00:00
Paul Gilbert
48f5e51c77 Added handling for record differences in the hotspot/polygon format in DW1 Demo
svn-id: r35331
2008-12-13 08:40:04 +00:00
Sven Hesse
052e83cd24 Okay, removing my implementation of AppandableAudioStream::getTotalPlayTime (I've apparently misunderstood its intent) and using Mixer::getSoundElapsedTime() instead
svn-id: r35317
2008-12-12 17:12:05 +00:00
Filippos Karapetis
cbdb105d8e - Save games are now listed from oldest to newest in the GMM load dialog for tinsel games, like in other engines
- Added some disabled code for saving through the GMM (still incomplete)

svn-id: r35316
2008-12-12 15:48:38 +00:00
Johannes Schickel
443158fd89 Cleanup. (Removed define and checks for USE_3FLAGS/USE_4FLAGS/USE_5FLAGS)
svn-id: r35306
2008-12-11 18:38:15 +00:00
Johannes Schickel
9a3a04f6dd Added a HACK/FIXME to prevent tinsel games from crashing, when for example the music volume is set to 256 via the launcher.
svn-id: r35301
2008-12-11 13:43:52 +00:00
Johannes Schickel
7c05e9e723 Fix for bug #2412503 "DW1: Subtitle menu not working (Multi-language version)".
svn-id: r35300
2008-12-11 13:32:50 +00:00
Max Horn
cabfbb4903 Removed some dead code, clarified comments, cleanup
svn-id: r35293
2008-12-09 19:54:01 +00:00
Lars Persson
1eefecffa4 Quickfix for tinlib compilation error. Changed type on zOverride from type int to int32 (signed int that is) to fit the SetMoverZ function and for valid comparison of zOveride != -1.
svn-id: r35286
2008-12-08 21:11:19 +00:00
Paul Gilbert
87a0976185 Added code differences for DW1 demo to allow the first game screen to start
svn-id: r35268
2008-12-07 07:44:52 +00:00
Paul Gilbert
e625bd54de Implemented the Tinsel v0 WrtNonZero graphics renderer
svn-id: r35258
2008-12-06 11:36:15 +00:00
Paul Gilbert
b697026ae0 Library routine and interpreter fixes for the DW1 demo
svn-id: r35257
2008-12-06 11:35:31 +00:00
Paul Gilbert
7a49843047 Beginning of support for DW1 Demo - Interpret has been changed to support opcode differences, and CallLibraryRoutine has a new mapping list of routines
svn-id: r35252
2008-12-06 02:07:30 +00:00
Paul Gilbert
bfd32c9516 Bugfix for correctly leaving from looking at the Rite of AshkEnte scroll
svn-id: r35248
2008-12-05 10:18:39 +00:00
Sven Hesse
faf8059cac This should make the US version work
svn-id: r35243
2008-12-04 19:42:42 +00:00
Sven Hesse
d01e9b6785 Correcting the language for GRB/USA
svn-id: r35242
2008-12-04 19:24:25 +00:00
Filippos Karapetis
8d0ef7a05d The "sound" debug command now works correctly in DW2
svn-id: r35225
2008-12-03 21:47:31 +00:00
Filippos Karapetis
d8e656a217 - Added back the English V1 CD version of DW1 (with *.gra files)
- Added the US version of DW2
- Added placeholders for the Hebrew, Hungarian and Japanese versions of DW2 (not sure if they're correct)

svn-id: r35222
2008-12-03 18:54:22 +00:00
Jordi Vilalta Prat
d34865d054 DW2: Add support for the Italian/Spanish release
svn-id: r35211
2008-12-02 22:22:23 +00:00
Filippos Karapetis
3669360043 Added detection for the French version of DW2, as described in the forums
svn-id: r35210
2008-12-02 22:16:44 +00:00
Filippos Karapetis
5bfb248301 - Set the maximum number of save games in DW1 and DW2 to 100, up from 30
- It's now possible to load and delete save games using the GMM (although not through the launcher screen yet)

svn-id: r35207
2008-12-02 18:34:32 +00:00
Johannes Schickel
702b7be594 Should fix compilation on BE machines.
svn-id: r35206
2008-12-02 17:53:58 +00:00