Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-10-03 | A few, mostly untested, fixes to the SAGA script engine: | Torbjörn Andersson | |
* The frame pointer is updated. This won't make any difference since we don't actually *use* the frame pointer yet. * Return values from script functions are handled like in the original now, i.e. the function sets thread->retVal and lets the call instruction push it onto the stack. (There are two call instructions, one that handles return values and one that doesn't, so the script function doesn't know if it should push or not.) * Script return values are handled. None of this makes any noticeable difference to the ITE intro. svn-id: r15393 | |||
2004-10-01 | Set up file paths to handle the differences between the file layout of the | Torbjörn Andersson | |
Windows and Linux versions. (TODO: Handle game detection.) Added preliminary support for the P2_A.aif file that the Linux version uses, where the Windows version uses p2_a.voc. Someone will have to verify the actual format of it, and we have a silly bug in playVoice() which will have to be fixed before things work properly. svn-id: r15365 | |||
2004-09-28 | Rename remaining OSystem methods to match our coding guidelines | Max Horn | |
svn-id: r15332 | |||
2004-09-25 | Fix doxygen warnings | Max Horn | |
svn-id: r15277 | |||
2004-09-25 | Enough stubs and pops to make the intro scene script finish properly. | Torbjörn Andersson | |
svn-id: r15263 | |||
2004-09-23 | Added support for scene music and the music-playing opcode to make the | Torbjörn Andersson | |
opening scene a bit nicer. svn-id: r15241 | |||
2004-09-23 | Replaced the standard stack with a custom-made. In the original SAGA engine | Torbjörn Andersson | |
it appears that scripts are allowed to access the stack like any other memory area, so it's probably important that our stacks behave as closely to the original as possible. I don't know if this implementation does that yet, but it's a start. svn-id: r15240 | |||
2004-09-22 | Start the scene script as well, just to make things more interesting. This | Torbjörn Andersson | |
doesn't do anything to fix any of the underlying problems, but it still runs pretty well. svn-id: r15232 | |||
2004-09-21 | The TourneySetup script now runs and finishes cleanly. However, this is not | Torbjörn Andersson | |
as exciting as it first sounds, because even before this patch the script would run in its entirety - it just didn't know when to stop. I guess the exciting things don't happen until the next script is triggered (TorneyScene?). I think it will be easier to start fixing the numerous deficiencies (stack handling, SData, missing script functions, etc.) when we have something more concrete to work with. svn-id: r15215 | |||
2004-09-19 | Update the script's program counter in a more sane way. The opening script | Torbjörn Andersson | |
runs for much longer now, but - unsurprisingly - it doesn't work yet. svn-id: r15192 | |||
2004-08-27 | R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of ↵ | Jonathan Gray | |
GAME svn-id: r14793 | |||
2004-08-26 | add some comments about unimplemented opcodes | Jonathan Gray | |
svn-id: r14790 | |||
2004-08-22 | o Eliminate all structure _tags. | Eugene Sandulenko | |
o Fix RSCFile on MSVC8. o Started fixing script opcodes. svn-id: r14686 | |||
2004-08-14 | fixed warnings | Paweł Kołodziejski | |
svn-id: r14603 | |||
2004-08-12 | Merge SDEBUG_*, SF_* and STHREAD_* into Script class. | Eugene Sandulenko | |
svn-id: r14568 | |||
2004-08-12 | Drop SSTACK_ in favor of common/stack.h implementation. | Eugene Sandulenko | |
svn-id: r14566 | |||
2004-08-12 | Launch scene start script. | Eugene Sandulenko | |
svn-id: r14561 | |||
2004-08-11 | Move ITE_* and IHNM_* to Scene class. | Eugene Sandulenko | |
svn-id: r14560 | |||
2004-08-11 | Start animations too. | Eugene Sandulenko | |
svn-id: r14559 | |||
2004-08-11 | Handle fades in scene load routine. | Eugene Sandulenko | |
Introduce immediate events. svn-id: r14558 | |||
2004-08-11 | Fix scene description structure data types and rename it. | Eugene Sandulenko | |
svn-id: r14556 | |||
2004-08-11 | Move SYSINPUT_* and TRANSITION_* to SagaEngine class | Eugene Sandulenko | |
svn-id: r14555 | |||
2004-08-11 | Move CF_ commands to class and call them from wrappers. This will let us | Eugene Sandulenko | |
remove global _vm later. svn-id: r14552 | |||
2004-08-11 | Correct ESC key behaviour. | Eugene Sandulenko | |
svn-id: r14551 | |||
2004-08-10 | Correct scene transitions. Now intro seems to be complete. | Eugene Sandulenko | |
svn-id: r14548 | |||
2004-08-10 | oops | Eugene Sandulenko | |
svn-id: r14545 | |||
2004-08-10 | Improved intro. Now it correctly shows game title. | Eugene Sandulenko | |
svn-id: r14544 | |||
2004-08-10 | Moved PALANIM_* to a class. | Eugene Sandulenko | |
svn-id: r14540 | |||
2004-08-10 | Move EVENT_* to a class. | Eugene Sandulenko | |
svn-id: r14539 | |||
2004-08-10 | Move CON_* to a class. | Eugene Sandulenko | |
svn-id: r14538 | |||
2004-08-08 | Initialise variables to stop the ITE intro from crashing. | Torbjörn Andersson | |
svn-id: r14520 | |||
2004-08-06 | No longer needed. | Eugene Sandulenko | |
svn-id: r14479 | |||
2004-08-06 | Move INTERFACE_ to class. | Eugene Sandulenko | |
svn-id: r14478 | |||
2004-08-04 | Move SCENE_* to class. | Eugene Sandulenko | |
svn-id: r14463 | |||
2004-08-04 | Move state static variable to appropriate class | Eugene Sandulenko | |
svn-id: r14462 | |||
2004-08-03 | Rename some class variables in Font class. | Eugene Sandulenko | |
Fix compilation. svn-id: r14452 | |||
2004-08-03 | Move SPRITE_ to a class | Eugene Sandulenko | |
svn-id: r14451 | |||
2004-08-03 | Move TEXT_* to SagaEngine class. | Eugene Sandulenko | |
svn-id: r14450 | |||
2004-08-03 | Move FONT_* to class. | Eugene Sandulenko | |
svn-id: r14449 | |||
2004-08-02 | Fix #include paths. | Eugene Sandulenko | |
svn-id: r14443 | |||
2004-08-02 | no longer needed | Jonathan Gray | |
svn-id: r14442 | |||
2004-08-02 | Objectize actor.cpp | Eugene Sandulenko | |
svn-id: r14441 | |||
2004-08-02 | create objectMap class | Jonathan Gray | |
svn-id: r14440 | |||
2004-08-02 | move isomap into a class | Jonathan Gray | |
svn-id: r14439 | |||
2004-08-02 | remove timer wrapper functions | Jonathan Gray | |
svn-id: r14437 | |||
2004-08-02 | move static vars to private members | Jonathan Gray | |
svn-id: r14434 | |||
2004-08-01 | Clean up Script class a bit; add get/set functions | Joost Peters | |
svn-id: r14428 | |||
2004-08-01 | Made all MemoryReadStream local variables. This plugged a giantic constant | Eugene Sandulenko | |
leakage in the engine. svn-id: r14427 | |||
2004-08-01 | rename load() to loadMap() | Joost Peters | |
svn-id: r14426 | |||
2004-08-01 | create Script class from SCRIPT_* and ScriptModule | Joost Peters | |
svn-id: r14425 |