254 Commits

Author SHA1 Message Date
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
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Torbjörn Andersson
d173491acc Added music to the partial IHNM intro. I think I picked the correct tune,
but I can't be absolutely sure.

I'm also not sure if I'm using the correct music data. I'm fairly sure that
the MUSICGM.RES file is the appropriate choice for "General MIDI", but I
have no way of verifying that the MUSICFM.RES is really the right choice
for MT-32. (Is either of them a good choice for Adlib, or are they both
equally bad?)

svn-id: r15831
2004-11-19 07:41:59 +00:00
Eugene Sandulenko
f930782098 Make IHNM default be 1x scaler.
svn-id: r15829
2004-11-18 22:54:15 +00:00
Torbjörn Andersson
f80bdba62f Partial support for WAV sound playback, which apparently will be needed for
IHNM support. I used the partial IHNM intro as my test case, and it seems
to work that far at least.

svn-id: r15827
2004-11-18 17:34:54 +00:00
Torbjörn Andersson
455d2a127a GCC doesn't like "const int" in a struct apparently.
svn-id: r15817
2004-11-15 08:11:02 +00:00
Eugene Sandulenko
4295a17c23 o Make GAME_GetFileContext() more object-like
o Font::loadFont() now normally survives zero-length fonts as used in demos
o Removed unused SndRes::ITEVOC_Resample()
o Fixed playing of voice #4 on old DOS targets
o Implemented playing voices in VOX (Oki ADPCM) format
o Support of Win32 and Linux demos. There was old-style Win32 demo, which
  is not supported yet, same is with DOS demo.

svn-id: r15814
2004-11-15 03:03:48 +00:00
Oliver Kiehl
61efd5ff0e Fix stub a bit. Might garble rest of script otherwise.
svn-id: r15806
2004-11-14 13:15:26 +00:00
Torbjörn Andersson
057cec5a05 Slight renaming
svn-id: r15796
2004-11-12 15:32:42 +00:00
Torbjörn Andersson
e583efe1ad Better names.
svn-id: r15795
2004-11-12 15:19:32 +00:00
Torbjörn Andersson
073d0680e1 Renamed SF_getObjName() to SF_getObjImage() and unstubbed it. (Untested)
svn-id: r15728
2004-11-07 15:35:42 +00:00
Torbjörn Andersson
d6cfbdad21 Unstubbed SF_setObjImage(). (Untested)
svn-id: r15727
2004-11-07 15:28:20 +00:00
Torbjörn Andersson
ebb77764c6 Unstubbed SF_putString(). (Untested, but appears to be just for debugging.)
svn-id: r15726
2004-11-07 15:23:00 +00:00
Torbjörn Andersson
24f8bdf679 Unstubbed SF_sceneID(). (Untested)
svn-id: r15725
2004-11-07 15:16:57 +00:00
Torbjörn Andersson
18abe168ce Unstubbed SF_dropObject(). (Untested)
svn-id: r15724
2004-11-07 15:11:04 +00:00
Torbjörn Andersson
c55ff57fc6 Initial inventory support.
svn-id: r15723
2004-11-07 14:15:41 +00:00
Eugene Sandulenko
74704a4d95 Add stub for every script function
svn-id: r15722
2004-11-06 22:33:08 +00:00
Torbjörn Andersson
c3bc9e2e95 Indentation
svn-id: r15721
2004-11-06 11:59:29 +00:00
Torbjörn Andersson
18831f1df8 Cleanup
svn-id: r15720
2004-11-06 09:29:22 +00:00
Torbjörn Andersson
6b3432a93e Be more consistent with the other module.mk files.
svn-id: r15719
2004-11-06 09:26:36 +00:00
Torbjörn Andersson
271f84cbde Whitespace fix
svn-id: r15710
2004-11-03 07:43:09 +00:00
Eugene Sandulenko
4bbd0cfe87 Hacked Okk entry is not needed anymore.
svn-id: r15709
2004-11-02 19:05:59 +00:00
Torbjörn Andersson
f2173960a7 Removed unknown part of IMAGE_HEADER struct since it wasn't used in the
original code either. (Apparently it was reserved for future use.)

I think the only remaining data structure with unknown members now is
ANIMATION_HEADER. Of course, there's probably a lot that isn't implemented
at all, too...

