545 Commits

Author SHA1 Message Date
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
Paul Gilbert
b6fbe6ec4e Changed animation constants to clarify standard indexes versus custom voice bubble Ids
svn-id: r29603
2007-11-22 10:09:26 +00:00
Paul Gilbert
a03f51893c Fixed menu data for German version
svn-id: r29602
2007-11-22 10:07:47 +00:00
Paul Gilbert
d9863ff237 Re-enabled detection of French and German versions
svn-id: r29601
2007-11-22 10:06:47 +00:00
Paul Gilbert
2393e87a7a Added a check to keep the cursor active when entering a savegame name on backends that provide a virtual keyboard
svn-id: r29578
2007-11-20 12:48:59 +00:00
Paul Gilbert
724d99b74f Changed the copy protection dialog event loop so the fourth digit pressed will be briefly displayed
svn-id: r29577
2007-11-20 12:39:24 +00:00
Paul Gilbert
5eb9b10bbd Changed calls to pollEvent to be in while loops to ensure all pending events get processed
svn-id: r29576
2007-11-20 12:26:06 +00:00
Torbjörn Andersson
ade0b5a212 Fixed sluggish mouse cursor on restart/restore screen.
svn-id: r29555
2007-11-18 10:08:43 +00:00
Paul Gilbert
9195905008 Further fixes to sound code (thanks to eriktorbjorn)
svn-id: r29554
2007-11-18 08:11:29 +00:00
Paul Gilbert
ab445635cb Added some extra mutex locks to the sound code to hopefully prevent randomo crashes
svn-id: r29553
2007-11-18 07:42:49 +00:00
Paul Gilbert
7b458c96b0 Bugfix to only delay showing a new talk dialog if there isn't one active in the current room
svn-id: r29550
2007-11-18 06:16:58 +00:00
Paul Gilbert
3364e03517 Reordered savegame content to fix bug where restoring a savegame from after a fight caused the opponent to briefly appear alive again
svn-id: r29549
2007-11-18 06:14:53 +00:00
Paul Gilbert
eadb5b7292 Added sounds to endgame animation sequence
svn-id: r29548
2007-11-18 05:11:38 +00:00
Paul Gilbert
4d21471155 Cleaned up animation player and added support for a set of sounds to be played during an animation
svn-id: r29547
2007-11-18 05:10:56 +00:00
Paul Gilbert
9a07589de8 Bugfix to properly clear previous room layers and fade in the screen when restoring a game
svn-id: r29537
2007-11-17 11:03:18 +00:00
Paul Gilbert
813ca5cf39 Added missing code to deactivate animations that have finished
svn-id: r29536
2007-11-17 10:49:14 +00:00
Torbjörn Andersson
14ac86abe0 Fixed sluggish mouse cursor during palette fade ins/outs.
svn-id: r29535
2007-11-17 10:47:37 +00:00
Paul Gilbert
2e3866b6f4 Identified some more Endian issues (thanks to Max)
svn-id: r29533
2007-11-17 10:21:27 +00:00
Paul Gilbert
eaee457431 Added missing destructor and sounds to barrel animation sequence
svn-id: r29531
2007-11-17 08:58:31 +00:00
Paul Gilbert
75382bdadc Added saving of the current hotspot animation record to savegames
svn-id: r29528
2007-11-17 08:44:38 +00:00
Paul Gilbert
4987cde3a1 Changed default value of _walkFlag in Hotspot constructor
svn-id: r29527
2007-11-17 08:42:23 +00:00
Paul Gilbert
ca10a4db08 Bugfixes to the fighting animations and proper reset of fight data between save sessions
svn-id: r29526
2007-11-17 06:53:13 +00:00
Paul Gilbert
1002a58f01 Cleaned up the logic of the activateHotspot method
svn-id: r29525
2007-11-17 06:52:35 +00:00
Paul Gilbert
d5dc2e075a Bugfixes to restoring or restarting a game from the Restore/Restart dialog
svn-id: r29524
2007-11-17 00:19:45 +00:00
Paul Gilbert
85be70f65b Fixed a direct access causing endian problems
svn-id: r29519
2007-11-16 22:59:40 +00:00
Paul Gilbert
ca2641b70f Changed conversation guards so that the player talking will only be paused if there's another active conversation that's in the same room
svn-id: r29516
2007-11-16 08:59:18 +00:00
Paul Gilbert
fe690d5688 Bugfix for talk dialog not closing if the same character talks twice in immediate succession
svn-id: r29515
2007-11-16 08:54:38 +00:00
Paul Gilbert
6f23a38c12 Added guard to prevent a character being reset to a default direction frame after a call to SetDirection if they're already facing in that direction - fixes some characters alternating frames
svn-id: r29514
2007-11-16 07:47:43 +00:00
Paul Gilbert
4bfa437887 Bugfix to make player walk over to Goewin when talking to her
svn-id: r29513
2007-11-16 07:32:03 +00:00
Paul Gilbert
ced8d602a7 Bugfix to have NPC stand still during showMessage talk actions
svn-id: r29512
2007-11-16 06:53:18 +00:00
Paul Gilbert
b95a102011 Fixes to parameters of script methods
svn-id: r29508
2007-11-15 11:33:16 +00:00
Paul Gilbert
61e8ad7a32 Bugfix to prevent characters occasionally facing one way whilst walking in another direction
svn-id: r29507
2007-11-15 10:07:46 +00:00
Paul Gilbert
2a24ecaf9b Fixed clipping issues that were still occurring in some rooms
svn-id: r29500
2007-11-14 11:46:55 +00:00
Paul Gilbert
149e87ecfb Added guard to prevent one character's talk dialog interrupting another one that's already in-progress
svn-id: r29492
2007-11-13 09:49:43 +00:00
Paul Gilbert
3d796f4b53 Tweak to object walk to position calculations - NPCs will no longer get stuck in doors they close
svn-id: r29489
2007-11-13 08:47:25 +00:00
Paul Gilbert
16a4708adc Set Catriona to her correct rocking speed
svn-id: r29483
2007-11-12 10:30:23 +00:00
Paul Gilbert
7bf1b77f3c removeSounds was being called too early - it was setting the current area to that of the room being left, rather than the one being entered
svn-id: r29482
2007-11-12 10:09:33 +00:00
Paul Gilbert
705cf3cc87 Adjustments to the talk state machine so information dialogs (if any) correctly occur at the end of a conversation (such as giving the bar to Ewan)
svn-id: r29481
2007-11-12 09:53:10 +00:00