aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
AgeCommit message (Collapse)Author
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
2004-10-07Remove duplicated code in actor walk code.Eugene Sandulenko
Turn ActionMap into real object. Rename ActionMap variables to conform our code guidelines. svn-id: r15456
2004-10-05o Convert some objectMap methods to more C++-like.Eugene Sandulenko
o Add stubs for unhandled scene resources in first scene o Fix object map entry structure o Fix bug with objject_info() debug command All this was done in attempt to make room exits work until I realized that they are different hit zone list which is activate at end of walk sequence. svn-id: r15416
2004-10-04R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.Eugene Sandulenko
svn-id: r15414
2004-09-23Added support for scene music and the music-playing opcode to make theTorbjörn Andersson
opening scene a bit nicer. svn-id: r15241
2004-09-22Start the scene script as well, just to make things more interesting. ThisTorbjörn Andersson
doesn't do anything to fix any of the underlying problems, but it still runs pretty well. svn-id: r15232
2004-08-27R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of ↵Jonathan Gray
GAME svn-id: r14793
2004-08-12Merge SDEBUG_*, SF_* and STHREAD_* into Script class.Eugene Sandulenko
svn-id: r14568
2004-08-12Launch scene start script.Eugene Sandulenko
svn-id: r14561
2004-08-11Move ITE_* and IHNM_* to Scene class.Eugene Sandulenko
svn-id: r14560
2004-08-11Start animations too.Eugene Sandulenko
svn-id: r14559
2004-08-11Handle fades in scene load routine.Eugene Sandulenko
Introduce immediate events. svn-id: r14558
2004-08-11Fix scene description structure data types and rename it.Eugene Sandulenko
svn-id: r14556