Commit Graph

322 Commits

Author SHA1 Message Date
Andrew Kurushin
a66080b80a - some "actors walk" work progression
svn-id: r16308
2004-12-25 11:17:03 +00:00
Eugene Sandulenko
a8c8a7ab4c There appeared to be different DOS CD version. Also fixed DOS demo detection
svn-id: r16307
2004-12-25 10:32:05 +00:00
Andrew Kurushin
db32aebfa0 - compile error fix
svn-id: r16300
2004-12-24 21:16:24 +00:00
Andrew Kurushin
2289ea371b - remove old stuff
- work on "walking" in progress

svn-id: r16298
2004-12-24 20:44:39 +00:00
Andrew Kurushin
f0bc27f11c - fixed actors state after end of speech
svn-id: r16297
2004-12-24 14:47:52 +00:00
Andrew Kurushin
c8d8972dd0 - resolved protagonist swapping problem
svn-id: r16296
2004-12-24 14:21:47 +00:00
Andrew Kurushin
841962dcb9 -fixing second speech line cut
svn-id: r16295
2004-12-24 13:42:05 +00:00
Eugene Sandulenko
c241041185 Add FIXME to newly added actor animation code
svn-id: r16293
2004-12-24 13:14:23 +00:00
Eugene Sandulenko
af0a1792f8 Implement proper game autodetection
svn-id: r16292
2004-12-24 13:01:47 +00:00
Andrew Kurushin
241155c882 - aninamation cycle now approach to original
svn-id: r16290
2004-12-24 12:47:16 +00:00
Andrew Kurushin
573da1e79c - opCCall* on debuglevel==9 shows script function name
svn-id: r16289
2004-12-24 11:11:01 +00:00
Andrew Kurushin
53852dd52d - fix of 8 to 4 direction conversion
- added sfSetActorState function

svn-id: r16288
2004-12-24 10:22:01 +00:00
Eugene Sandulenko
344d33c901 o Lowercased all filenames for better readability
o Merged in windows demos files lists
o Added Linux CD target. Someone (erik?) please provide md5 of first
  5000 bytes of that file

svn-id: r16273
2004-12-23 07:08:22 +00:00
Eugene Sandulenko
9942dc55d0 sdata.cpp not needed anymore
svn-id: r16264
2004-12-22 22:52:20 +00:00
Andrew Kurushin
3d9784f94d - rewriten actors action handling (now uses all original flags etc)
- added some script functions (swapactors...)
- many things were renamed according scummvm covention
- resource id definintions should begin with "RID_" prefix

- intro temporary broken - work in progress
todo:
- walking hanling also should be rewriten
- timings for speech and actor cycling should be more accurate

svn-id: r16263
2004-12-22 21:04:50 +00:00
Eugene Sandulenko
ab4734dcf6 o Fix regression with Mac versions
o Normalize GIDs and GTypes
o Introduce MD5-based game detection. Now only 2 games should be ordered.
  Linux demo should go before Win32 newer demo
o Fix sound in Mac versions

svn-id: r16262
2004-12-22 19:34:41 +00:00
Eugene Sandulenko
2fb8a8e453 o Moved GAME_* to SagaEngine object
o Renamed GAME_ITE_* to GID_ITE_*
o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM

svn-id: r16258
2004-12-22 13:09:47 +00:00
Eugene Sandulenko
c6c2ed9c48 Implement sprites scaling. Though it seems too zealous for me, i.e. sprites
scale down too fast. Will compare it with original soon.

svn-id: r16244
2004-12-21 16:12:03 +00:00
Andrew Kurushin
412df729a2 - some fixes for previous commit (incrementation of sampleResourceId)
- previous commit also introduce sound speech of first scene in ITE DOS version

svn-id: r16240
2004-12-21 10:30:49 +00:00
Torbjörn Andersson
839fc0df83 Fixed warning.
svn-id: r16239
2004-12-21 08:03:32 +00:00
Andrew Kurushin
ea3b0d1100 - rewritten actors speech engine :
1) there are three types of speech: one acor, multiple actor, non actor
  2) slow speech implemented
  3) uses native engine flags (async,noanimate...) instead of semaphores
- proper timings implemented

svn-id: r16237
2004-12-21 06:49:07 +00:00
Andrew Kurushin
3f55bee199 - implemented perspective actors calculation
TODO: decodeRLESprite must do scale

svn-id: r16135
2004-12-19 13:38:11 +00:00
Andrew Kurushin
34dd84f339 now actors will not stuck in the middle of dialog
svn-id: r16123
2004-12-18 21:38:56 +00:00
Andrew Kurushin
62224e135b - updating actors state so they can be clipped on drawing (intro now runs without artefact)
- order list now uses only in draw section
- drawList rename to drawActors

svn-id: r16122
2004-12-18 20:33:02 +00:00
Andrew Kurushin
1724d00962 sprite loading fix in win demo
svn-id: r16119
2004-12-18 16:08:59 +00:00
Andrew Kurushin
79ce4de942 - all actors creates on start
- many parts renamed to proper names

regression: unexpected actor apeared while intro is played

