aboutsummaryrefslogtreecommitdiff
path: root/saga/animation.cpp
AgeCommit message (Collapse)Author
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-12fix #1324803 ITE: Freeze during stormAndrew Kurushin
svn-id: r19035
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-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-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-01fix #1298659 [WyrmKeep logo overdraw]Andrew Kurushin
svn-id: r18915
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-25Use the correct function for reading signed data. (I should have knownTorbjörn Andersson
there was one.) svn-id: r18880
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
2005-09-24Some more preliminary cutaway work. The backgrounds are displayed now, butTorbjörn Andersson
not the animations themselves. Still, it's enough to make the IHNM intro look fairly interesting. svn-id: r18874
2005-09-23Experimental loading of the cutaway list. Next step will be to get ScummVMTorbjörn Andersson
to actually *play* the cutaways. I'll look into that later. svn-id: r18865
2005-08-13fix bug #1254000 ITE: Actors duplicated at chasm sceneAndrew Kurushin
svn-id: r18675
2005-08-10Rename event types to comply with our standards.Eugene Sandulenko
svn-id: r18647
2005-08-10EVENT -> EventEugene Sandulenko
svn-id: r18644
2005-07-29WhitespacesEugene Sandulenko
svn-id: r18595
2005-07-25implemented unified animation decoder for ITE & IHNMAndrew Kurushin
svn-id: r18583
2005-07-25More IHNM differencesEugene Sandulenko
svn-id: r18582
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-07-09gfx rearangementAndrew Kurushin
code cleanups svn-id: r18523
2005-06-25fix animation timings (now Shiala scene not stucks)Andrew Kurushin
svn-id: r18463
2005-06-20fix animation bug at ratsAndrew Kurushin
svn-id: r18416
2005-06-15fix animation loopAndrew Kurushin
svn-id: r18396
2005-06-11rewritten animation loadingAndrew Kurushin
removed animation warnings during game process svn-id: r18377
2005-06-08fix animation free bugAndrew Kurushin
svn-id: r18367
2005-05-08Changed error() to warning() since it appears to be relatively harmless. IsTorbjörn Andersson
the 'start' field even used? Anyway, the entrance to the forest can now be entered. The animation code will produce an "Anim::play: Error decoding frame 40!" warning in addition to the previous one, but I don't see any visible errors in the scene. svn-id: r17968
2005-04-16Implement sfGetDeltaFrame and sfEnableZone. Fixes freeze when sanctuaryEugene Sandulenko
gates open and also used in world map. Spelling and indentation fixes here and there. svn-id: r17640
2005-01-12Slight adjustment to previous commit.Torbjörn Andersson
svn-id: r16549
2005-01-12There was a slight but noticeable pause in linked animations at the momentTorbjörn Andersson
it changes to the link. I'm guessing that the last frame in the animation is identical to the first frame in the link. The original calls SetAlarm(&deltaAlarm[i], delta->timer) between each frame, but amends itself by calling SetAlarm(&deltaAlarm[i], 0) when the link happens. I'm trying to simulate that effect by using 0 as frame time instead of anim->frame_time. I think that's the right thing to do. svn-id: r16548
2005-01-11- remove game.h & image.hAndrew Kurushin
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
2005-01-09- GameModule is goneAndrew Kurushin
- structures renamed - SagaEngine class gives all current game descriptions regression : "verb" is broken cause work in progress svn-id: r16511
2005-01-03Fixed a regression where - I think - the last animation frame wasn'tTorbjörn Andersson
displayed. This was most noticeable in looping animations, in particular the spinning "Dreamer's Guild" logo in the IHNM intro. In the process I changed the name of 'n_frames' and 'nframes' to 'maxframe' since that's what they are. I could, of course, have added 1 to the value instead, but that would have introduced a subtle difference compared to the original code. Probably not a good idea at this stage. svn-id: r16417
2005-01-02Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,Torbjörn Andersson
and used ARRAYSIZE() instead in two cases. svn-id: r16408
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28Partial fix for Mac intro. Sprites are still incorrect because of lack ofEugene Sandulenko
m68k asm knowledge :) svn-id: r16356
2004-12-28Implement rest of animation-related opcodes.Eugene Sandulenko
svn-id: r16353
2004-12-28o Fixed animation playbackEugene Sandulenko
o Implemented almost all animation opcodes svn-id: r16352
2004-12-22o Fix regression with Mac versionsEugene Sandulenko
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-22o Moved GAME_* to SagaEngine objectEugene Sandulenko
o Renamed GAME_ITE_* to GID_ITE_* o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM svn-id: r16258
2004-12-15Patch #1081904 ITE: MAC demo supportEugene Sandulenko
o Endianness-aware resource loading o Removed ys_dl_list in favor of our object implementation o Cleanup in actor code o Partial support for ITE Mac rereleased demo svn-id: r16051
2004-12-03First pass at migrating from the old Reinherit console to the ScummVMTorbjörn Andersson
console. Some things are likely to have broken. For instance, I believe the old console was could be visible during gameplay, while ScummVM's is modal. So any place where we output something to the console during gameplay should probably be removed. Some things I've stubbed out. Basically any code that registers a variable. Most of the debugging commands are untested. Syntax may have changed because of different command-line parsing. (I never actually used the old console, so I don't know for sure. :-) Actually, I'm not that interested in reproducing the old console commands faithfully. What we should do now is to make the immediately useful console stuff work. Anything that remains unimplemented should probably be removed. svn-id: r15976
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-08-27R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of ↵Jonathan Gray
GAME svn-id: r14793
2004-08-10Improved intro. Now it correctly shows game title.Eugene Sandulenko
svn-id: r14544
2004-08-10Move EVENT_* to a class.Eugene Sandulenko
svn-id: r14539
2004-08-10Move CON_* to a class.Eugene Sandulenko
svn-id: r14538