Filippos Karapetis
a52c6e0ba2
Added code to load (but NOT play) the external music files in the Macintosh version of IHNM. I believe that the music in the Mac version is in TFMX format, which is not supported yet
...
svn-id: r31408
2008-04-05 14:06:50 +00:00
Filippos Karapetis
2da922081c
Speech is now played correctly in the Macintosh version of IHNM
...
svn-id: r31405
2008-04-05 13:19:12 +00:00
Filippos Karapetis
99283e9e54
Sound effects in the Macintosh version of IHNM are now working
...
svn-id: r31404
2008-04-05 12:36:52 +00:00
Eugene Sandulenko
7a0c61c440
Added detection for IHNM Mac. Gampe plays, but sound and music is a big TODO
...
svn-id: r31403
2008-04-05 07:43:54 +00:00
Max Horn
6547ef6e12
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
...
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e
Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
...
svn-id: r31119
2008-03-14 13:59:31 +00:00
Filippos Karapetis
5f493ce618
Added a workaround so that the mob of prisoners in Nimdok's chapter is shown correctly after a cutaway is shown
...
svn-id: r30991
2008-02-28 00:17:51 +00:00
Filippos Karapetis
99a5d11544
Don't change the voice bank when no voice files are present. This will stop SAGA games from crashing when no voice files are present in talkie versions of ITE and IHNM (regression from commit #30648 )
...
svn-id: r30989
2008-02-27 18:17:50 +00:00
Filippos Karapetis
113ce2b900
Don't do any special font mapping in the Italian fan translation of ITE, so that Italian characters are shown correctly
...
svn-id: r30988
2008-02-27 18:10:08 +00:00
Filippos Karapetis
a7269c6009
Fix for bug #1895205 - "IHNM: end game text/caption error"
...
svn-id: r30985
2008-02-27 15:11:16 +00:00
Filippos Karapetis
a3f2f4b039
This safeguard is no longer needed for IHNM
...
svn-id: r30956
2008-02-24 16:56:28 +00:00
Filippos Karapetis
ef9850166d
Fix for bug #1900254 - "ITE: Glitches when bridging the gorge"
...
svn-id: r30955
2008-02-24 16:12:47 +00:00
Filippos Karapetis
d9e3daae8f
Removed 2 unnecessary calls to File::exists()
...
svn-id: r30952
2008-02-24 14:30:56 +00:00
Andrew Kurushin
040d8e10fe
fix bug 1900244 "ITE: Strange animation when returning to prison cell"
...
svn-id: r30924
2008-02-23 14:42:46 +00:00
Filippos Karapetis
208c753215
Stop printing opcodes in the debug console
...
svn-id: r30923
2008-02-23 14:31:25 +00:00
Filippos Karapetis
3581257ceb
Fix for bug #1900220 - "ITE: Missing text outline"
...
svn-id: r30920
2008-02-23 13:54:58 +00:00
Filippos Karapetis
638e23f37c
Fix for bug #1900258 - "ITE: Glitch when looking at the map while at the docks"
...
svn-id: r30919
2008-02-23 13:36:40 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
356ae3b9ce
Fix code formatting and grammar ;)
...
svn-id: r30819
2008-02-07 22:53:23 +00:00
Max Horn
8a73356a2d
Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
...
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson
e51bf80218
Changed "COMPATIBLITY" to "COMPATIBILITY".
...
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be
Moved AdvancedMetaEngine to namespace Common
...
svn-id: r30736
2008-02-02 11:52:04 +00:00
Jordi Vilalta Prat
5165ff448d
Converted the remaining engines to use MetaEngine
...
svn-id: r30728
2008-02-02 02:35:13 +00:00
Max Horn
dc979b03cf
New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
...
svn-id: r30726
2008-02-02 00:54:52 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Filippos Karapetis
278857698d
Possible fix for the errors under older versions of GCC (e.g. under BeOS)
...
svn-id: r30661
2008-01-27 16:52:50 +00:00
Filippos Karapetis
e431f827ec
Disabled a debug function which throws warnings in older versions of GCC (e.g. under BeOS)
...
svn-id: r30655
2008-01-27 15:54:16 +00:00
Filippos Karapetis
5b6dbecb62
Limit the number of simultaneous open files in IHNM to 7, down from 12. This is necessary for devices that can keep a limited amount of files open simultaneously, like the PSP
...
svn-id: r30648
2008-01-27 14:32:08 +00:00
Filippos Karapetis
c577c0ea81
Code simplification
...
svn-id: r30617
2008-01-22 21:55:14 +00:00
Torbjörn Andersson
4cbd3e6af8
Fixed a crash in the rat maze (reported on the forum) that made the game
...
uncompletable. I sense a great disturbance in the Force... as if millions of
voices cried out "ScummVM 0.11.1" and were suddenly silenced.
svn-id: r30562
2008-01-19 11:20:15 +00:00
Filippos Karapetis
b460e0880b
Cleanup
...
svn-id: r30412
2008-01-11 14:27:07 +00:00
Filippos Karapetis
561a5a4b22
Fixed capitalization
...
svn-id: r30411
2008-01-11 14:22:46 +00:00
Filippos Karapetis
5abe3db577
Added support for the Italian fan translations of Inherit the Earth. The original DOS CD, DOS floppy and the Wyrmkeep multi OS re-release CD have been translated to Italian
...
svn-id: r30410
2008-01-11 13:48:06 +00:00
Filippos Karapetis
947608cd91
Changed an assertion to a warning
...
svn-id: r30369
2008-01-10 10:34:23 +00:00
Filippos Karapetis
1886d498ed
Change an error to a warning
...
svn-id: r30363
2008-01-09 22:58:55 +00:00
Filippos Karapetis
29d1749db5
Added handling of home/end keys in input dialogs and properly filtered out non-alphanumeric keys
...
svn-id: r30358
2008-01-09 21:26:38 +00:00
Filippos Karapetis
4fb5f9274d
Removed some obsolete defines
...
svn-id: r30320
2008-01-07 08:44:19 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Filippos Karapetis
063f7df4d3
Slight cleanup
...
svn-id: r30217
2008-01-04 13:34:38 +00:00
Filippos Karapetis
2bb81e2d20
Properly fixed bug #1861863 - "ITE: Crash when using Eeah with Eeah"
...
svn-id: r30195
2008-01-03 10:42:18 +00:00
Filippos Karapetis
6ed43e7505
Fix for bug #1861863 - "ITE: Crash when using Eeah with Eeah"
...
svn-id: r30181
2008-01-03 07:29:13 +00:00
Filippos Karapetis
a8d3967f63
Fix for bug #1861126 - "IHNM: Crash when Gorrister cuts sheet in the mooring ring"
...
svn-id: r30109
2007-12-31 22:45:30 +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
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
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
Filippos Karapetis
aac7886ac9
Fix for bug #1851030 - "IHNM Spanish CD - Wrong Dialogs color"
...
svn-id: r29929
2007-12-20 19:17:00 +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
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
9ec7588e49
Fix for bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)". The colors of the default palette in the Spanish version of the game are shifted by 1.
...
svn-id: r29828
2007-12-11 22:40:39 +00:00
Filippos Karapetis
fb7ec452d2
Make sure that text in message boxes in IHNM is always centered, regardless of language
...
svn-id: r29827
2007-12-11 22:36:05 +00:00
Filippos Karapetis
c84d9c1588
Fix to prevent having an incorrect sprite assigned to some objects in IHNM when those objects are dropped in the scene
...
svn-id: r29796
2007-12-09 15:43:08 +00:00
Filippos Karapetis
c07894bcea
ioFailed() is now checked when saving a game
...
svn-id: r29767
2007-12-08 17:48:51 +00:00
Filippos Karapetis
1d458bae99
Possible fix for bug #1838622 - "IHNM: Benny can't help the boy". It seems the corresponding dialog option is too big in the Spanish version
...
svn-id: r29652
2007-11-27 23:10:32 +00:00
Max Horn
c8ce5b1865
Changed Audio::makeADPCMStream so that the stream passed to it can automatically be disposed
...
svn-id: r29517
2007-11-16 10:05:18 +00:00
Filippos Karapetis
71d54d1d36
Added a workaround for a problematic object in Gorrister's chapter (Edna's key)
...
svn-id: r29486
2007-11-12 19:49:42 +00:00
Filippos Karapetis
6e6a864c17
Don't draw objects with negative x/y values. Now, "ghost" objects are no longer created in the top left corner of the screen when picked up/used. The creation of such ghost objects is a script bug which exists in the original interpreter of IHNM as well. Also, removed a relevant workaround for the note in the first screen of Gorrister's chapter, as it's no longer needed
...
svn-id: r29477
2007-11-11 18:12:55 +00:00
Filippos Karapetis
e375e983ba
Added a workaround for a bug in the original game scripts of IHNM with Edna, when the knife is used with her. Fixes bug #1826871 - "IHNM: Edna's got two hearts but loves to be on the hook"
...
svn-id: r29461
2007-11-09 17:06:22 +00:00
Sven Hesse
870ec35291
Fixing compilation for me by giving that file a closing newline
...
svn-id: r29457
2007-11-08 23:53:59 +00:00
Filippos Karapetis
398a26c6c4
Some tweaks to actorWalkTo() and actorEndWalk(). Also, moved all the actor pathfinding calculation code to a new file
...
svn-id: r29455
2007-11-08 23:39:58 +00:00
Filippos Karapetis
422e88aa20
Slight fix for off screen path calculation
...
svn-id: r29454
2007-11-08 23:35:46 +00:00
Eugene Sandulenko
83802f795b
Several subtitles-related IHNM fixes. Still not perfect.
...
svn-id: r29427
2007-11-05 23:40:30 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00
Filippos Karapetis
87e2f43273
It's now possible to exit the screens with Gorrister's heart in IHNM normally (i.e by walking to the exit, not using it) - like the original
...
svn-id: r29349
2007-11-01 00:33:12 +00:00
Filippos Karapetis
5add473048
Fix for bug #1800147 - "ITE: Scummvm exits with Audio warnings"
...
svn-id: r29345
2007-10-31 20:26:57 +00:00
Filippos Karapetis
bb0bbdef57
The cause for bug #1804403 - "IHNM/ITE: Error loading Game resources (fs-node regression)" was fixed with commits #29327 , #29328 , #29329 . Removed unneeded Amiga-specific code, which should finally fix this bug
...
svn-id: r29331
2007-10-30 22:20:02 +00:00
Filippos Karapetis
00e9ed51d9
The palette of the boss screen (F9 key) in IHNM is set correctly now
...
svn-id: r29279
2007-10-28 04:42:22 +00:00
Filippos Karapetis
3dd40b390c
Fixed typo
...
svn-id: r29276
2007-10-28 04:23:51 +00:00
Filippos Karapetis
7e4ebb9d8e
Cleanup
...
svn-id: r29275
2007-10-28 04:16:48 +00:00
Filippos Karapetis
fc85685099
Cleanup
...
svn-id: r29274
2007-10-28 04:14:52 +00:00
Filippos Karapetis
59f2a90a6f
Cleanup of the engine detection code. Possibly fixes bug #1804403 - "IHNM/ITE: Error loading Game resources (fs-node regression)"
...
svn-id: r29273
2007-10-28 04:12:01 +00:00
Filippos Karapetis
01e88f1fbf
The options panel in IHNM is now shown and functioning correctly when it's opened during a character's speech
...
svn-id: r29266
2007-10-27 17:55:50 +00:00
Filippos Karapetis
b225f01d14
Added a workaround for an incorrect hitzone in IHNM, (Gorrister's chapter). Now, the graffiti to the left in the toilet screen can be examined correctly. Also, performed some clean-up
...
svn-id: r29264
2007-10-27 11:42:17 +00:00
Filippos Karapetis
cc76fbee56
Added a workaround for a script bug in IHNM, which occurs in the original as well. An invisible note will no longer be created in the top left corner of the screen, when the note in the first screen of Gorrister's chapter is read
...
svn-id: r29247
2007-10-22 20:41:58 +00:00
Filippos Karapetis
a152ded458
When skipping a video from the introduction of IHNM, the screen fades out before skipping, like in the original
...
svn-id: r29246
2007-10-22 16:03:42 +00:00
Filippos Karapetis
abed92e2fa
Removed the MD5 check of sfx.res for the English version of IHNM, since there are two English versions of the game with a different sfx.res file. Closes bug #1800226 - "IHNM: unsupported version"
...
svn-id: r29156
2007-10-06 18:53:47 +00:00
Filippos Karapetis
8ced5d58df
Show the cursor when opening the options screen. Also, fixed a regression with some strings in the game interface
...
svn-id: r29151
2007-09-30 14:46:49 +00:00
Torbjörn Andersson
6cd700f776
Of course, that also means that 'slot' should be 3 characters, not 2.
...
svn-id: r29150
2007-09-30 14:32:21 +00:00
Torbjörn Andersson
44216e2837
Terminate the string used to hold the save slot number, or strange things may
...
happen. (In my case, it was looking for slot 10, 20, 30, ... instead of the
correct 1, 2, 3...)
svn-id: r29149
2007-09-30 14:31:47 +00:00
Filippos Karapetis
1717ab8ccd
Some updates to the hard coded strings of the Spanish version of IHNM (thanks jvprat)
...
svn-id: r29148
2007-09-30 14:24:06 +00:00
Filippos Karapetis
0175cf13b2
Fixed the placement of the save game reminder icon in IHNM
...
svn-id: r29147
2007-09-30 13:47:09 +00:00
Filippos Karapetis
93a31a7b6b
Removed all the unneeded hard coded strings from the Italian fan translation of IHNM, added the hard coded strings of the Spanish version of IHNM
...
svn-id: r29146
2007-09-30 13:37:05 +00:00
Filippos Karapetis
f002fcf98a
IHNM does not have excuse texts
...
svn-id: r29145
2007-09-30 13:19:31 +00:00
Filippos Karapetis
939948766b
Fixed bug #1804805 - "IHNM: crash/glitch with italian fan patch"
...
Added the Italian fan translation of IHNM, created a workaround for invalid string data in the Italian fan translation and added some hard coded strings which are changed in the original game executable with the Italian fan translation patch
svn-id: r29134
2007-09-30 01:29:12 +00:00
Torbjörn Andersson
44746d74a4
When skipping the IHNM intro, skip all the way to the character selection
...
screen.
svn-id: r29129
2007-09-29 06:26:22 +00:00
Torbjörn Andersson
bccf69bfe1
As far as I can tell, there's no point in setting sceneSkipTarget to true here.
...
There are no other scenes before it.
svn-id: r29128
2007-09-29 06:19:02 +00:00
Torbjörn Andersson
74ce7c620b
Allow the user to change scalers, fullscreen mode, etc. without terminating the
...
IHNM intro. In other words, don't terminate the intro just because the user
presses a modifier key. The original didn't either.
svn-id: r29127
2007-09-29 05:46:57 +00:00
Andrew Kurushin
f50e162c25
remove _saveMarks from SAGA load and save implementation
...
svn-id: r29053
2007-09-23 15:53:49 +00:00
Eugene Sandulenko
9a9e9d21a8
Moved MemoryStreamEndian from Saga to Common.
...
svn-id: r29038
2007-09-23 09:59:10 +00:00
Filippos Karapetis
4333fafe76
Fix for bug #1800276 - "IHNM: Problem in saving". A bug in the logic of the save slot allocation algorithm became apparent with the FS node merge. It should be working correctly now
...
svn-id: r29031
2007-09-22 22:37:20 +00:00
Filippos Karapetis
7524244581
Added a workaround for a bug with Gorrister's heart, which exists in the original game scripts of IHNM
...
svn-id: r29024
2007-09-22 17:57:45 +00:00
Eugene Sandulenko
77eea722af
Modified patch #1738058 : "Action recorder".
...
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Filippos Karapetis
8f729ddea0
Updated information about some global flags in IHNM
...
svn-id: r28961
2007-09-19 02:10:44 +00:00
Filippos Karapetis
7538fcbaef
Removed a variable initialization out of a while loop
...
svn-id: r28959
2007-09-19 01:43:49 +00:00
Filippos Karapetis
67c33713aa
Fixed regression: The ITE intro is shown correctly again
...
svn-id: r28958
2007-09-19 01:43:10 +00:00
Filippos Karapetis
f1091ec8bb
Fixed some glitches which occured when closing the psychic profile in IHNM
...
svn-id: r28953
2007-09-18 23:15:48 +00:00
Max Horn
3abc11611e
Code formatting fixes
...
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
c3d3aebe87
Patch #1768757 : Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
...
svn-id: r28944
2007-09-18 20:02:04 +00:00
Filippos Karapetis
bf75630b42
Fixed the font height of the text in the help screens of the IHNM demo. Clean-up of some opcodes
...
svn-id: r28940
2007-09-18 16:46:32 +00:00
Filippos Karapetis
9b528826f8
Fixed Ellen's state when loading a saved game in her chapter
...
svn-id: r28938
2007-09-18 14:56:42 +00:00
Filippos Karapetis
57bbed1511
Gfx::palFade is implemented properly now
...
svn-id: r28937
2007-09-18 10:19:03 +00:00
Filippos Karapetis
d582e1c7a5
Fix for bug #1796045 - "IHNM: Spanish font wrong"
...
svn-id: r28936
2007-09-18 09:26:03 +00:00
Filippos Karapetis
5f05e7b64b
Added a debug command for font mapping
...
svn-id: r28935
2007-09-17 23:32:25 +00:00
Filippos Karapetis
86b3c8ddeb
Character with ASCII code 9 is tab
...
svn-id: r28934
2007-09-17 22:56:28 +00:00
Filippos Karapetis
390066d0a3
Save games from the character selection screen are loaded correctly from the command line now
...
svn-id: r28926
2007-09-16 12:42:25 +00:00
Max Horn
80386fbb02
Turn off unused code (fixing a compiler warning)
...
svn-id: r28925
2007-09-16 12:16:28 +00:00
Eugene Sandulenko
9778bec419
Fix bug when some animations were playing too fast.
...
svn-id: r28924
2007-09-16 11:37:14 +00:00
Eugene Sandulenko
dfde70d218
Fix warning
...
svn-id: r28923
2007-09-16 11:08:52 +00:00
Filippos Karapetis
990e9a7828
Script modules are now unloaded correctly when changing chapters in IHNM
...
svn-id: r28918
2007-09-16 04:22:52 +00:00
Filippos Karapetis
bd454d0c79
Fixed regression with save games that have an inset and an outset scene
...
svn-id: r28913
2007-09-16 03:20:10 +00:00
Filippos Karapetis
ec4503efde
Don't draw the scene background when actors are disabled
...
svn-id: r28912
2007-09-16 01:38:23 +00:00
Filippos Karapetis
0bb109d59d
Stop the intro music after the intro in ITE/IHNM is finished
...
svn-id: r28911
2007-09-15 16:54:22 +00:00
Filippos Karapetis
22ce3aa9e1
Slight cleanup of the actor class: moved all of the actor walk code in a new file and removed many unneeded includes
...
svn-id: r28908
2007-09-15 15:02:40 +00:00
Filippos Karapetis
e065980581
The sales info video for the IHNM demo is now shown when quitting the demo
...
svn-id: r28906
2007-09-15 12:57:11 +00:00
Filippos Karapetis
5fa2b1a3c5
Palette fade in when a cutaway starts in IHNM is working now. Also, the fade mode is properly set in all cases where palette fadeout is used. Some code formatting
...
svn-id: r28904
2007-09-15 12:09:56 +00:00
Filippos Karapetis
fef707a2dd
The right button verb in IHNM will no longer be invalid for some hitzones (e.g. "Quit game the door")
...
svn-id: r28903
2007-09-15 03:08:58 +00:00
Filippos Karapetis
1fa1b64984
Some more opcode simplifications
...
svn-id: r28902
2007-09-14 12:49:09 +00:00
Filippos Karapetis
c84ff65720
Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non needed check
...
svn-id: r28901
2007-09-14 12:42:47 +00:00
Filippos Karapetis
9d85371aa0
Cleanup and simplification of several of the script opcodes used in ITE and IHNM
...
svn-id: r28899
2007-09-13 17:55:00 +00:00
Filippos Karapetis
afb3c693be
Added debug commands for the global flags in IHNM
...
svn-id: r28898
2007-09-13 15:49:40 +00:00
Filippos Karapetis
84393ab95e
The early ITE demos were not interactive
...
svn-id: r28897
2007-09-13 11:21:23 +00:00
Filippos Karapetis
541b68e0e4
Removed an obsolete FIXME. The code in that part matches the original, so there doesn't seem to be any obvious reason for that FIXME
...
svn-id: r28891
2007-09-11 11:10:23 +00:00
Max Horn
4a4fc235f2
Change SAGA engine to properly use KeyState structs for handling keyboard input
...
svn-id: r28889
2007-09-11 09:19:23 +00:00
Max Horn
4a302b25ad
Lots of source code formatting corrections
...
svn-id: r28887
2007-09-10 13:17:20 +00:00
Filippos Karapetis
f8a9c41a8c
Simplified the check for the uncompressed sound data in patch files p2_a.iaf/p2_a.voc in ITE, when compressed sound files are used
...
svn-id: r28864
2007-09-06 08:35:08 +00:00
Filippos Karapetis
7b1d069ae4
If the p2_a.iaf/p2_a.voc patch files are located in ITE's root folder instead of inside the sound subfolder, they're treated as uncompressed. Fixes bug #1751344 - "ITE: p2_a.iaf not played correctly"
...
svn-id: r28854
2007-09-05 18:08:20 +00:00
Torbjörn Andersson
243a48138d
I believe this fixes part of the music fading glitch in IHNM, but there's still
...
a slight problem when the intro fades the music down. Just before starting the
new music, the old music is briefly set back to normal volume again. This could
be a script bug, but I haven't investigated it any further.
svn-id: r28833
2007-09-02 21:40:09 +00:00
Filippos Karapetis
db8b8a0c5f
Fix the crash in the IHNM intro
...
svn-id: r28789
2007-09-01 16:32:00 +00:00
Eugene Sandulenko
2d729927c5
Do not decode frames beyond maxFrames to avoid any potential issues
...
svn-id: r28788
2007-09-01 15:03:44 +00:00
Filippos Karapetis
e7e9f17ced
The music of chapter 6 in IHNM is loaded correctly now
...
svn-id: r28786
2007-09-01 13:55:13 +00:00
Filippos Karapetis
9329f9a8c6
Modified the workaround for the IHNM end credits animation
...
svn-id: r28785
2007-09-01 12:43:22 +00:00
Torbjörn Andersson
c51430f1d1
Remove the timer callback when the Music object is deleted.
...
svn-id: r28783
2007-09-01 11:13:57 +00:00
Torbjörn Andersson
ee2b33376f
Don't go out of bounds when filling anim->frameOffsets[].
...
svn-id: r28782
2007-09-01 11:04:34 +00:00
Eugene Sandulenko
e3b6d81e82
This is a pseudo-commit. Previous commit log message for this file should read
...
as follows:
Fix recent regression crash in IHNM intro.
svn-id: r28781
2007-09-01 10:51:11 +00:00
Eugene Sandulenko
557558974a
Fix intro in German and Spanish IHNM.
...
svn-id: r28780
2007-09-01 10:49:28 +00:00
Eugene Sandulenko
809f022be4
Proper height for Chinese characters, also remove obsolete hack for computing
...
character base.
svn-id: r28779
2007-09-01 10:48:05 +00:00
Torbjörn Andersson
c7e6db919e
Slight simplification.
...
svn-id: r28776
2007-08-31 20:18:07 +00:00
Torbjörn Andersson
490586a0ae
Initialise _chapterNumber to fix Valgrind warning.
...
svn-id: r28774
2007-08-31 18:13:16 +00:00
Eugene Sandulenko
89e10f450f
Simplify fading code a bit.
...
svn-id: r28772
2007-08-31 11:14:32 +00:00
Eugene Sandulenko
dc0088f8fd
Fix end credits in IHNM. Now video length is determined properly.
...
svn-id: r28771
2007-08-31 10:59:33 +00:00
Eugene Sandulenko
091ef596d1
Fix warning
...
svn-id: r28770
2007-08-31 10:10:11 +00:00
Filippos Karapetis
f398f99b75
Some slight updates to palette fadeout/fadein before a cutaway starts (still not working, though)
...
svn-id: r28769
2007-08-31 08:20:41 +00:00
Filippos Karapetis
2fa39d8ce7
The IHNM credits sequence is shown now. However, only half of the sequence is played at the moment
...
svn-id: r28768
2007-08-31 07:24:41 +00:00
Filippos Karapetis
50cbf7b154
Fix regression: the volume after the start credits was set to 0, so the IHNM demo music couldn't be heard
...
svn-id: r28767
2007-08-31 07:22:45 +00:00
Filippos Karapetis
dd3157614f
Some cleanup for the IHNM demo
...
svn-id: r28766
2007-08-31 07:20:57 +00:00
Torbjörn Andersson
4be77cb45e
Make checkKey() test for EVENT_QUIT as well, so that we can quit the IHNM intro
...
even without using the keyboard shortcut.
svn-id: r28765
2007-08-30 18:59:05 +00:00
Eugene Sandulenko
fedb69dd6b
Remove debug leftover
...
svn-id: r28764
2007-08-30 18:49:02 +00:00
Eugene Sandulenko
66ccbb97d1
Proper implementation of intro and credits in IHNM
...
svn-id: r28763
2007-08-30 17:55:19 +00:00
Filippos Karapetis
a8149227bf
The actors in Nimdok's part of the IHNM demo are shown correctly now
...
svn-id: r28758
2007-08-27 14:22:24 +00:00
Filippos Karapetis
b39c4cbdba
Added some skeleton code for the IHNM credits movie. Also, changed the location of the RF_DISABLE_ACTORS is set from loadScene to endScene
...
svn-id: r28757
2007-08-27 13:04:35 +00:00
Filippos Karapetis
b9be60c0cd
Updated some comments
...
svn-id: r28756
2007-08-27 10:14:13 +00:00
Filippos Karapetis
ef53c924a2
typo
...
svn-id: r28755
2007-08-27 10:04:49 +00:00
Filippos Karapetis
1e40450074
Some more test code for dynamically loading the introduction cutaway list
...
svn-id: r28754
2007-08-27 10:03:23 +00:00
Filippos Karapetis
4e5d819732
IHNM's ending is shown correctly now (but the credits still aren't). Slight update on the music of chapter 6
...
svn-id: r28753
2007-08-27 09:30:23 +00:00
Filippos Karapetis
30148e505d
Compressed digital music in the ITE demo versions is played correctly now
...
svn-id: r28752
2007-08-26 19:14:18 +00:00
Filippos Karapetis
3ce737eb2a
Cleanup
...
svn-id: r28748
2007-08-26 15:57:30 +00:00
Filippos Karapetis
d282f32604
Cleanup
...
svn-id: r28747
2007-08-26 15:08:44 +00:00
Filippos Karapetis
6358d6bb07
One more place where music for chapter 6 shouldn't be played for now
...
svn-id: r28745
2007-08-26 05:03:59 +00:00
Filippos Karapetis
a6048447fc
Don't play a music track when loading a saved game from chapter 6 in IHNM for now either, until the cause for the incorrect music table for that chapter is found
...
svn-id: r28744
2007-08-26 03:32:18 +00:00
Filippos Karapetis
c51fb71f05
The music table loaded for chapter 6 (final chapter) in IHNM is problematic, so don't load any music for that chapter until the cause is found
...
svn-id: r28743
2007-08-26 03:24:39 +00:00
Filippos Karapetis
5e8a4a1425
The character selection screen shown when all the 5 protagonist chapters are completed is now functional
...
svn-id: r28742
2007-08-26 03:22:52 +00:00
Filippos Karapetis
f7439d884e
Implemented some differences of IHNM in sfScriptDoAction. Now, some actions on objects (like using the sarcophagus in Ellen's chapter) are done correctly
...
svn-id: r28740
2007-08-26 01:29:35 +00:00
Filippos Karapetis
b7f7c8683f
Games saved in the character selection screen should work correctly now
...
svn-id: r28739
2007-08-26 00:45:07 +00:00
Filippos Karapetis
40ec12f64e
Added a temporary workaround for an issue with animations
...
svn-id: r28738
2007-08-25 23:46:04 +00:00
Filippos Karapetis
8493c06d1d
Always reset an animation when it's done playing
...
svn-id: r28737
2007-08-25 23:29:53 +00:00
Filippos Karapetis
7534944c83
Removed the showactors flag and substituted it with RF_DISABLE_ACTORS
...
svn-id: r28736
2007-08-25 23:19:55 +00:00
Filippos Karapetis
9f8b0884fa
Fixed a regression
...
svn-id: r28733
2007-08-25 19:59:07 +00:00
Filippos Karapetis
71ce45faa0
Reset the protagonist's portrait when a chapter ends
...
svn-id: r28732
2007-08-25 19:33:25 +00:00
Filippos Karapetis
30a82f1879
When sfMainMode is set, overwrite the stored panel mode
...
svn-id: r28731
2007-08-25 19:21:43 +00:00
Filippos Karapetis
79eb157fef
The palette is set correctly now when chapter points change and a cutaway is up
...
svn-id: r28730
2007-08-25 18:24:32 +00:00
Filippos Karapetis
3d823b250b
Properly limit the save title size in IHNM
...
svn-id: r28728
2007-08-25 17:10:31 +00:00
Filippos Karapetis
c6292050a5
Only close patch files for ITE, not IHNM
...
svn-id: r28726
2007-08-25 16:44:44 +00:00
Filippos Karapetis
57ee1e15be
Stop showing actors before a scene's background is shown. Removed a relevant hack
...
svn-id: r28725
2007-08-25 16:02:48 +00:00
Filippos Karapetis
5ec8ee1907
Added skeleton code for kActorEvent
...
svn-id: r28724
2007-08-25 16:01:42 +00:00
Filippos Karapetis
4afe739687
The intro of IHNM is shown correctly now
...
svn-id: r28723
2007-08-25 16:00:50 +00:00
Filippos Karapetis
433105141b
Some more fixes to Gfx::palFade. Benny's nightfall scene is shown correctly now
...
svn-id: r28722
2007-08-25 13:13:03 +00:00
Filippos Karapetis
05ba86577e
Added a note on mouse right button action for IHNM
...
svn-id: r28721
2007-08-25 13:01:22 +00:00
Filippos Karapetis
b68f2532c5
Converse arrows scroll the conversation options correctly now
...
svn-id: r28720
2007-08-25 12:49:03 +00:00
Filippos Karapetis
41ee693710
Inventory arrows scroll the inventory correctly now
...
svn-id: r28719
2007-08-25 12:38:35 +00:00
Filippos Karapetis
2bfc4466df
Some more fixes to Gfx::palFade
...
svn-id: r28710
2007-08-24 15:32:05 +00:00
Filippos Karapetis
e156f0ff87
The frame count needs to be updated for cutaways without an animation bit as well. Removed a hack for the nightfall scene in Benny's chapter
...
svn-id: r28709
2007-08-24 13:40:03 +00:00
Filippos Karapetis
3a761c8acd
Oops, fixed a regression introduced with the latest code cleanup
...
svn-id: r28708
2007-08-24 12:43:56 +00:00
Filippos Karapetis
84d2dda5ed
Code cleanup for the IHNM demo
...
svn-id: r28707
2007-08-24 12:05:05 +00:00
Filippos Karapetis
ef7c66893a
Updated some comments
...
svn-id: r28706
2007-08-24 11:44:18 +00:00
Filippos Karapetis
f48ce0d821
Some more updates to Gfx::palFade (not finished yet, though)
...
svn-id: r28705
2007-08-24 11:37:58 +00:00
Filippos Karapetis
65c390cbfc
Clearcutaway now sets the scene's palette. Removed two workarounds for the IHNM demo
...
svn-id: r28704
2007-08-24 11:35:59 +00:00
Filippos Karapetis
3b276f0973
Clean-up of event ops
...
svn-id: r28703
2007-08-24 11:23:57 +00:00
Filippos Karapetis
1c065b1e14
Added skeleton code for sfScriptFade. Work is still needed in Gfx::palFade though, so it still doesn't work
...
svn-id: r28702
2007-08-23 13:56:25 +00:00
Filippos Karapetis
300ea0184a
The colors of the input text widgets are correct now in IHNM
...
svn-id: r28701
2007-08-23 13:34:28 +00:00
Filippos Karapetis
d4d255cd6d
Implemented music pause and resume
...
svn-id: r28698
2007-08-22 16:00:45 +00:00
Filippos Karapetis
cd3f8577c1
Mutexes are now used in the MIDI music playing code
...
svn-id: r28697
2007-08-22 15:28:31 +00:00
Filippos Karapetis
02e0d144e8
Implemented Music::stop
...
svn-id: r28695
2007-08-22 11:28:11 +00:00
Filippos Karapetis
9a9e42a1f6
Sprite priorities are now calculated correctly for IHNM
...
svn-id: r28694
2007-08-22 11:11:33 +00:00
Filippos Karapetis
bd4a289493
The height of the save file list slider is calculated correctly now for IHNM
...
svn-id: r28691
2007-08-21 18:23:48 +00:00
Filippos Karapetis
296080e44f
The button sprites of the warnings dialogs of IHNM are loaded correctly now. Also, the save file slider is shown correctly now (although it still needs some tweaking, as its virtual height is still the same as in ITE)
...
svn-id: r28690
2007-08-21 18:07:17 +00:00
Filippos Karapetis
bf1f23d378
Fixed the position of some widgets in the option dialogs of IHNM
...
svn-id: r28689
2007-08-21 18:04:47 +00:00
Filippos Karapetis
44f73a1b7c
Simplified blackToPal
...
svn-id: r28686
2007-08-21 14:59:02 +00:00