Commit Graph

118 Commits

Author SHA1 Message Date
Joost Peters
6c1b9b6d95 Fix #2614150 - DW2: Repeating SFX that should stop/pause don't
svn-id: r38552
2009-02-19 17:40:13 +00:00
Joost Peters
7adf721492 Proper endianness handling in MatchingLevels().
Fixes #2603000 "DW2: Long pause entering Shades (big endian)"

svn-id: r38316
2009-02-15 22:25:34 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Joost Peters
25b7a42547 Handle endianness difference in RestoreActorReels() -- fixes bug 2569407 - DW2: Big Endian crash on loading saved game
svn-id: r36245
2009-02-07 12:55:39 +00:00
Joost Peters
627241de85 correct endianness in SetActorRGB()
svn-id: r36220
2009-02-04 22:05:57 +00:00
Joost Peters
fdce2ea425 Fix palette on big endian
svn-id: r36219
2009-02-04 20:55:15 +00:00
Joost Peters
b89031b8d2 DW2/Tinsel2 endian fixes. Apart from some palette glitches the game is playable now.
svn-id: r36218
2009-02-04 19:52:00 +00:00
Joost Peters
9de91ecdea DW2 endian fixes
svn-id: r36216
2009-02-04 17:08:04 +00:00
Joost Peters
8be011c770 endian fix
svn-id: r36214
2009-02-04 16:08:32 +00:00
Max Horn
f969404ff5 Fixed warning about implicit signed -> unsigned integer conversion
svn-id: r36200
2009-02-02 18:32:36 +00:00
Joost Peters
c59cff9bf3 endian safety
svn-id: r36199
2009-02-02 15:40:11 +00:00
Joost Peters
427e1471e7 t2PlayReel() endian fixes
svn-id: r36198
2009-02-02 14:54:08 +00:00
Joost Peters
1bd7520e12 more endian fixes
svn-id: r36197
2009-02-02 12:36:41 +00:00
Joost Peters
00e5b84f9f endian fix
svn-id: r36196
2009-02-01 23:06:35 +00:00
Max Horn
7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Torbjörn Andersson
b866cf5d22 Silence GCC warning.
svn-id: r36122
2009-01-28 21:11:18 +00:00
Max Horn
c08cc29b96 cleanup
svn-id: r36084
2009-01-27 00:41:41 +00:00
Torbjörn Andersson
0a7b4fd146 Fixed warning.
svn-id: r36059
2009-01-25 11:15:30 +00:00
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