svn-id: r15708
2004-11-02 08:37:14 +00:00
Torbjörn Andersson
1af83b0c96 Renamed the "unknown" parameters. I hope I didn't make too many errors.
svn-id: r15707
2004-11-01 10:49:21 +00:00
Torbjörn Andersson
29a142e705 Updates
svn-id: r15706
2004-10-31 13:51:45 +00:00
Torbjörn Andersson
a2d000b267 Renamed an "unknown" variable.
svn-id: r15705
2004-10-31 13:51:28 +00:00
Torbjörn Andersson
b0110fe5b2 Whitespace fixes
svn-id: r15704
2004-10-31 13:51:01 +00:00
Max Horn
4126001b86 Turn some methods into functions (potentially gives better code, and we may want to move some of those into the graphics/ module one day)
svn-id: r15703
2004-10-30 22:34:08 +00:00
Max Horn
06c46fe423 Let Saga::SURFACE inherit from SURFACE
svn-id: r15702
2004-10-30 22:13:48 +00:00
Torbjörn Andersson
afc07026c6 Renaming of struct members.
svn-id: r15696
2004-10-30 10:31:00 +00:00
Torbjörn Andersson
fe6d66a243 Renamed some previously unknown variables.
svn-id: r15695
2004-10-28 07:31:16 +00:00
Torbjörn Andersson
8050e42812 Updated with my recent actor flag changes.
svn-id: r15694
2004-10-28 07:25:29 +00:00
Paweł Kołodziejski
1d6de6f5e4 replaced printf usage in saga
svn-id: r15693
2004-10-28 06:55:50 +00:00
Travis Howell
7aa3cded08 Remove stray
svn-id: r15692
2004-10-28 01:56:25 +00:00
Eugene Sandulenko
213c4093ba Implement some script functions and report stubs.
svn-id: r15691
2004-10-27 22:17:11 +00:00
Paweł Kołodziejski
c7e5ab1f2d removed R_ prefix with few r_ too
svn-id: r15690
2004-10-27 21:32:28 +00:00
Eugene Sandulenko
b4df9bb2c1 Started to rework script threads. Partially moved to thread flags.
Scene skipping now works, but scripts aren't chained yet.

svn-id: r15688
2004-10-27 02:27:54 +00:00
Torbjörn Andersson
dc796c9399 Better test for if it's the protagonist who leaves the scene.
svn-id: r15687
2004-10-26 07:02:32 +00:00
Torbjörn Andersson
4a8213347a Note which entry corresponds to which actor in the actor table.
svn-id: r15686
2004-10-26 07:01:57 +00:00
Torbjörn Andersson
83605fec24 Rename fields in R_ACTORTABLE struct (I think this is what they mean), and
added symbolic names for actor flags.

svn-id: r15685
2004-10-26 07:01:26 +00:00
Eugene Sandulenko
074ed07084 Properly nitialize _passThrough variable.
svn-id: r15658
2004-10-22 23:45:50 +00:00
Torbjörn Andersson
f9f5845e2d Made the usage of the Rect data type more consistent with the rest of
ScummVM.

Note that these are only the cases I was able to find in one morning. There
may be others left to fix. But I'm sure at least most of them will be found
when we start cleaning up the codebase a bit.

svn-id: r15641
2004-10-22 07:21:17 +00:00
Torbjörn Andersson
4115b54b00 Fixed two of my own stupid bugs:
* The length of a script data buffer is measured in words, not bytes.
* In the long run, I'm sure it'll work better if the data buffers do not
  point to recently freed data.

svn-id: r15640
2004-10-22 07:18:01 +00:00
Eugene Sandulenko
44bd54b476 Better support of MT-32.
svn-id: r15636
2004-10-21 22:40:06 +00:00
Torbjörn Andersson
1e062a6d89 A bunch of mostly panel-related fixes for the ITE intro. Apart from the
numerous animation glitches, it's looking almost like the real thing now.

It's no longer possible to walk away during the intro. This should provide
a great incentive to implement the "Escape" feature. ;-)

svn-id: r15626
2004-10-21 06:49:11 +00:00
Torbjörn Andersson
ed089f7f38 Fixed some clipping problems. I think there are more still in there, but I
am sorely tempted to rewrite so that we use the Rect datatype consistently
with how most of the rest of ScummVM does. (E.g. a rectangle covering the
entire ITE screen would have right and bottom as 320 and 200 respectively,
not 319 and 199 like I think we do now.)

svn-id: r15625
2004-10-21 06:47:21 +00:00
Eugene Sandulenko
e58a097acf FX_CROWD constants are correct.
Add some simple stub.

svn-id: r15621
2004-10-20 22:38:24 +00:00
Torbjörn Andersson
f4443646e5 Oops, now it plays the correct music again, I hope. The sound effects seem
a bit better now, too. At least the crowd is no longer cheering when the
fair is closed.

svn-id: r15617
2004-10-19 18:45:42 +00:00
Torbjörn Andersson
20e57d8bd5 Cleanup. No need to have a lookup table for something that can be expressed
by simple arithmetics.

svn-id: r15615
2004-10-19 18:11:50 +00:00