aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
AgeCommit message (Collapse)Author
2005-02-24I'm not quite sure if this is the correct fix, but by not callingTorbjörn Andersson
updateActorsScene() when _sceneNumber is -1 we avoid followers going into that scene and being drawn (as garbage) early during the ITE intro. (Look in the upper left corner -- that's where the garbage appeared for me.) svn-id: r16895
2005-02-18iso mode drawing work in progressAndrew Kurushin
svn-id: r16802
2005-02-09first step in ISO mode implementation - trying to draw iso sceneAndrew Kurushin
svn-id: r16763
2005-01-28partialy implemented all Iso mode resource loadingAndrew Kurushin
todo: loadMulti - may be wrong svn-id: r16670
2005-01-21problems solved:Andrew Kurushin
- Allow more than one script work at once - Proper implementation of address methods some opcodes may be broken - cause work in progress todo: rewrite opcodes with new address functionality svn-id: r16604
2005-01-18- merged ActionMap and ObjectMapAndrew Kurushin
- remove ActionMap.h & ActionMap.cpp - ObjectMap names move to Scene::_sceneStrings as in original engine - fix wrong StringsTable::stringsCount calculation svn-id: r16592
2005-01-17o Proper implementation of sfPlaySound() which knows about CD<->floppyEugene Sandulenko
difference o Fix regression in Mac titles where scene LUT wasn't conversed o Fix sound types in many games. Old Win demo is still wrong. svn-id: r16586
2005-01-16- some fix to previousAndrew Kurushin
svn-id: r16575
2005-01-16actors entry list implementedAndrew Kurushin
test: in ITE type "scene_change 130" at console svn-id: r16574
2005-01-15- added partial scene change by actor's walking (todo:entrance should be ↵Andrew Kurushin
supported) svn-id: r16568
2005-01-15some work in progress on verb stuff:Andrew Kurushin
- many structers and fields renamed to proper names - added missing functions svn-id: r16562
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-07Eliminate _scene->getMode() and use scene flags insteadEugene Sandulenko
svn-id: r16482
2005-01-07fixing scene transitionAndrew Kurushin
svn-id: r16480
2005-01-07o Fix for popped up actors at initial scene fade outEugene Sandulenko
o Stub for new Wyrmkeep demos with substituted scenes o Converted some script func parameters to apropriate types o More panel fixes svn-id: r16472
2005-01-06Placard functions are now event-driven, so the blocking palette faders areTorbjörn Andersson
no longer needed. svn-id: r16450
2005-01-06some actor walking fixesAndrew Kurushin
svn-id: r16445
2005-01-06Next batch of panel-related fixes. Still wrong.Eugene Sandulenko
NOTE: lines which start with `;' should contain calls to not yet implemented subsystems like Conversation subsystem svn-id: r16443
2005-01-04- some walking additionAndrew Kurushin
svn-id: r16426
2005-01-04o Fix regression with Win32 CD ITE at wyrmkeep logoEugene Sandulenko
o Support for sprites in Mac versions o Improvements on scene flags o More code on proper interface modes handling. Just a tiny bit was committed as other stuff breaks intro due to incompleteness. svn-id: r16425
2005-01-04- added setup of followers position at start of sceneAndrew Kurushin
svn-id: r16423
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-29- fixed canWalk bugAndrew Kurushin
svn-id: r16378
2004-12-29PALETTE_FADE_DURATION -> kNormalFadeDurationEugene Sandulenko
svn-id: r16373
2004-12-28- many actor walk related functions addedAndrew Kurushin
- implemented script functions for scriptDoors (except iso mode) - introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset() svn-id: r16363
2004-12-28o Fixed animation playbackEugene Sandulenko
o Implemented almost all animation opcodes svn-id: r16352
2004-12-24- remove old stuffAndrew Kurushin
- work on "walking" in progress svn-id: r16298
2004-12-22- rewriten actors action handling (now uses all original flags etc)Andrew Kurushin
- 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-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-19- implemented perspective actors calculationAndrew Kurushin
TODO: decodeRLESprite must do scale svn-id: r16135
2004-12-18- updating actors state so they can be clipped on drawing (intro now runs ↵Andrew Kurushin
without artefact) - order list now uses only in draw section - drawList rename to drawActors svn-id: r16122
2004-12-18sprite loading fix in win demoAndrew Kurushin
svn-id: r16119
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-12-03Stop sounds at the beginning of a scene. Two reasons: we already stopTorbjörn Andersson
voices at the same time, and I didn't want the looping background sound in the IHNM intro to keep playing if escaping during the "hate speech". svn-id: r15975
2004-11-20o Restore cursor after walkthroughEugene Sandulenko
o Add cursor events o Hide cursor during intro svn-id: r15844
2004-11-15o Make GAME_GetFileContext() more object-likeEugene Sandulenko
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
2004-10-30Turn some methods into functions (potentially gives better code, and we may ↵Max Horn
want to move some of those into the graphics/ module one day) svn-id: r15703
2004-10-28Remove strayTravis Howell
svn-id: r15692
2004-10-27Implement some script functions and report stubs.Eugene Sandulenko
svn-id: r15691
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-10-21A bunch of mostly panel-related fixes for the ITE intro. Apart from theTorbjörn Andersson
numerous animation glitches, it's looking almost like the real thing now. It's no longer possible to walk away during the intro. This should provide a great incentive to implement the "Escape" feature. ;-) svn-id: r15626
2004-10-16Introduced script events to fix the "actors appear before fade-out" bug.Torbjörn Andersson
There are some minor music-related changes here as well, but that's just cleanup. svn-id: r15567
2004-10-12Added support for digitized music, plus some other music-related fixes.Torbjörn Andersson
Note that I've only tried this with the music.rsc file from the full Linux version. It seems likely that the Mac version uses the same file format, but I have no way of verifying this. I'm told the demos use compressed audio, so the music files from them probably won't work yet. svn-id: r15527
2004-10-10The thread variables I added yesterdays will be accessed by scripts, soTorbjörn Andersson
byte order will matter. svn-id: r15507
2004-10-09Initial attempt at fixing the SData problem. I'm still not sure exactly howTorbjörn Andersson
to fix the script "static" area, though. In addition, initialise a few variables, and test for NULL-ness of a few pointers. This fixes a few crashes I saw with yesterday's CVS snapshot. There's still an unexpected scene change in the intro (I think it triggers on Rhene walking too close to the exit), but at least it no longer crashes. svn-id: r15484
2004-10-07Turn ObjectMap into real object.Eugene Sandulenko
svn-id: r15457