Commit Graph

12154 Commits

Author SHA1 Message Date
Torbjörn Andersson
03c32f05b0 Temporarily disable the status bar in IHNM. The only place where we drew it
so far, it shouldn't be drawn. Eventually we could probably handle this
with yet another panel mode: no panel at all.

svn-id: r15882
2004-11-25 07:18:35 +00:00
Torbjörn Andersson
7c43635212 Fixed a really stupid memory leak I introduced yesterday.
svn-id: r15881
2004-11-25 07:15:08 +00:00
Torbjörn Andersson
ee2f492cd9 Removed the hard-coded monologue. I realized that it was probably scripted,
and sev later confirmed this.

Instead I now try to start the - hopefully - correct scene. This should
start the script, but unfortunately we do not yet support IHNM script
loading so it won't work yet.

svn-id: r15880
2004-11-25 07:13:40 +00:00
Torbjörn Andersson
ecc7b79a44 Initialize variable to avoid warning and possibly undefined behaviour.
svn-id: r15879
2004-11-25 07:09:30 +00:00
Robert Göffringmann
b142514151 fix for bug 928791: BS1: 'Freeze' at hospital
svn-id: r15878
2004-11-24 21:03:21 +00:00
Torbjörn Andersson
87ffc13324 Added the voice-overs and partial subtitles for the IHNM intro monologue.
svn-id: r15877
2004-11-24 15:02:00 +00:00
Torbjörn Andersson
373a19eef1 Added the next piece of music, to go along with AM's rantings. I'll
probably add some more of AM's speech soon, since that'd give me an
incentive to fix the remaining parts of the WAV playback code. I'll see if
I can add subtitles as well, like we do for ITE.

svn-id: r15876
2004-11-24 10:37:33 +00:00
Max Horn
147a09bcf5 (Partial) fix for bug #1035690 (COMI: cannon shooting uses a lot of performance) -- remember, busy waiting is almost always bad, esp. when waiting for another thread...
svn-id: r15875
2004-11-24 10:00:02 +00:00
Max Horn
666d7d106d Some code transformations (no functional change)
svn-id: r15874
2004-11-24 09:47:32 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Gregory Montoir
6414ec92a2 cleanup, follow code conventions
svn-id: r15872
2004-11-23 22:21:45 +00:00
Gregory Montoir
9c317c95c3 sync queen engine with latest OSystem changes
svn-id: r15871
2004-11-23 21:51:30 +00:00
Eugene Sandulenko
7877ccf628 Next step in transaction implementation. Now it postpones all calls.
NOTE: This breaks most ports, and they will not pass assertions. If you will
fix it (by moving violating OSystem calls to go() method), I'll be grateful.
If you don't bother to fix it, there is a workaround. Just comment out
beginGFXTransaction() and endGFXTransaction() in backends/sdl/graphics.cpp.
This will tunr it off and will use default transaction-less implementation.

svn-id: r15870
2004-11-23 21:30:38 +00:00
Gregory Montoir
37e900a2a3 renamed some HE opcodes
svn-id: r15869
2004-11-23 19:47:54 +00:00
Max Horn
8069f30030 Moved bootscript loading into go(), where it belongs
svn-id: r15868
2004-11-23 09:36:46 +00:00
Travis Howell
bc34d0d562 Revert small part of recent WizImage changes, caused regressions.
svn-id: r15867
2004-11-23 03:08:40 +00:00
Eugene Sandulenko
d75cc2386d Fix compilation
svn-id: r15866
2004-11-23 00:48:34 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
8ac347fd95 Added OSystem::beginGFXTransaction / endGFXTransaction (not yet implemented, though :-)
svn-id: r15864
2004-11-22 23:25:08 +00:00
Max Horn
96804652a2 cleanup
svn-id: r15863
2004-11-22 22:52:48 +00:00
Max Horn
e146d5f8c3 Renamed unkMessage2 to showMessageDialog; use printString() in script_v100he.cpp, too
svn-id: r15862
2004-11-22 22:32:46 +00:00
Gregory Montoir
f66f786558 possible fix for 'bug' #1034715
svn-id: r15861
2004-11-22 22:16:50 +00:00
Gregory Montoir
9bbb5fa0db HE wiz update, o90_unknown29 fully implemented.
Next step : move all the wiz related stuff to a specific class/struct.

