Commit Graph

356 Commits

Author SHA1 Message Date
Torbjörn Andersson
1bc636aaa6 Fixed a few things in the IHNM intro. Most noticeably I've added an event
for starting animations, which I use to prevent the first animation frame
from being drawn too early.

svn-id: r16407
2005-01-02 14:36:00 +00:00
Torbjörn Andersson
9678589779 The 'n_voices' field of the voice LUT was never assigned a value. So if
anyone heard any voices - I did, except under Valgrind - it was pure luck.

svn-id: r16406
2005-01-02 14:30:50 +00:00
Max Horn
2664ca7eb1 oops, correct copyright string
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Torbjörn Andersson
c27969d5db Slight adjustment of placard text position. It's still not identical to the
original, but I don't consider that to be a problem.

svn-id: r16395
2004-12-31 17:39:57 +00:00
Eugene Sandulenko
75f31d28c9 o COde formatting
o Improved debug output
o Do not produce a lot of frameCount < 0 messages
o Okk now appears after first scene
o implemented yet another animation function
o Renamed SF_* -> sf* for functions I know are correct

svn-id: r16390
2004-12-30 18:45:48 +00:00
Torbjörn Andersson
1a27617a95 Renamed the "placard" opcode functions. They should be reasonably bug free
now.

svn-id: r16387
2004-12-30 14:54:40 +00:00
Torbjörn Andersson
8ce71ebb20 Fixed warning.
svn-id: r16386
2004-12-30 14:54:08 +00:00
Andrew Kurushin
8531caf822 - fixed canWalk bug
svn-id: r16378
2004-12-29 22:50:19 +00:00
Andrew Kurushin
5019da43bd - some update
svn-id: r16377
2004-12-29 22:31:21 +00:00
Andrew Kurushin
cc2f79394b - fixing compilation
svn-id: r16376
2004-12-29 22:00:47 +00:00
Andrew Kurushin
41a5251e28 - some work in progress
svn-id: r16375
2004-12-29 21:49:25 +00:00
Eugene Sandulenko
8cf04e3928 Just compared with original. Correct fade durations confirmed. I just used
to our 3x slower ones :).

svn-id: r16374
2004-12-29 19:45:57 +00:00
Eugene Sandulenko
80647dd424 PALETTE_FADE_DURATION -> kNormalFadeDuration
svn-id: r16373
2004-12-29 19:40:59 +00:00
Eugene Sandulenko
904af077e3 Let user exit at the transition, i.e. process user input
svn-id: r16372
2004-12-29 19:17:20 +00:00
Torbjörn Andersson
a5656fa83e Implemented the "placard" functions, because they're such a nice visual
feedback that something right is happening.

svn-id: r16371
2004-12-29 16:10:53 +00:00
Torbjörn Andersson
fd0efdc654 Might as well initialise this variable.
svn-id: r16370
2004-12-29 16:05:12 +00:00
Andrew Kurushin
6b4264d3a8 - fixed fingolfin notification
svn-id: r16369
2004-12-29 14:33:14 +00:00
Max Horn
44531e4aee Fix warning. SAGA coders should fix this properly :-)
svn-id: r16367
2004-12-29 12:59:17 +00:00
Eugene Sandulenko
db249a8fe1 Fix regression with IHNM.
Add IHNM demo MD5s. demo does not work at all yet

svn-id: r16365
2004-12-28 23:18:11 +00:00
Andrew Kurushin
cc18520fe5 -addition to previous
svn-id: r16364
2004-12-28 21:33:46 +00:00
Andrew Kurushin
d6a4ffc2b0 - many actor walk related functions added
- implemented script functions for scriptDoors (except iso mode)
- introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset()

svn-id: r16363
2004-12-28 21:27:18 +00:00
Eugene Sandulenko
8e42cbde2a Remove leftover debug message
svn-id: r16361
2004-12-28 21:04:58 +00:00
Torbjörn Andersson
accc6897b0 Added MD5 sums for IHNM so that we can watch the intro again. It seems to
have developed a few regressions though.

svn-id: r16358
2004-12-28 17:43:23 +00:00
Eugene Sandulenko
3cfbc4082b Partial fix for Mac intro. Sprites are still incorrect because of lack of
m68k asm knowledge :)

svn-id: r16356
2004-12-28 13:34:33 +00:00
Eugene Sandulenko
864b1f88c0 Implement rest of animation-related opcodes.
svn-id: r16353
2004-12-28 04:09:10 +00:00
Eugene Sandulenko
03ed4dd4df o Fixed animation playback
o Implemented almost all animation opcodes

svn-id: r16352
2004-12-28 03:44:07 +00:00
Max Horn
d299f0601b Reducing header dependencies a bit
svn-id: r16347
2004-12-27 22:08:20 +00:00
Torbjörn Andersson
2269576ce9 Added MD5 sum for Linux music file.
svn-id: r16340
2004-12-27 16:48:07 +00:00
Torbjörn Andersson
e582a244db Removed unused variable.
svn-id: r16339
2004-12-27 16:46:24 +00:00
Max Horn
67b311713d Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
2004-12-27 00:27:00 +00:00
Max Horn
81b6e9e1e6 Get rid of the useless & troublesome master_volume
svn-id: r16328
2004-12-25 23:43:05 +00:00
Eugene Sandulenko
dbe3966624 o Merge game detection and game probing in one function
o Print out message about unknown MD5s

svn-id: r16313
2004-12-25 16:55:13 +00:00
Max Horn
1b82711302 There is no 'max' function on some of our targets
svn-id: r16309
2004-12-25 13:19:45 +00:00
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