159 Commits

Author SHA1 Message Date
Torbjörn Andersson
e44213c832 Cleanups. Mostly whitespace.
svn-id: r19022
2005-10-11 17:39:31 +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
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
54449c920b Fix portrait color. I just missed dependency from barometer.
svn-id: r19009
2005-10-11 01:00:56 +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
832047efc9 Draw the IHNM portrait on the right coordinates.
svn-id: r19002
2005-10-10 15:31:42 +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
fc11b60674 Draw main panel. Buttons lack backgorunds and save reminder is buggy atm.
svn-id: r18994
2005-10-10 02:02:58 +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
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
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
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
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
Eugene Sandulenko
c7e8af5e5e Proper place for cutawaySkip() call
svn-id: r18934
2005-10-04 23:59:09 +00:00
Eugene Sandulenko
62a9b56577 IHNM changes:
o Latest bit of Game Object structure
  o Implemented spiritual barometer
  o Fixed Ethics points data type
  o Implemented sf74 and sf104

svn-id: r18933
2005-10-04 23:38:19 +00:00
Torbjörn Andersson
0719a4e6c2 I misunderstood sev on how sf75() should work. Perhaps this is better?
svn-id: r18932
2005-10-04 18:19:14 +00:00
Eugene Sandulenko
05ccf63898 Implement sfWaitFramesEsc()
svn-id: r18894
2005-09-28 15:41:21 +00:00
Eugene Sandulenko
c8a2de6e6e Implement option buttons functionality. This fixes bug #1259518 "ITE: Buttons
in Options Dialog not fully functional"

svn-id: r18738
2005-09-02 20:17:52 +00:00
Eugene Sandulenko
f2c542547d Fix bug #1256381 "ITE: Options menu contains wrong item" and gave symbolic
names to text Ids.

svn-id: r18699
2005-08-16 19:04:51 +00:00
Eugene Sandulenko
8c4494578e Fix bug #1258537 "ITE: Introduction text is black"
svn-id: r18677
2005-08-13 19:41:11 +00:00
Eugene Sandulenko
8242e3e2bc Fixe bug #1257869 "ITE: Crash when viewing the map"
svn-id: r18673
2005-08-13 01:05:59 +00:00
Eugene Sandulenko
6442092616 Fix bug #1257530 "ITE: Mouse pointer visible during cutscenes"
svn-id: r18672
2005-08-12 20:06:41 +00:00
Eugene Sandulenko
c1591bebc4 Fix bug #1256368 "ITE: Black pixels drawn as white at sanctuary gate"
svn-id: r18665
2005-08-11 19:11:15 +00:00
Eugene Sandulenko
2478c430de Fix bugs #1256398 "ITE: Clicking doesn't skip dialogue"
svn-id: r18660
2005-08-11 16:13:10 +00:00
Andrew Kurushin
3e7feb5cb1 fixed iso convertion Rif position
add some IHNM panels

svn-id: r18652
2005-08-10 18:27:18 +00:00
Eugene Sandulenko
4e4c1f5b73 Rename event types to comply with our standards.
svn-id: r18647
2005-08-10 15:31:15 +00:00
Eugene Sandulenko
37f2a10ef6 Rename Actor class members to _members.
svn-id: r18645
2005-08-10 14:53:17 +00:00
Eugene Sandulenko
00d676c3d2 EVENT -> Event
svn-id: r18644
2005-08-10 14:11:22 +00:00
Eugene Sandulenko
67b4b2c0d4 Implement part of chapter selection panel.
svn-id: r18643
2005-08-10 13:56:51 +00:00
Eugene Sandulenko
c5bdada079 Fix bug #1252270 "ITE: Verb box drawn incorrectly"
svn-id: r18631
2005-08-08 07:44:51 +00:00
Eugene Sandulenko
ec4f7d3d7c Whitespaces
svn-id: r18595
2005-07-29 17:58:00 +00:00
Andrew Kurushin
2efc7edb1a fix setStatusText
svn-id: r18593
2005-07-29 17:42:33 +00:00
Eugene Sandulenko
1a1db4611a Show scene substitute image for demo versions of ITE.
svn-id: r18589
2005-07-29 16:37:06 +00:00
Eugene Sandulenko
6c9f6e8def Partially implemented differences in IHNM script functions.
svn-id: r18573
2005-07-21 01:33:28 +00:00
Andrew Kurushin
50c2d8954d finally Resource manager rewritten:
-adds patch file support
-global _vm removed

cleanups

svn-id: r18560
2005-07-19 19:05:52 +00:00
Torbjörn Andersson
d3ba7a1543 When redrawing the inventory, clear every inventory slot - even the empty
ones - before drawing the object. This fixes a glitch when getting the ring
from the mud.

svn-id: r18553
2005-07-18 14:37:55 +00:00
Torbjörn Andersson
62a7474174 Fixed ITE inventory redraw glitch when exchanging the medallion for money.
svn-id: r18551
2005-07-17 15:10:08 +00:00
Torbjörn Andersson
8df01d4aac Cleanup
svn-id: r18550
2005-07-17 13:36:38 +00:00
Andrew Kurushin
528eedb2de font & text related changes:
-rewritten font loading
-actors box text output implemented
-many fixes
-implemented nonactors textoutput

svn-id: r18542
2005-07-14 17:46:21 +00:00
Torbjörn Andersson
f756b74d04 Made it possible to terminate dialog windows with Enter. (We could already
terminate them with Esc.) This is so that, for instance, if you type a
savegame name you can press Enter, rather than clicking on the "Save"
button.

I don't know if the original did this as well, but it feels natural to me.

svn-id: r18537
2005-07-12 18:31:48 +00:00
Lars Persson
d1e58e6036 Updated interface.cpp so it compiles for VC6 without errors. Moved loop variable declaration
svn-id: r18532
2005-07-10 15:25:30 +00:00
Andrew Kurushin
c2f1691bad gfx rearangement
code cleanups

svn-id: r18523
2005-07-09 16:23:45 +00:00
Andrew Kurushin
d944bd7793 implemented per scene actors clipping
so last sequence should look much better (not perfect)

svn-id: r18516
2005-07-08 16:56:03 +00:00
Andrew Kurushin
cff8568562 fix converse pal bug
svn-id: r18502
2005-07-06 17:07:58 +00:00
Eugene Sandulenko
cdead6d57b - Stripped down unused SURFACE parameter in palette-related functions
- Fixed scenes glitch when loading saved game. This is done by closing
  load window right after game is loaded which differs from original but
  seems more logical to me
- Fixed wrong palette when Dragon maze was loaded from a savegame. We just
  didn't process Palette resource for it.

svn-id: r18494
2005-07-05 15:15:35 +00:00