aboutsummaryrefslogtreecommitdiff
path: root/saga
AgeCommit message (Collapse)Author
2005-10-09Now load actors only on demand. That lets select Nimdok (doctor) part. JustEugene Sandulenko
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-09Simplified handleChapterSelectionUpdate()Eugene Sandulenko
svn-id: r18983
2005-10-09(more) Proper implementation of ChapterSelection panel. Though not allEugene Sandulenko
functionality is implemented but it is enough for now. Lets select any character. svn-id: r18982
2005-10-08Read IHNM actor and object strings from the resource file. (This does notTorbjörn Andersson
keep whichObject() from crashing, but I don't know why.) svn-id: r18980
2005-10-08Oops, made a typo when rewriting that comment.Torbjörn Andersson
svn-id: r18973
2005-10-08Cleanup.Torbjörn Andersson
svn-id: r18972
2005-10-08Put actors on the ground. No more upside down. Though probably drawClip()Eugene Sandulenko
has to be fixed too, but now we have no test case for this. svn-id: r18966
2005-10-08Quick and dirty hack to enable actors interaction. Still have to compareEugene Sandulenko
that with disasm. svn-id: r18965
2005-10-08Now most artefacts are gone and we're in proper panel mode when runningEugene Sandulenko
character selection. svn-id: r18961
2005-10-08Oops. Fix crash introduced by last commit.Eugene Sandulenko
svn-id: r18960
2005-10-08_vm->getSceneHeight() --> _vm->_scene->getHeight() and make it return differentEugene Sandulenko
scene height for individual panel modes. svn-id: r18959
2005-10-07Added a "video" panel mode. From what I understand, the beginning of theTorbjörn Andersson
IHNM intro should use this, so now it does. svn-id: r18957
2005-10-07Cleanup sprite header reader.Eugene Sandulenko
svn-id: r18956
2005-10-07Draw acrtors (eriktorbjorn, rejoice).Eugene Sandulenko
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-06It should always be possible to interrupt the intro with Escape now. MostTorbjörn Andersson
of the job was already done, though. Only the final bit was missing. svn-id: r18951
2005-10-06Disabled scene background music for IHNM, for now. It was trying to startTorbjörn Andersson
the end credits music right after the intro. svn-id: r18950
2005-10-05oops. reverted last change.Eugene Sandulenko
svn-id: r18938
2005-10-05Fix to fixed palette range.Eugene Sandulenko
svn-id: r18937
2005-10-05Simplified palette code.Eugene Sandulenko
svn-id: r18936
2005-10-05IHNM used only 248 colors for game graphics. Top part of the paletteEugene Sandulenko
was read from resources. Switching to this scheme fixes magenta outlines in subtitles. svn-id: r18935
2005-10-04Proper place for cutawaySkip() callEugene Sandulenko
svn-id: r18934
2005-10-04IHNM changes:Eugene Sandulenko
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-04I misunderstood sev on how sf75() should work. Perhaps this is better?Torbjörn Andersson
svn-id: r18932
2005-10-04Unstubbed sf75() as sfSetPortraitBgColor(), using information from sev. AnyTorbjörn Andersson
mistake is strictly my own, however. svn-id: r18931
2005-10-03Experimental IHNM fix: Since it looks like the intro doesn't clear theTorbjörn Andersson
cutaway explicitly, perhaps it's done implicitly by sfScriptGotoScene instead? svn-id: r18927
2005-10-02Fixed overlapping speech in ferret puzzle. See bug #1260904.Torbjörn Andersson
svn-id: r18925
2005-10-02Disabling actors during cutscenes did make a difference though. ReenablingEugene Sandulenko
subtitles during cutscenes. svn-id: r18923
2005-10-02Attempt to make proper subtitles outline color.Eugene Sandulenko
svn-id: r18922
2005-10-01Fix mingw compile.Travis Howell
svn-id: r18916
2005-10-01fix #1298659 [WyrmKeep logo overdraw]Andrew Kurushin
svn-id: r18915
2005-10-01We used tabs, not spaces as identation. Fix that.Eugene Sandulenko
svn-id: r18913
2005-09-301.Removed warning from symbian portdefsLars Persson
2.Made thumbnail.cpp compile for VC6 (Symbian Emulator environment). Order of template declaration and includes causing the problems 3.Moved int i declaration from for;loop into local variable 4.Updated stdafx uio.h is not part of the Symbian build chain. svn-id: r18909
2005-09-30fix compile warningAndrew Kurushin
svn-id: r18907
2005-09-30Don't draw actors during cutaways. (Not that it makes any difference atTorbjörn Andersson
this point. :-) svn-id: r18903
2005-09-29Fix fonts in intro. It is a very dirty code. Actually we should specifyEugene Sandulenko
font Ids in game settings. Also uhnm demo will definitely not work with current code as it has lesser number of fonts. svn-id: r18900
2005-09-29Remov obsolete commentEugene Sandulenko
svn-id: r18899
2005-09-29Fix SFX loading in IHNM. Now they're played.Eugene Sandulenko
svn-id: r18898
2005-09-28oops. how did that happened? reverting introduced typo.Eugene Sandulenko
svn-id: r18896
2005-09-28Cleaner code for sfWaitFramesEsc()Eugene Sandulenko
svn-id: r18895
2005-09-28Implement sfWaitFramesEsc()Eugene Sandulenko
svn-id: r18894
2005-09-28Some very minor cleanups. (Basically the remains of a failed experiment.)Torbjörn Andersson
svn-id: r18893
2005-09-28Some more IHNM-related stuff:Torbjörn Andersson
* Use the script-specified text area for subtitles, if there is one. * Fixed a word-wrapping bug that would happen if a new line began with a space. I don't know about ITE, but IHNM puts two spaces after periods. Of course, the case where I saw this happen will probably go away once we start using the right font, but it could still happen elsewhere. svn-id: r18890
2005-09-27Used Willem Jan's suggestion for making the ugliness go away.Torbjörn Andersson
svn-id: r18889
2005-09-27This seems a bit awkward, but does keep GCC from warning about discardingTorbjörn Andersson
constness. svn-id: r18888
2005-09-27Applied my patch #1304998 to fix some issues with the IHNM intro. The introTorbjörn Andersson
plays fine now, as far as I can tell, except for some missing sound effects and the subtitles use the wrong font and are probably drawn in the wrong position. svn-id: r18887
2005-09-26Implemented some trivial IHNM opcodes. I'm not sure if the _ethicsPoints[]Torbjörn Andersson
array is large enough though. These opcodes modify what I assume to be the game state, so that information needs to be stored in the savegames. Not for ITE, though, so savegame compatibility is not broken by this. (Not deliberately, at least.) svn-id: r18885
2005-09-26Silenced GCC warning.Torbjörn Andersson
svn-id: r18884
2005-09-25Use the correct function for reading signed data. (I should have knownTorbjörn Andersson
there was one.) svn-id: r18880
2005-09-25Give more names to IHNM script functions.Eugene Sandulenko
svn-id: r18879
2005-09-24The IHNM intro animations run now, albeit in a slightly buggy fashion:Torbjörn Andersson
The intro runs a whole series of animations. Each of these use animation slot 0, like the original. Currently this means we leak a bit of memory for each new animation. More noticeably, we have no way of cancelling outstanding animation events, so unless the animations finish on their own - as some of them do - the events will just pile up, causing the animations to run faster and faster. I don't know if implementing the remaining cutaway opcodes will fix this automagically, or if we need to re-think our approach... svn-id: r18878