aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
AgeCommit message (Collapse)Author
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
2004-07-31Objectize image.cppEugene Sandulenko
svn-id: r14391
2004-07-31merge animation.h and animation_mod.h into a classJonathan Gray
svn-id: r14388
2004-07-31remove YS_IGNORE_PARAM macro and some uneeded yslib.h includesJonathan Gray
svn-id: r14385
2004-05-05Replaced R_printf() with debug() and warning(). There are still a couple ofTorbjörn Andersson
standard printf()s left, though. svn-id: r13791
2004-05-04Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.Eugene Sandulenko
In fact there were no binary writes at all. svn-id: r13773
2004-05-01Proper #includes everywhereEugene Sandulenko
Improved game detector svn-id: r13724
2004-05-01indentPaweł Kołodziejski
svn-id: r13710
2004-05-01Fixed warningsTorbjörn Andersson
svn-id: r13700
2004-04-30Move from custom unsigned types to those provided by main config.hEugene Sandulenko
svn-id: r13687
2004-04-27Fixed warnings. At the time of writing, only xmidi.cpp causes warnings forTorbjörn Andersson
me now, but I'm not sure how to fix those. svn-id: r13651
2004-04-25Fix many warnings; use C++ type system instead of C style typedefs; removed ↵Max Horn
various unused stuff; const correctness; etc. svn-id: r13622
2004-04-12WIP for SAGA engine.Eugene Sandulenko
o text formatting is not consistent with rules, just indent utility is too dumb for that o it does not use OSystem, i.e. it runs on direct SDL calls o it may not even compile on your box o if you enable it, expect zillions of warnings o no sound Now it runs ITE intro as reinherit did svn-id: r13564