Commit Graph

5400 Commits

Author SHA1 Message Date
Vincent Hamm
b2ab69f455 Fix palette issues
svn-id: r29989
2007-12-25 20:16:59 +00:00
Vincent Hamm
a3f1767009 Fix title screen regression
svn-id: r29988
2007-12-25 19:32:51 +00:00
Vincent Hamm
7159cc26df Fix blinking character
svn-id: r29987
2007-12-25 18:36:08 +00:00
Vincent Hamm
a2d2f01835 Bunch of gfx fix
svn-id: r29986
2007-12-25 18:11:35 +00:00
Vincent Hamm
37d8bed89b Fix cell sorting
Fix palette loading

svn-id: r29985
2007-12-25 16:37:12 +00:00
Kari Salminen
c10f74411e Show objects always using priority 15. Fixes bug #1858037 (AGI: show.obj priority error).
svn-id: r29984
2007-12-25 16:17:22 +00:00
Johannes Schickel
28a57c434a Cleanup(/formatting).
svn-id: r29983
2007-12-24 22:27:30 +00:00
Eugene Sandulenko
6b722c2f1c _Properly_ fix lock-up introduced introduced in revision 29860. A typical
c/p error.

svn-id: r29982
2007-12-24 19:49:28 +00:00
Eugene Sandulenko
fd22ebb269 Fix regressions (crashes) introduced in commit 29860
svn-id: r29981
2007-12-24 19:13:32 +00:00
Vincent Hamm
be737e074d Fix background save/restore
svn-id: r29979
2007-12-24 16:57:14 +00:00
Vincent Hamm
b6ec364eae Fix save/loading
svn-id: r29977
2007-12-24 15:47:52 +00:00
Max Horn
3c5d0b1afb Enhanced support for Indy3 Mac sounds (added functionality disabled for now)
svn-id: r29976
2007-12-24 15:36:50 +00:00
Max Horn
d973d3736c cleanup; workaround for bug #1852635 (INDY3 Mac: Crash When Playing Sound 54)
svn-id: r29975
2007-12-24 14:40:39 +00:00
Max Horn
138263ec03 cleanup
svn-id: r29974
2007-12-24 14:20:53 +00:00
Filippos Karapetis
50cf084a6b Cleanup
svn-id: r29973
2007-12-24 10:11:41 +00:00
Filippos Karapetis
8b0ae7983c Change 3 remaining free() to delete, which were not changed with commit #29841 (part of patch #1848173)
svn-id: r29972
2007-12-24 10:10:21 +00:00
Vincent Hamm
35b1521e68 Fix sprite mode 5
Fix backgroundIncrust system

svn-id: r29970
2007-12-24 02:59:23 +00:00
Johannes Schickel
def62fef5e MenuItem member renaming.
svn-id: r29969
2007-12-24 02:42:58 +00:00
Vincent Hamm
2d9d0f1b1f -Fade in/fade out
-Implement background mode 5

