Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-06-02 | Fixed regression from commit #49332 (merging of the SCI0 and SCI11 relocate ↵ | Filippos Karapetis | |
functions, where the SCI0 equivalent had a +1 count): it seems that we should skip over zero exports, however the total number of valid exports remains the same. Fixes KQ5 and QFG2. This also fixes the relocation calculation of script 71 in SQ3, so remove the comment that the script has broken relocation entries svn-id: r49394 | |||
2010-06-01 | Stop reconstructing the engine state when restoring, but reset it instead | Filippos Karapetis | |
svn-id: r49376 | |||
2010-06-01 | SCI: Fix malloc<->new mismatch in SysStrings, try to increase readability | Max Horn | |
svn-id: r49375 | |||
2010-06-01 | The parser vocabulary remains static throughout the game, thus it has been ↵ | Filippos Karapetis | |
removed from the engine state svn-id: r49373 | |||
2010-06-01 | The system strings segment is a fixed segment of the segment manager, which ↵ | Filippos Karapetis | |
doesn't change during the game, thus move all the system strings code and variables inside the segment manager svn-id: r49372 | |||
2010-05-31 | Merged all the script relocation code inside script_instantiate(), and ↵ | Filippos Karapetis | |
changed the warning when reading an invalid species into an error (as it's severe, and if it happens it means something is seriously wrong) svn-id: r49361 | |||
2010-05-31 | Wrote the initialization code for the exports and synonyms table to make ↵ | Filippos Karapetis | |
more sense and fixed a bug with the initialization of the synonyms pointer, introduced with rev #49336 svn-id: r49360 | |||
2010-05-31 | SCI: break on anything, warn on anything but spaces in kReadNumber | Martin Kiewitz | |
svn-id: r49355 | |||
2010-05-31 | Fixed operator precedence warning | Filippos Karapetis | |
svn-id: r49353 | |||
2010-05-31 | The code that loads saved game from the launcher | Filippos Karapetis | |
can now load SCI2 saved games. Added an explanation why the injected call is necessary svn-id: r49349 | |||
2010-05-31 | SCI: added TODO at kReadNumber space code | Martin Kiewitz | |
svn-id: r49348 | |||
2010-05-31 | The save/load object init code is now unified with the regular object init code | Filippos Karapetis | |
svn-id: r49346 | |||
2010-05-31 | SCI: skip spaces in kReadNumber - this happens in lsl3 intro | Martin Kiewitz | |
svn-id: r49345 | |||
2010-05-31 | SCI: when getting invalid chars in kReadNumber don't error() out, but create ↵ | Martin Kiewitz | |
a warning - we get invalid chars in the intro of lsl5, cause currently unknown svn-id: r49344 | |||
2010-05-31 | Merged several script instantiation-related functions inside ↵ | Filippos Karapetis | |
script_instantiate() svn-id: r49343 | |||
2010-05-31 | Cleanup | Filippos Karapetis | |
svn-id: r49342 | |||
2010-05-31 | Slight cleanup | Filippos Karapetis | |
svn-id: r49339 | |||
2010-05-30 | Limited access to the script export table and synonyms block | Filippos Karapetis | |
svn-id: r49338 | |||
2010-05-30 | SCI: Merge setLockers(1) call into Script::init | Max Horn | |
svn-id: r49337 | |||
2010-05-30 | SCI: Script exports and synonyms are now initialized when a script is ↵ | Filippos Karapetis | |
loaded. Removed a sanity check inside script_instantiate_sci0 for a bug which no longer exists svn-id: r49336 | |||
2010-05-30 | Cleanup | Filippos Karapetis | |
svn-id: r49334 | |||
2010-05-30 | Cleanup | Filippos Karapetis | |
svn-id: r49333 | |||
2010-05-30 | - Merged the SCI0 scriptRelocate() and SCI11 heapRelocate() functions inside ↵ | Filippos Karapetis | |
relocate(). scriptRelocate checked one more relocation entry, which seems wrong, so we're now checking for the correct number of relocations in all SCI versions - Re-added the error when script + heap exceed 64KB (better than an assert) - this should theoretically never happen, and it never has for the games tested - Removed the relocated sanity check - again, it shouldn't occur (else something else is wrong) svn-id: r49332 | |||
2010-05-30 | kScriptID can be used to load scripts with no exports. Don't throw warnings ↵ | Filippos Karapetis | |
in this case if no export is requested, as it's perfectly normal behavior svn-id: r49331 | |||
2010-05-30 | Moved setScriptSize() inside Script::init(), and removed a FIXME - the ↵ | Filippos Karapetis | |
SCI1.1 word-align is done inside Script::init() svn-id: r49330 | |||
2010-05-30 | Unified the script loading code, and marked an issue with the SCI11 heap ↵ | Filippos Karapetis | |
addresses svn-id: r49329 | |||
2010-05-30 | Made load_script() a member of the Script class | Filippos Karapetis | |
svn-id: r49328 |