aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
AgeCommit message (Collapse)Author
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
2004-08-10Moved PALANIM_* to a class.Eugene Sandulenko
svn-id: r14540
2004-08-10Move EVENT_* to a class.Eugene Sandulenko
svn-id: r14539
2004-08-10Move CON_* to a class.Eugene Sandulenko
svn-id: r14538
2004-08-04Move SCENE_* to class.Eugene Sandulenko
svn-id: r14463
2004-08-03Move TEXT_* to SagaEngine class.Eugene Sandulenko
svn-id: r14450
2004-08-02Fix #include paths.Eugene Sandulenko
svn-id: r14443
2004-08-02create objectMap classJonathan Gray
svn-id: r14440
2004-08-02move isomap into a classJonathan Gray
svn-id: r14439
2004-08-01Made all MemoryReadStream local variables. This plugged a giantic constantEugene Sandulenko
leakage in the engine. svn-id: r14427
2004-08-01rename load() to loadMap()Joost Peters
svn-id: r14426
2004-08-01create Script class from SCRIPT_* and ScriptModuleJoost Peters
svn-id: r14425
2004-08-01merge gfx_mod.h into gfx.h and stick functions into a classJonathan Gray
svn-id: r14419
2004-08-01move sceneproc.cpp/h into scene.cpp/hJonathan Gray
svn-id: r14416
2004-08-01merge reinherit.h into saga.h and gfx_mod.h, note the error loading ↵Jonathan Gray
animations wasn't caused by this commit :) svn-id: r14405
2004-08-01Objectize actionmap.cppEugene Sandulenko
svn-id: r14399
2004-07-31Extended CVAR_RegisterFunc with callback object parameter.Eugene Sandulenko
Got rid of static structure in animation.cpp svn-id: r14397
2004-07-31Objectize render.cppEugene Sandulenko
svn-id: r14395