Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-10 | kSciAudioWPlay should not actually play the song, but 'pre-load' it. We fake ↵ | Matthew Hoops | |
the pre-loading with a flag that will return 0 if the song has been called with kSciAudioWPlay. Fixes the dream sequence sound in MUMG. svn-id: r49583 | |||
2010-06-10 | Allow for digits in stage directions in SCI32 games: GK1 floppy uses them. | Matthew Hoops | |
svn-id: r49582 | |||
2010-06-10 | SCI: Fix some doxygen comments | Max Horn | |
svn-id: r49581 | |||
2010-06-10 | SCI: Get rid of DEFUN, cleanup | Max Horn | |
svn-id: r49579 | |||
2010-06-10 | SCI: Cleanup kernel signature code a bit. | Max Horn | |
* Moved KSIG_SPEC_* from kernel.h to kernel.cpp * Clarified the comment on KSIG_SPEC_* a bit * Changed the other KSIG_ #defines into an enum * Removed KSIG_TERMINATOR and KSIG_SPEC_ARITMETIC (sic) svn-id: r49578 | |||
2010-06-10 | Don't attempt to modify the printLang selector if it doesn't exist | Filippos Karapetis | |
svn-id: r49575 | |||
2010-06-10 | SCI: cleanup | Max Horn | |
svn-id: r49573 | |||
2010-06-10 | camelCase changes | Filippos Karapetis | |
svn-id: r49570 | |||
2010-06-10 | Fixed regression from commit #49564 | Filippos Karapetis | |
svn-id: r49569 | |||
2010-06-10 | Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵ | Filippos Karapetis | |
some camelCase changes svn-id: r49568 | |||
2010-06-10 | Pic port saving/loading is only used in SCI0-SCI11 | Filippos Karapetis | |
svn-id: r49567 | |||
2010-06-10 | SCI: set picport when loading saved games | Martin Kiewitz | |
svn-id: r49565 | |||
2010-06-10 | Unified invokeSelector() and invokeSelectorArgv(), and removed the INV_SEL ↵ | Filippos Karapetis | |
kludge. Also, removed the selectorInvocation parameter - if invokeSelector() fails, the error is in most cases unrecoverable, and the error description thrown covers all cases where kContinueOnInvalidSelector was used. This uncovered a bug too: in some places, non reg_t parameters were parsed svn-id: r49564 | |||
2010-06-10 | Use the SELECTOR() macro for readability | Filippos Karapetis | |
svn-id: r49563 | |||
2010-06-10 | Removed the pointer to the game object from the EngineState class | Filippos Karapetis | |
svn-id: r49562 | |||
2010-06-10 | Moved the MoveCountType enum above the GameFeatures class, as it's the only ↵ | Filippos Karapetis | |
class using it svn-id: r49561 | |||
2010-06-10 | Moved all of the game init/run/exit logic inside the SciEngine class | Filippos Karapetis | |
svn-id: r49559 | |||
2010-06-09 | The segment manager is now initialized before the graphics subsystem. Fixes ↵ | Filippos Karapetis | |
the detection of the fastCast object on startup, and hence fixes LSL1VGA svn-id: r49553 | |||
2010-06-09 | The EngineState is no longer recreated when a game is restored, thus we ↵ | Filippos Karapetis | |
don't need to refresh pointers to it svn-id: r49549 | |||
2010-06-09 | Fixed crash in SCI2.1 games | Filippos Karapetis | |
svn-id: r49546 | |||
2010-06-09 | Limit kPortrait to be used in the Windows version of KQ6 only | Filippos Karapetis | |
svn-id: r49545 | |||
2010-06-09 | Proper fix for kernel name loading (regression from commit #49537) | Filippos Karapetis | |
svn-id: r49544 | |||
2010-06-09 | Fixed regression from commit #49537 | Filippos Karapetis | |
svn-id: r49543 | |||
2010-06-09 | Fixed compilation when the old sound code is used | Filippos Karapetis | |
svn-id: r49540 | |||
2010-06-09 | Merged script_init_engine() and game_init() and cleaned up SciEngine::run() ↵ | Filippos Karapetis | |
a bit svn-id: r49537 | |||
2010-06-09 | Globals from script 0 are now initialized in script_init_engine(), and are ↵ | Filippos Karapetis | |
accessed from the relevant variables pointer. Removed direct reference to script 0 from the engine state svn-id: r49536 | |||
2010-06-09 | Fix compile errors | Willem Jan Palenstijn | |
svn-id: r49535 | |||
2010-06-09 | Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵ | Filippos Karapetis | |
structure, and removed it from the engine state svn-id: r49534 | |||
2010-06-09 | Merged restAdjust and restAdjustCur, as we don't save the restAdjust ↵ | Filippos Karapetis | |
modifier inside saved games (rightfully so). Also, the segment manager is now reset inside the main loop, when the game is restarted, not in game_exit() svn-id: r49533 | |||
2010-06-08 | Don't shrink the stack after reconstructing it, when loading a saved game. ↵ | Filippos Karapetis | |
Fixes game restoring in some games (e.g. LSL3), a regression from commit #49376 svn-id: r49525 | |||
2010-06-08 | Cleanup | Filippos Karapetis | |
svn-id: r49521 | |||
2010-06-08 | Merged the restarting_flags, script_abort_flag, and restoring members of the ↵ | Filippos Karapetis | |
EngineState class into one variable, abortScriptProcessing. The flag kept to signify a game restart has been placed in a boolean, gameWasRestarted svn-id: r49518 | |||
2010-06-08 | Merged _game_run() inside game_run(). Some cleanup | Filippos Karapetis | |
svn-id: r49513 | |||
2010-06-08 | Merged sync_SegManagerPtr() inside EngineState::saveLoadWithSerializer() | Filippos Karapetis | |
svn-id: r49512 | |||
2010-06-08 | Made reconstruct_stack() a member of SegManager | Filippos Karapetis | |
svn-id: r49503 | |||
2010-06-07 | Fixed regression from commit #49465 - there are in fact two restAdjust ↵ | Filippos Karapetis | |
variables, the current and global one svn-id: r49486 | |||
2010-06-07 | SCI: Relax signature of kCreateTextBitmap. | Walter van Niftrik | |
svn-id: r49470 | |||
2010-06-07 | SCI: Adjust kGetSaveFiles for SCI32. | Walter van Niftrik | |
svn-id: r49469 | |||
2010-06-07 | Change some kString subops to use the raw string directly instead of through ↵ | Matthew Hoops | |
a Common::String. Fixes usage with strings from kGetSaveFiles(). svn-id: r49468 | |||
2010-06-06 | Now that EngineState is not deleted when loading games, we can move some ↵ | Filippos Karapetis | |
more state-related variables to it, and remove several FIXME's about non-const global variables. Also, the entries in the data stack are now deleted when loading (fixes a memory leak - thanks to digitall for this). svn-id: r49465 | |||
2010-06-06 | Throw a warning in kString(At) if the index is out-of-bounds instead of ↵ | Matthew Hoops | |
having it assert out. svn-id: r49464 | |||
2010-06-05 | Fixed the cursor limiting code in GK1 | Filippos Karapetis | |
svn-id: r49440 | |||
2010-06-04 | SCI: Replace strncpy with Common::strlcpy | Walter van Niftrik | |
svn-id: r49425 | |||
2010-06-04 | SCI: Add savegame version check in CheckSaveGame | Walter van Niftrik | |
svn-id: r49424 | |||
2010-06-04 | SCI: Cleanup | Walter van Niftrik | |
svn-id: r49423 | |||
2010-06-03 | Replace two uses of ::qsort by Common::sort. | Johannes Schickel | |
svn-id: r49418 | |||
2010-06-03 | Re-enabled the cursor position limiting code | Filippos Karapetis | |
svn-id: r49413 | |||
2010-06-03 | The setCursor selector is no longer used for the detection of the ↵ | Filippos Karapetis | |
kSetCursor() kernel function semantics svn-id: r49408 | |||
2010-06-03 | Fixed compilation | Filippos Karapetis | |
svn-id: r49407 | |||
2010-06-03 | Moved several object-related defines inside vm.h into segment.h, where the ↵ | Filippos Karapetis | |
Object class resides. Also, removed several unused defines svn-id: r49406 |