svn-id: r16104
2004-12-17 20:38:17 +00:00
Andrew Kurushin
28e5422fd8 actors rearrangement bugfix
svn-id: r16094
2004-12-17 11:18:56 +00:00
Eugene Sandulenko
13a4006b69 Proper fix for line endings.
svn-id: r16089
2004-12-16 21:33:58 +00:00
Andrew Kurushin
af5996f99a trying remove CRLF
svn-id: r16088
2004-12-16 21:30:06 +00:00
Andrew Kurushin
c1810c8de2 reorderUp and reorderDown should return new item position
svn-id: r16087
2004-12-16 20:49:17 +00:00
Torbjörn Andersson
e39bec5419 Removed unused variable.
svn-id: r16076
2004-12-16 10:58:50 +00:00
Gregory Montoir
eae8e5cbc7 fix compilation (under mingw/gcc3.4)
svn-id: r16062
2004-12-15 20:22:52 +00:00
Eugene Sandulenko
8ce9683bca Fix warning
svn-id: r16061
2004-12-15 20:11:39 +00:00
Eugene Sandulenko
2bf74ffd35 Forgot to remove ys_dl_list.o
svn-id: r16059
2004-12-15 12:12:57 +00:00
Eugene Sandulenko
502b279d24 Patch #1081904 ITE: MAC demo support
o Endianness-aware resource loading
o Removed ys_dl_list in favor of our object implementation
o Cleanup in actor code
o Partial support for ITE Mac rereleased demo

svn-id: r16051
2004-12-15 00:24:12 +00:00
Max Horn
e1f6101140 use loadVOCFromStream
svn-id: r16036
2004-12-11 23:36:17 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Eugene Sandulenko
ece69c12e8 Use some disassembly-based values.
svn-id: r16000
2004-12-08 03:15:36 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Torbjörn Andersson
76bf11cbdf Oops, I forgot to make this change before making the last commit.
svn-id: r15978
2004-12-03 19:19:56 +00:00
Torbjörn Andersson
c64c7eb4d4 First pass at migrating from the old Reinherit console to the ScummVM
console.

Some things are likely to have broken. For instance, I believe the old
console was could be visible during gameplay, while ScummVM's is modal. So
any place where we output something to the console during gameplay should
probably be removed.

Some things I've stubbed out. Basically any code that registers a variable.

Most of the debugging commands are untested.

Syntax may have changed because of different command-line parsing. (I never
actually used the old console, so I don't know for sure. :-)

Actually, I'm not that interested in reproducing the old console commands
faithfully. What we should do now is to make the immediately useful console
stuff work. Anything that remains unimplemented should probably be removed.

svn-id: r15976
2004-12-03 19:15:44 +00:00
Torbjörn Andersson
2cfdcb5a59 Stop sounds at the beginning of a scene. Two reasons: we already stop
voices at the same time, and I didn't want the looping background sound in
the IHNM intro to keep playing if escaping during the "hate speech".

svn-id: r15975
2004-12-03 13:39:00 +00:00
Max Horn
5d5a13eec7 Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
svn-id: r15968
2004-12-02 00:33:42 +00:00
Eugene Sandulenko
99503e3a32 Fix music volume
svn-id: r15959
2004-11-29 00:17:03 +00:00
Jerome Fisher
1b638b829e Who started this trend? :)
MT-32 emulator should be handled just like all other drivers, except that it should always be considered native MT-32.

svn-id: r15952
2004-11-28 23:08:05 +00:00
Torbjörn Andersson
0d951de5e9 Using a slightly hacked DOSbox I believe I have verified that the first
music track and the looping background noise over the "hate" speech are
correct. I was already pretty sure of the music, but the sound was just a
lucky guess.

The script LUT, which is what I really wanted to find, remains elusive,
though. I couldn't see it reading any part of the resource file that looked
anything like the script LUT in ITE.

svn-id: r15942
2004-11-28 18:28:40 +00:00
Torbjörn Andersson
988b0ce9c1 Added debug message similar to the one for the scene LUT.
svn-id: r15941
2004-11-28 18:26:09 +00:00
Max Horn
1a7ca2dc2a AudioStream::read() has been removed quite some time ago, now making sure that change is reflected everywhere
svn-id: r15911
2004-11-27 13:54:09 +00:00
Torbjörn Andersson
66b8bcd7eb Added looping background noise to the IHNM intro. I don't know if it's the
correct sound or the correct volume, but the small extension to allow the
engine to start looping sounds is worthwhile enough in itself, I think.

svn-id: r15895
2004-11-26 13:28:00 +00:00
Torbjörn Andersson
41d1be2ea8 After listening to some of the IHNM music from both the FM and GM music
files through the MIDI synth on my Soundblaster, I can only conclude that
they are both General MIDI, so I've changed our code to assume that in both
cases. The End Title (which we currently incorrectly play at the end of the
intro) sounds much better in Adlib this way, too.

Perhaps the original used a different GM to FM mapping than the one in our
adlib.cpp, but if so using the MT-32 to GM mapping isn't likely to improve
the situation.

We could add a way of replacing the GM to FM mapping in adlib.cpp, I guess.
Of course, that would only be worth it if the original sounds better than
our mapping.

svn-id: r15894
2004-11-26 10:04:36 +00:00