svn-id: r29968
2007-12-24 01:05:36 +00:00
Max Horn
f7c8a64c4f Fix for bug #1846049: COMI: wrong subtitles color
svn-id: r29966
2007-12-23 17:27:33 +00:00
Sven Hesse
cc84bec06e Style :P
svn-id: r29965
2007-12-23 16:31:21 +00:00
Kari Salminen
49fca52c9b Removes warning about shadowing a previous local declaration of filePtr introduced by r29962. Hopefully NDS Gobliiins still works after this!
svn-id: r29964
2007-12-23 16:25:28 +00:00
Max Horn
d61f3d7601 Fix for bug #1837375: MM: Walk behind mask char data
svn-id: r29963
2007-12-23 16:02:58 +00:00
Bertrand Augereau
6fa1de14ad Slight perturbation of the code gen for the sake of NDS Gobliiins
svn-id: r29962
2007-12-23 15:23:01 +00:00
Max Horn
d3f01bb79a Fix for bug #1842260: INDY3 FM-TOWNS: Modified version does not start (what a beautiful & embarrassing endless loop that was...)
svn-id: r29961
2007-12-23 14:43:15 +00:00
Paul Gilbert
d6788c3291 Workaround for unterminated look description in Italian version
svn-id: r29960
2007-12-23 12:27:43 +00:00
Paul Gilbert
33545452f0 Fix for problem that the player could stop themselves changing back from Selena if they left the current room too quickly after the change back had been scheduled
svn-id: r29958
2007-12-23 11:34:22 +00:00
Paul Gilbert
5e29703ea8 Bugfix for Town Hall room: Captive Goewin's bounds were frequently and incorrectly preventing the player from talking to the Skorl
svn-id: r29957
2007-12-23 10:52:18 +00:00
Filippos Karapetis
5b74b676ce Disable voices when voice files do not exist (like the original interpreter does), instead of exiting with an error. This is necessary for devices with little space
svn-id: r29956
2007-12-23 02:33:58 +00:00
Max Horn
275c91be33 Fix the FIXME ;-)
svn-id: r29955
2007-12-23 00:34:48 +00:00
Johannes Schickel
c9891423e3 Added FIXME comment.
svn-id: r29954
2007-12-22 23:41:14 +00:00
Johannes Schickel
0cbff0fc42 Logic fix for MixedSoundDriver::init.
svn-id: r29953
2007-12-22 23:29:15 +00:00
Paul Gilbert
337db5d4c7 Bugfix to not allow animation fast forward when restoring a game - it was causing occasional crashes due to tick handlers referencing animations not yet loaded (it's only meant to be done during room changes)
svn-id: r29950
2007-12-22 11:34:10 +00:00
Paul Gilbert
9dc39c302a Tweaked the calculation for player position in new rooms to use the original game's rounding - the current code was causing the player to be placed inside the exit area when entering room 6 from room 5.
svn-id: r29949
2007-12-22 11:24:29 +00:00
Paul Gilbert
c0bc7bb7d6 Incremented required lure.dat version number, and adjusted animation indexes to account for added fight animation entry
svn-id: r29948
2007-12-22 11:16:57 +00:00
Johannes Schickel
f483d7ce26 Cleanup.
svn-id: r29945
2007-12-21 20:45:25 +00:00
Neil Millstone
b4a661632e Fix compilation error on DS port (template expects parameters to be same type)
svn-id: r29941
2007-12-21 18:29:47 +00:00
Johannes Schickel
1ecbde083f Reverted too complicated (and unneeded) volume settings code for towns driver.
svn-id: r29939
2007-12-21 09:28:27 +00:00
Johannes Schickel
72e899d164 Naming consistency fixes.
svn-id: r29938
2007-12-21 09:20:31 +00:00
Paul Gilbert
dca07a9d14 Bugfix to prevent axe animation appearing in room 6 when returning there after the fight
svn-id: r29937
2007-12-21 09:10:31 +00:00
Filippos Karapetis
46ee7e6791 Slight cleanup
svn-id: r29934
2007-12-21 02:43:21 +00:00
Filippos Karapetis
18dd1881c5 Added some hard coded strings for the Italian fan translation of ITE (still not supported). Merged those strings with the hard coded strings for the Italian fan translation of IHNM
svn-id: r29933
2007-12-21 02:08:30 +00:00
Max Horn
4b897807c5 Clarify AGI FIXME
svn-id: r29930
2007-12-20 22:14:50 +00:00
Filippos Karapetis
aac7886ac9 Fix for bug #1851030 - "IHNM Spanish CD - Wrong Dialogs color"
svn-id: r29929
2007-12-20 19:17:00 +00:00
Vincent Hamm
b9aaa43bfb Fix palette manipulation code
Add one missing opcode

svn-id: r29928
2007-12-20 19:02:16 +00:00
Filippos Karapetis
335e9da41d Removed clamp() and used the common CLIP template instead
svn-id: r29927
2007-12-20 19:00:10 +00:00
Torbjörn Andersson
0e744e491b Fixed compiler warning, and a potential (but very unlikely) out-of-bounds read.
svn-id: r29926
2007-12-20 18:52:05 +00:00
Vincent Hamm
094f174887 Fix title screen line drawing code
svn-id: r29925
2007-12-20 18:21:27 +00:00
Filippos Karapetis
193760a40f Fix for isalpha() assertions
svn-id: r29924
2007-12-20 17:04:15 +00:00
Max Horn
1b285398b3 Fix compiler warnings
svn-id: r29922
2007-12-20 15:00:09 +00:00
Max Horn
44effa32eb Further changes to the AGI keyboard code, matching it against the original Sarien SDL input code. There are still quite some bits which are unclear to me, though
svn-id: r29921
2007-12-20 14:57:05 +00:00
Vincent Hamm
564fc06cf7 Multiple fix/cleanup
One bug remains before the game is completable without hack

svn-id: r29920
2007-12-20 14:30:51 +00:00
Max Horn
6d37f5ccd8 Do not #include time.h globally (ideally, we should provide a localtime clone in OSystem so we can completly get rid of this)
svn-id: r29919
2007-12-20 14:29:58 +00:00
Max Horn
93ccd61b7e cleanup due to jvprat
svn-id: r29918
2007-12-20 14:29:09 +00:00
Max Horn
d7e358acfa More cleanup
svn-id: r29917
2007-12-20 14:28:40 +00:00
Max Horn
a47446600a get rid of unused globals
svn-id: r29916
2007-12-20 14:26:03 +00:00
Max Horn
f44a196087 Moved all time() calls in AGOS to a single new method AGOSEngine::getTime(); also replaced an evil function-static variable by a member variable (lastMinute)
svn-id: r29908
2007-12-20 09:43:46 +00:00
Paul Gilbert
b4043cb403 Bugfix for correctly handling \n characters in WordWrap method
svn-id: r29903
2007-12-19 01:47:45 +00:00
Vincent Hamm
aa62d6355a Fix loading savegame from original interpreter
svn-id: r29901
2007-12-18 20:12:42 +00:00
Paul Gilbert
550aea90ff Bugfix for font sizes indexing - dereferencing a character > 128 was giving a negative index
svn-id: r29900
2007-12-18 08:05:19 +00:00
Travis Howell
86ee7a94af Add Japanese 3DO version of Putt Putt's Fun Pack.
svn-id: r29898
2007-12-18 07:00:39 +00:00
Vincent Hamm
5cc1313ffe Fix dangling pointer
Fix low color background
Fix input

svn-id: r29897
2007-12-17 22:40:58 +00:00
Max Horn
993e5b9c24 Patch #1852017: INDY3 Mac: Biplane Manual Fix
svn-id: r29896
2007-12-17 22:36:16 +00:00
Vincent Hamm
bfbf992907 Fix glitchy cell sorting
svn-id: r29895
2007-12-17 19:21:59 +00:00
Paul Gilbert
e2e846a4b2 Added extra debug statements to the talk dialog display process
svn-id: r29894
2007-12-17 11:23:19 +00:00
Paul Gilbert
20db7b7d28 Added some casting of fields in debug statements
svn-id: r29893
2007-12-17 11:21:26 +00:00
Paul Gilbert
fb222b0afa Changed Credits display to avoid the brief flash as the palette changed
svn-id: r29892
2007-12-17 03:29:02 +00:00
Paul Gilbert
08f1f2c3d3 Bugfix for Use actions to work correctly
svn-id: r29891
2007-12-16 22:41:51 +00:00
Max Horn
4e94b3273c Patch #1851568: INDY3 Mac: Grail Diary Fix
svn-id: r29890
2007-12-16 21:46:34 +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
Johannes Schickel
4a3dedfe7e Commit of patch #1848147 "KYRA: SoundTowns Update" with some changes. Thanks to Florian for the patch.
svn-id: r29881
2007-12-16 18:48:43 +00:00
Nicola Mettifogo
8da3b3a0ea Changed an explicit warning/remainder into a code comment.
svn-id: r29879
2007-12-16 16:03:04 +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
Torbjörn Andersson
bd7bef0fe6 Clear the EXIT_CLICK_ID variable when entering a new room. Otherwise, if an
exit warps back to the same room, clicking on the same exit again is
misinterpreted as a double-click, and that only works if we're already walking
towards that exit. Otherwise, the game will hang. This fixed bug #1851502
("SWORD2: Black-out in Forest").

svn-id: r29876
2007-12-16 09:44:04 +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
Travis Howell
3071db8f84 Add alternative Spanish version Elvira 2 (DOS).
svn-id: r29868
2007-12-16 01:29:39 +00:00
Travis Howell
9a7f4865f6 Add Spanish fan translation of Elvira 1 (DOS).
svn-id: r29867
2007-12-16 01:22:31 +00:00
Torbjörn Andersson
35e8a66518 Workaround for bug #1487382 ("SWORD2: Game freezes"). It appears to be a script
bug.

svn-id: r29866
2007-12-16 00:41:30 +00:00
Torbjörn Andersson
01b6e025ff Fixed typo in comment.
svn-id: r29865
2007-12-15 22:54:00 +00:00
Johannes Schickel
6dcbc00b23 debug(C) parameter type fixes.
svn-id: r29864
2007-12-15 21:20:56 +00:00
Nicola Mettifogo
d632206248 Added halfbrite effect to Nippon Safes Amiga. Implementation is not complete, since the spotlight during Donna's dance is not moving yet.
svn-id: r29863
2007-12-15 20:56:05 +00:00
Chris Apers
3dd11b260b Remove bad workaround and change compiler options (no optimization, no inline)
svn-id: r29862
2007-12-15 12:02:47 +00:00
Gregory Montoir
bb30d560b2 renamed several structures, variables and functions
svn-id: r29860
2007-12-14 19:21:19 +00:00
Filippos Karapetis
57460c21b3 Added a note, switched to CLIP template for clipping, some cleanup
svn-id: r29859
2007-12-14 13:55:18 +00:00
Filippos Karapetis
729c843091 Cleanup
svn-id: r29858
2007-12-14 13:51:41 +00:00
Sven Hesse
4c54a8caee Fixing bug #1850343 (GOB1: Long beeping noise after cutscene)
svn-id: r29857
2007-12-13 23:28:07 +00:00
Filippos Karapetis
1e483cc857 Use CLIP template for clipping in the SAGA engine
svn-id: r29855
2007-12-13 20:10:13 +00:00
Filippos Karapetis
40661e5698 Use CLIP template for clipping in the AGI engine
svn-id: r29854
2007-12-13 19:44:27 +00:00
Gregory Montoir
e1b73e47f8 use CLIP template for clipping, made an array static const and renamed MAX_OBJECTDATA to MAX_VAR
svn-id: r29853
2007-12-13 19:07:10 +00:00
Filippos Karapetis
ee56120fcf Added a proper fix for bug #1733238 - "FW: crash in copier room", taken from next_ghost's patch #1848173 - "ScriptVars class implementation for CinE"
svn-id: r29852
2007-12-13 17:53:31 +00:00
Filippos Karapetis
3240d0636a Fixed a regression from the latest cleanups
svn-id: r29851
2007-12-13 17:47:54 +00:00