Andrew Kurushin
961cd63ae9
fix #1324803 ITE: Freeze during storm
...
svn-id: r19035
2005-10-12 17:56:07 +00:00
Torbjörn Andersson
744a01b449
Looks like my pitch wheel change still has the ability to break things. See
...
bug #1324103 .
I've changed it - again - so that now it only centers the pitch wheels on
unload if a new mpCenterPitchWheelOnUnload property has been set. Currently
only the SAGA engine does that, so if it still breaks it only breaks SAGA.
I've also fixed what looked like an unintentional fall-through in the
MidiParser::property() function. Surently that can't cause any new
regressions? Please.
svn-id: r19032
2005-10-12 06:57:25 +00:00
Torbjörn Andersson
ad8a71783a
This is an attempt to fix the actor frames in IHNM. It appears to be at
...
least partially successful.
svn-id: r19025
2005-10-11 18:11:58 +00:00
Torbjörn Andersson
e44213c832
Cleanups. Mostly whitespace.
...
svn-id: r19022
2005-10-11 17:39:31 +00:00
Torbjörn Andersson
f405adae1f
This should ensure that savegames are endian-safe. Unfortunately, I've just
...
broken any old savegame made on a big-endian machine. Oh well, better now
than after 0.8.0 ...
svn-id: r19021
2005-10-11 17:20:30 +00:00
Torbjörn Andersson
db4308d60b
Rewrote some code that didn't look alignment safe to me.
...
svn-id: r19020
2005-10-11 14:03:36 +00:00
Torbjörn Andersson
b7e62ffb18
Fix stack underflow when Gorrister examines the mirror in IHNM. opReturnV
...
was popping *twice* the number of parameters that had originally been
pushed.
This appears to have been a bug in the ITE floppy version as well; one that
was fixed in the CD version.
At least that's how I understand it.
svn-id: r19017
2005-10-11 13:23:47 +00:00
Torbjörn Andersson
2a562aa8ad
I was going to fix the IHNM sprite loader, but when I got here this morning
...
sev had already done that. All that was left for me was this final bit of
cleanup. :-)
svn-id: r19014
2005-10-11 06:08:42 +00:00
Eugene Sandulenko
618a50cec0
Do not draw status text during chapter selection
...
svn-id: r19013
2005-10-11 02:51:17 +00:00
Eugene Sandulenko
cfd74f19ad
oops.
...
svn-id: r19012
2005-10-11 02:44:25 +00:00
Eugene Sandulenko
f715044e4e
Some IHNM changes:
...
o Fix status text color. (Though text is all ITE-specific)
o Enable inventory drawing
o Load inventory sprites
o Hid now unneeded actor loading debug output
svn-id: r19011
2005-10-11 02:22:53 +00:00
Eugene Sandulenko
02bcf56072
Fixed sprite loading. Now that ugly hack is gone, no wrong reads and every
...
chapter is selectable without crash. As a side effect all buttons now have
correct backgrounds ;).
svn-id: r19010
2005-10-11 01:42:21 +00:00
Eugene Sandulenko
54449c920b
Fix portrait color. I just missed dependency from barometer.
...
svn-id: r19009
2005-10-11 01:00:56 +00:00
Eugene Sandulenko
7f11a7032c
Adjust save reminder position
...
svn-id: r19007
2005-10-10 23:28:22 +00:00
Torbjörn Andersson
6ce32fd4a5
IHNM verb panel fixes:
...
* Verb buttons and texts are drawn at the correct coordinates. I've
compared it to the screenshot on Mobygames.
* Verb text is drawn without shadow.
* The "Walk to", "Look at", "Take" and "Use" buttons all have the correct
background. For some reason, I can't find the sprites for the remaining
four buttons.
svn-id: r19004
2005-10-10 17:23:28 +00:00
Torbjörn Andersson
24202dea85
The demo resources list looked incomplete to me. Can anyone check if this
...
works?
svn-id: r19003
2005-10-10 15:48:15 +00:00
Torbjörn Andersson
832047efc9
Draw the IHNM portrait on the right coordinates.
...
svn-id: r19002
2005-10-10 15:31:42 +00:00
Travis Howell
bbb1bee568
Add defines for DOS demo resource numbers.
...
svn-id: r19001
2005-10-10 13:05:09 +00:00
Eugene Sandulenko
4158aa2070
First attempt to run DOS ITE demo
...
svn-id: r19000
2005-10-10 12:46:26 +00:00
Eugene Sandulenko
836ed9c9e0
Oops. Fix debug leftover.
...
svn-id: r18997
2005-10-10 02:48:23 +00:00
Eugene Sandulenko
fe88687ce7
Show save reminder in IHNM correctly.
...
svn-id: r18996
2005-10-10 02:42:50 +00:00
Eugene Sandulenko
b5b6b6ebb7
Eliminate font substitution ugliness.
...
svn-id: r18995
2005-10-10 02:09:08 +00:00
Eugene Sandulenko
fc11b60674
Draw main panel. Buttons lack backgorunds and save reminder is buggy atm.
...
svn-id: r18994
2005-10-10 02:02:58 +00:00
Torbjörn Andersson
c79dcadcc0
Apparently, the IHNM crosshair cursor, and the cursor hotspot, are both
...
hard-coded.
svn-id: r18993
2005-10-09 19:43:15 +00:00
Torbjörn Andersson
e330793547
Added optional parameter to setCursor() to specify which type of cursor you
...
want. ITE has only one cursor, so in that case the parameter is ignored,
and IHNM currently always gets the hourglass cursor. So it could be
improved. Lots. :-)
svn-id: r18992
2005-10-09 19:10:59 +00:00
Eugene Sandulenko
1e286ca84f
Specify some image resources.
...
svn-id: r18991
2005-10-09 19:00:14 +00:00
Torbjörn Andersson
3568b14a21
Removed TODO comment about actor strings loading.
...
svn-id: r18990
2005-10-09 16:25:47 +00:00
Eugene Sandulenko
d67009d5e5
Restore cursor after boss key.
...
svn-id: r18986
2005-10-09 03:45:16 +00:00
Eugene Sandulenko
c11575c99c
Boss key like in original. Press F9. Palette seems to be wrong though and
...
cursor does not reappear.
svn-id: r18985
2005-10-09 03:35:45 +00:00
Eugene Sandulenko
6cd35f7507
Now load actors only on demand. That lets select Nimdok (doctor) part. Just
...
click on him and move mouse away quickly, so it will not try to get actor's
name which is broken ATM.
svn-id: r18984
2005-10-09 01:43:08 +00:00
Eugene Sandulenko
d972e948c3
Simplified handleChapterSelectionUpdate()
...
svn-id: r18983
2005-10-09 01:20:46 +00:00
Eugene Sandulenko
d02c35c821
(more) Proper implementation of ChapterSelection panel. Though not all
...
functionality is implemented but it is enough for now. Lets select any
character.
svn-id: r18982
2005-10-09 01:18:26 +00:00
Torbjörn Andersson
18d33dc078
Read IHNM actor and object strings from the resource file. (This does not
...
keep whichObject() from crashing, but I don't know why.)
svn-id: r18980
2005-10-08 22:09:21 +00:00
Torbjörn Andersson
da43d814cd
Oops, made a typo when rewriting that comment.
...
svn-id: r18973
2005-10-08 21:33:31 +00:00
Torbjörn Andersson
60b85c5137
Cleanup.
...
svn-id: r18972
2005-10-08 21:28:14 +00:00
Eugene Sandulenko
f5f57c9a23
Put actors on the ground. No more upside down. Though probably drawClip()
...
has to be fixed too, but now we have no test case for this.
svn-id: r18966
2005-10-08 20:09:00 +00:00
Eugene Sandulenko
46660feeb2
Quick and dirty hack to enable actors interaction. Still have to compare
...
that with disasm.
svn-id: r18965
2005-10-08 19:53:38 +00:00
Eugene Sandulenko
528d2b2ca1
Now most artefacts are gone and we're in proper panel mode when running
...
character selection.
svn-id: r18961
2005-10-08 16:25:18 +00:00
Eugene Sandulenko
cf512d26de
Oops. Fix crash introduced by last commit.
...
svn-id: r18960
2005-10-08 15:35:07 +00:00
Eugene Sandulenko
176f32bfa1
_vm->getSceneHeight() --> _vm->_scene->getHeight() and make it return different
...
scene height for individual panel modes.
svn-id: r18959
2005-10-08 15:20:11 +00:00
Torbjörn Andersson
a202b15062
Added a "video" panel mode. From what I understand, the beginning of the
...
IHNM intro should use this, so now it does.
svn-id: r18957
2005-10-07 15:36:28 +00:00
Eugene Sandulenko
313fe937f7
Cleanup sprite header reader.
...
svn-id: r18956
2005-10-07 10:44:48 +00:00
Eugene Sandulenko
fe48a00517
Draw acrtors (eriktorbjorn, rejoice).
...
It:
o breaks intro, as now everything seems to be shifted.
o Shows problem at our firt scene where there is no inventory drawn
o Shows problem with our animation code, actor frames are wrong
o Draws actors upside down and probably at wrong location
o Due to incomplete implementation of whichObject() it crashes when
you hover over characters.
svn-id: r18952
2005-10-07 05:31:13 +00:00
Torbjörn Andersson
5f20bf11e6
It should always be possible to interrupt the intro with Escape now. Most
...
of the job was already done, though. Only the final bit was missing.
svn-id: r18951
2005-10-06 15:56:06 +00:00
Torbjörn Andersson
92f5e206bd
Disabled scene background music for IHNM, for now. It was trying to start
...
the end credits music right after the intro.
svn-id: r18950
2005-10-06 15:54:43 +00:00
Eugene Sandulenko
b332ea95ec
oops. reverted last change.
...
svn-id: r18938
2005-10-05 02:01:52 +00:00
Eugene Sandulenko
b76d1b36ae
Fix to fixed palette range.
...
svn-id: r18937
2005-10-05 02:00:17 +00:00
Eugene Sandulenko
8912fcb805
Simplified palette code.
...
svn-id: r18936
2005-10-05 01:40:55 +00:00
Eugene Sandulenko
579478a586
IHNM used only 248 colors for game graphics. Top part of the palette
...
was read from resources. Switching to this scheme fixes magenta outlines
in subtitles.
svn-id: r18935
2005-10-05 01:31:46 +00:00
Eugene Sandulenko
c7e8af5e5e
Proper place for cutawaySkip() call
...
svn-id: r18934
2005-10-04 23:59:09 +00:00