Commit Graph

432 Commits

Author SHA1 Message Date
Paul Gilbert
08f1f2c3d3 Bugfix for Use actions to work correctly
svn-id: r29891
2007-12-16 22:41:51 +00:00
Torbjörn Andersson
25103d11e2 Removed unused variable.
svn-id: r29885
2007-12-16 20:20:09 +00:00
Kostas Nakos
b5ab73075c adding clickable menu functionality, which is very good to have on devices with fixed/cumbersome/synthesized left and right click events (wince, palmos, ...)
svn-id: r29883
2007-12-16 20:07:01 +00:00
Kostas Nakos
e861cf567d use the virtual keyboard facilities if available, when needed
svn-id: r29882
2007-12-16 20:01:41 +00:00
Torbjörn Andersson
943ab421a4 The _nativeMT32 in MidiMusic was never initialised. Rather than storing it in
two different classes, use the value in SoundManager instead. As a consequence
the engine now remaps the instruments from MT-32 to General MIDI for me, since
isRoland() is true and hasNativeMT32() is false. Earlier, it didn't since the
uninitialised _nativeMT32 happened to be true for me.

svn-id: r29878
2007-12-16 14:46:48 +00:00
Torbjörn Andersson
0b74448ded An element was missing in the initialisation of sounds during the endgame
sequence. It seems to correspond to the original's end_seq_data, so this should
be the correct value. I hope.

svn-id: r29877
2007-12-16 13:28:00 +00:00
Paul Gilbert
aa96ec9940 Bugfix for walking to hotspots - if the mouse was already highlighting the hotspot when a room was entered, clicking on it would cause the player to walk to an arbitrary exit
svn-id: r29875
2007-12-16 09:36:07 +00:00
Paul Gilbert
11cebee5e3 Tweaked the delay for several of the introduction message screens
svn-id: r29874
2007-12-16 08:20:35 +00:00
Paul Gilbert
706e779236 Hooked up the sound code to use the configuration for sfx and music, and added code from the original game that used the high bit of sounds to distinguish between the two
svn-id: r29873
2007-12-16 08:19:56 +00:00
Paul Gilbert
02beb045c5 Added a debugger method to show a specified entry in the string table
svn-id: r29872
2007-12-16 08:14:14 +00:00
Paul Gilbert
258bd20a83 Changed interruptableDelay method to not break when a modifier key is pressed
svn-id: r29871
2007-12-16 08:11:52 +00:00
Paul Gilbert
2a8166dde5 Changed delay method to not break when a modifier key is pressed
svn-id: r29870
2007-12-16 08:10:47 +00:00
Paul Gilbert
a9ced688bc Bugfix for followers doing an Ask action in another room
svn-id: r29869
2007-12-16 03:47:24 +00:00
Paul Gilbert
69b1c7b4dd Dynamic fix for several incorrect accented characters in the Italian version
svn-id: r29836
2007-12-12 09:45:51 +00:00
Paul Gilbert
c6871d145e Bugfix to return correct article indexes
svn-id: r29835
2007-12-12 08:56:34 +00:00
Paul Gilbert
a5f429c351 Incremented the required version of lure.dat because string resource has changed
svn-id: r29834
2007-12-12 08:49:41 +00:00
Paul Gilbert
2b9859f2ff Redeveloped the processing of language item article prefixes to match how the original handles the various languages
svn-id: r29833
2007-12-12 08:49:09 +00:00
Paul Gilbert
f826e62771 Bugfix for the display of ASK, GIVE, and TELL actions in the status line
svn-id: r29825
2007-12-11 10:12:12 +00:00
Paul Gilbert
4a8cca094c Bugfix to make the Use action work correctly
svn-id: r29824
2007-12-11 09:20:24 +00:00
Paul Gilbert
1af72d0971 Changed over warning messages for save/load errors from the debug console to their own dialog
svn-id: r29814
2007-12-10 09:40:49 +00:00
Chris Apers
1cfadf725c Hack to workaround struct padding added by some compilers (mainly on PalmOS)
svn-id: r29777
2007-12-09 10:39:57 +00:00
Paul Gilbert
04bfc7158a Bugfix to correctly display a hotspot name in message dialogs that include it
svn-id: r29776
2007-12-09 10:39:50 +00:00
Paul Gilbert
f89dbfe91c Added code to set ACTIVE_HOTSPOT_ID and USE_HOTSPOT_ID fields correctly when an action is performed
svn-id: r29775
2007-12-09 10:08:41 +00:00
Paul Gilbert
770d0b88d6 Added extra debug statements
svn-id: r29774
2007-12-09 06:06:22 +00:00
Paul Gilbert
41f8a2ff6a Added extra debug statements
svn-id: r29773
2007-12-09 05:59:01 +00:00
Paul Gilbert
a39ddab09a Added new debug category for string handling
svn-id: r29772
2007-12-09 05:57:08 +00:00
Paul Gilbert
e204af821f Added some missing deletes of temporary objects
svn-id: r29762
2007-12-08 10:30:43 +00:00
Paul Gilbert
870edd1b58 Bugfix so player will move out of the way if he's blocking an entrance a character is entering by
svn-id: r29746
2007-12-07 12:01:44 +00:00
Paul Gilbert
ec54c02ff8 Changed startup error messages to use a modal GUI dialog
svn-id: r29745
2007-12-07 10:17:58 +00:00
Paul Gilbert
f313c83ccd Fix for bug 1843961: Assertion on talking to a NPC - initial 'hey wait' dialog was resetting the destination character just before the conversation started
svn-id: r29743
2007-12-07 08:16:52 +00:00
Eugene Sandulenko
218dcf2c18 Switch Lure engine to AdvancedDetector
svn-id: r29734
2007-12-06 12:10:41 +00:00
Paul Gilbert
8713d1f7db Reworked the fight loop and event handling so fights run at the same speed as in the original game
svn-id: r29709
2007-12-03 12:26:45 +00:00
Paul Gilbert
692d64f934 Added some more code to the savegame load process to correctly handle previously saved savegames (from version 25)
svn-id: r29693
2007-12-02 08:32:21 +00:00
Paul Gilbert
bc58491c75 Modified the loadScreen method to accommodate some screens decoding to a single byte more than the actual screen size
svn-id: r29691
2007-12-02 07:24:41 +00:00
Paul Gilbert
11e29ca4d4 Bugfix to make any animation the player is doing uninterruptable
svn-id: r29690
2007-12-02 04:52:01 +00:00
Paul Gilbert
804c821ab1 Enhanced savegames to store any active dialog when the game was saved
svn-id: r29689
2007-12-02 04:49:33 +00:00
Paul Gilbert
4031b98349 Reworked the RoomResource structure to make the game easier to compile on PalmOS
svn-id: r29687
2007-12-02 01:17:51 +00:00
Paul Gilbert
7bc6a3a47a Changed assert for missing animation to explicitly give the animation Id
svn-id: r29684
2007-12-01 23:57:22 +00:00
Torbjörn Andersson
a77f6157dc Fixed Valgrind warning by freeing _lines with Memory::dealloc() insead of
delete.