svn-id: r15860
2004-11-22 20:34:29 +00:00
Jerome Fisher
defa86961a - Hopefully fixed MSVC7 and MSVC8 builds for walkthrough removal and FS changes. I don't have these environments to test in, sorry.
svn-id: r15859
2004-11-22 07:25:02 +00:00
Gregory Montoir
856b589653 as the comment suggested, I rearranged the 3DO strip decoding function. Please, someone owning the 3DO games, test that this doesn't cause any regressions !
svn-id: r15858
2004-11-21 21:40:51 +00:00
Gregory Montoir
cf7f878ddc HE wiz stuff update
svn-id: r15857
2004-11-21 21:31:28 +00:00
Gregory Montoir
be0fb14fac o90_unknown24 implementation
svn-id: r15856
2004-11-21 20:55:56 +00:00
Torbjörn Andersson
ee565c0bae Applied one of my suggested fixes for bug #1060568. Let's see if it causes
any regressions...

svn-id: r15855
2004-11-21 17:47:05 +00:00
Torbjörn Andersson
a607d2248f But surely we should still call setGM(true) in the GM case, right...?
svn-id: r15854
2004-11-21 16:15:58 +00:00
Max Horn
fb32e12095 Fix for bug #1052660 (FOA: No keyboard shortcuts for dialogs) - moved hack enabling keyboard fights to allow controlling conversations via number keys again
svn-id: r15853
2004-11-21 14:48:17 +00:00
Max Horn
879431e76b Fixed behaviour of return key in the file browser
svn-id: r15852
2004-11-21 13:39:54 +00:00
Max Horn
01cb15b9b2 Since we do ref counting on the nodes now, we can re-use the root nodes now
svn-id: r15851
2004-11-21 13:18:07 +00:00
Eugene Sandulenko
eb44281ecb o Removed astray debug output.
o MT-32 music is correct, though Adlib is not. There is apparently custom
 instrument remapping similiar to mt32->gm but it is different. With
 that remapping it sounds much closer to original.

svn-id: r15850
2004-11-21 00:37:18 +00:00
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Max Horn
5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
svn-id: r15848
2004-11-20 21:35:49 +00:00
Torbjörn Andersson
c93f57b112 Slight adjustment/renaming.
svn-id: r15847
2004-11-20 17:32:47 +00:00
Torbjörn Andersson
9766d59b7e I'm told that the FM music file sounds terrible with MT-32 and that the
MT-32 is perfectly capable of playing General MIDI. My new guess is that
the FM file is for Adlib instead. It certainly sounds better - but quite
different - than playing the GM track through Adlib.

svn-id: r15846
2004-11-20 17:19:15 +00:00
Max Horn
44ab7ce0be whitespaces
svn-id: r15845
2004-11-20 01:55:53 +00:00
Eugene Sandulenko
e5cc4c629a o Restore cursor after walkthrough
o Add cursor events
o Hide cursor during intro

svn-id: r15844
2004-11-20 00:05:50 +00:00
Paweł Kołodziejski
5748227adc missed destroy object after last changes
svn-id: r15843
2004-11-19 22:53:20 +00:00
Paweł Kołodziejski
a7b7a281f1 changed file constructor to dymanic
svn-id: r15842
2004-11-19 22:43:20 +00:00
Paweł Kołodziejski
309108430c init walkthrough dialog later
svn-id: r15841
2004-11-19 22:33:24 +00:00
Paweł Kołodziejski
734a7d3102 fixed missed ctrl key handle, and missed create() walklthrough call
svn-id: r15840
2004-11-19 22:30:18 +00:00
Paweł Kołodziejski
8dc5c9843c fixed additional not needed white space char
svn-id: r15839
2004-11-19 22:09:23 +00:00
Paweł Kołodziejski
1f6bcee124 not needed chech for unsigned type
svn-id: r15838
2004-11-19 22:02:59 +00:00
Paweł Kołodziejski
b08b04b550 fixed not defined MAX_PATH
svn-id: r15837
2004-11-19 21:58:24 +00:00
Paweł Kołodziejski
dc7a20ccc3 ops, commited before older version
svn-id: r15836
2004-11-19 20:30:26 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Paweł Kołodziejski
c4a8b3c8b5 ops
svn-id: r15834
2004-11-19 18:13:05 +00:00
Paweł Kołodziejski
f02b07d6d0 update
svn-id: r15833
2004-11-19 18:08:02 +00:00