svn-id: r29680
2007-12-01 15:37:48 +00:00
Paul Gilbert
91c73e6c76 Fix for give method - one object range was incorrectly being reported as not being valid objects
svn-id: r29679
2007-12-01 10:35:24 +00:00
Paul Gilbert
30af5576d7 Fix for Valgrind warning - at least one animation read a single byte beyond the end of the source data just prior to finishing decompression
svn-id: r29678
2007-12-01 10:34:22 +00:00
Paul Gilbert
5cf2a45b77 Fixed endian bug in the decoding of strings
svn-id: r29674
2007-11-30 23:58:29 +00:00
Travis Howell
50c6920d6f Add additional German version of Lure of the Temptress.
svn-id: r29661
2007-11-30 10:47:33 +00:00
Paul Gilbert
4e3090377f Added detection of Spanish version
svn-id: r29654
2007-11-28 10:37:40 +00:00
Paul Gilbert
cdd9fa3556 - Changed sound creation to automatically reset volume so that introduction sound sequences play correctly
- Cleaned up my channel sharing code to allow for either cropping the number of channels used or use the same channel multiple times. Ideally, though, I need to find out if the MidiParser can be set to use less than 8 channels

svn-id: r29648
2007-11-27 10:09:42 +00:00
Paul Gilbert
664ab3ea7e Removed old commented out debug code
svn-id: r29647
2007-11-27 10:02:53 +00:00
Paul Gilbert
a4bbdd2292 Fixed call to create puzzled/exclamation voice bubbles
svn-id: r29623
2007-11-24 09:47:19 +00:00
Paul Gilbert
c7b3130b66 Bugfix for the Escape key to close the Save/Restore dialog
svn-id: r29609
2007-11-22 11:21:04 +00:00
Paul Gilbert
40abab62af Removed deprecated language variable
svn-id: r29605
2007-11-22 10:13:43 +00:00
Paul Gilbert
78c1f8504a Talk data bugfix - create_lure was reading past the end of the talk data list
svn-id: r29604
2007-11-22 10:10:35 +00:00