Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-09 | Fix wrong format arugment. | Johannes Schickel | |
svn-id: r42301 | |||
2009-07-09 | Applied patch #2818845 - "SCI: resource.map detection for SCI1/1.1 fixed", ↵ | Filippos Karapetis | |
with some slight formatting changes svn-id: r42300 | |||
2009-07-09 | restAdjust should be a signed integer. Fixes crashes with SCI1 games that ↵ | Filippos Karapetis | |
take absolute lofs parameters (a regression of commit #42260) svn-id: r42297 | |||
2009-07-08 | - Moved printObject inside the Console class | Filippos Karapetis | |
- Enabled the parts where disassemble() is called svn-id: r42263 | |||
2009-07-08 | Only the kernel needs to be initialized before anything else, when ↵ | Filippos Karapetis | |
saving/loading svn-id: r42262 | |||
2009-07-08 | Fixed saving/loading again (broken with the latest changes for game feature ↵ | Filippos Karapetis | |
auto-detection) svn-id: r42261 | |||
2009-07-08 | Some cleanup for the script debugger code: | Filippos Karapetis | |
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260 | |||
2009-07-07 | Silenced the very chatty song iterator console messages by converting them ↵ | Filippos Karapetis | |
to appropriate debug messages svn-id: r42240 | |||
2009-07-07 | Improved the LSL1VGA workaround after talking with waltervn | Filippos Karapetis | |
svn-id: r42239 | |||
2009-07-07 | Added a workaround for incorrect font references in LSL1VGA (which was the ↵ | Filippos Karapetis | |
original purpose of the code removed in rev. 42219) svn-id: r42238 | |||
2009-07-07 | Removed the weird checks for a maximum resource number (the ↵ | Filippos Karapetis | |
sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges). svn-id: r42219 | |||
2009-07-07 | Removed the superfluous sci_version_types array (it's essentially the same ↵ | Filippos Karapetis | |
as the versionNames array) svn-id: r42216 | |||
2009-07-07 | Cleanup: added an enum for the auto-detected features, removed the selectors ↵ | Filippos Karapetis | |
which are only used for auto-detection from the convenience selector map and placed feature auto-detection in a separate function. Also, now the automatically detected graphics resources are shown in the console. svn-id: r42212 | |||
2009-07-07 | Added auto-detection for games with older headers for script blocks, and ↵ | Filippos Karapetis | |
removed game flag GF_SCI0_OLD svn-id: r42211 | |||
2009-07-07 | Added a SCI1.1 case in the lofss opcode, like in the lofsa opcode ↵ | Filippos Karapetis | |
(essentially, lofss and lofsa both load an offset, with lofsa loading it in the accumulator and lofss in the stack). lofss is rarely used in SCI1.1 games, which explains why no lofss-related crashes have been observed in SCI1.1 svn-id: r42209 | |||
2009-07-07 | - Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA ↵ | Filippos Karapetis | |
has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01 - Simplified the checks for EGA and VGA graphics - Fixed a bug in script_adjust_opcode_formats() - Simplified the code in GfxResManager::getView() a bit svn-id: r42206 | |||
2009-07-07 | Prevent a crash when the engine errors out before the game state is initialized | Filippos Karapetis | |
svn-id: r42201 | |||
2009-07-07 | Removed unused define | Filippos Karapetis | |
svn-id: r42200 | |||
2009-07-06 | Renamed SCI_VERSION_01 -> SCI_VERSION_01_EGA | Filippos Karapetis | |
svn-id: r42181 | |||
2009-07-06 | Swapped the music and audio resource check for SCI1.1 games. Digital sound ↵ | Filippos Karapetis | |
effects are now preferred over the synthesized ones svn-id: r42179 | |||
2009-07-06 | KQ6CD should be working correctly again | Filippos Karapetis | |
svn-id: r42178 | |||
2009-07-06 | Proper handling of sound effects marked as music resources | Filippos Karapetis | |
svn-id: r42174 | |||
2009-07-06 | When a song isn't found, send a "stop handle" event so that the engine won't ↵ | Filippos Karapetis | |
wait forever (e.g. in SQ4CD, perhaps others) svn-id: r42172 | |||
2009-07-06 | Assigned several unimplemented/unused kernel functions as stubs, so that we ↵ | Filippos Karapetis | |
know when they're used and how they're called svn-id: r42170 | |||
2009-07-06 | Added seChanged the warning displayed when a selector can't be mapped to a ↵ | Filippos Karapetis | |
debugC - it's perfectly normal not to find certain selectors in certain SCI versions. Also, fixed the SCI version enums svn-id: r42169 | |||
2009-07-06 | Fixed compilation | Filippos Karapetis | |
svn-id: r42168 | |||
2009-07-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-07-05 | Merged the two SCI1 versions in one more file | Filippos Karapetis | |
svn-id: r42136 | |||
2009-07-05 | - Fixed feature auto-detection for Conquests of Camelot | Filippos Karapetis | |
- Auto-detected features are now printed in the console (to ease debugging) svn-id: r42132 | |||
2009-07-05 | SCI1 games with absolute parameters to lofs instructions are automatically ↵ | Filippos Karapetis | |
detected now. Removed the GF_SCI1_LOFSABSOLUTE game flag svn-id: r42118 | |||
2009-07-05 | Removed validity check for atoi, which prevented console commands from ↵ | Filippos Karapetis | |
interacting with resources with id 0 svn-id: r42117 | |||
2009-07-05 | When creating a CleanupSongIterator, transfer death listeners to it | Willem Jan Palenstijn | |
svn-id: r42113 | |||
2009-07-04 | When morphing a TeeSongIterator, transfer death listeners to remaining child | Willem Jan Palenstijn | |
svn-id: r42112 | |||
2009-07-04 | Cursors without a palette are now initialized correctly (from patch ↵ | Filippos Karapetis | |
#2816652). Fixes the cursor transparent color in QFG3 svn-id: r42099 | |||
2009-07-04 | Merged SCI1 versions in one more file | Filippos Karapetis | |
svn-id: r42098 | |||
2009-07-04 | - Merged the "early" and "late" SCI1 versions - these are functionally ↵ | Filippos Karapetis | |
equivalent, and the code that does the version check is unreliable (e.g. it sets SQ1 VGA to SCI1 "late" and EcoQuest 1 to SCI1 "early") - Cleanup of the vocabulary setting functions - Cleanup of the cursor manipulation code svn-id: r42097 | |||
2009-07-04 | - Kernel function names are no longer loaded from vocab.999, but are ↵ | Filippos Karapetis | |
constructed from the hardcoded function table, depending on the SCI version used - SCI0 games using older graphics functions are now detected by the presence of the "curAngle" selector - SCI0 games using a SCI1 table (like KQ1 demo version and full version) are detected by the presence of the "sightAngle" selector (as no SCI0 game seems to have it) svn-id: r42095 | |||
2009-07-04 | - Changed some comments to DOxygen style | Filippos Karapetis | |
svn-id: r42094 | |||
2009-07-04 | Added a new console command, "selector", which attempts to find a selector ↵ | Filippos Karapetis | |
by name svn-id: r42093 | |||
2009-07-04 | Removed silly FIXME (mixup between debug and engine debug levels) | Filippos Karapetis | |
svn-id: r42088 | |||
2009-07-04 | Newer DoSound() semantics are now detected automatically, by the existence ↵ | Filippos Karapetis | |
of the "setVol" selector. Removed game flag GF_SCI1_NEWDOSOUND svn-id: r42087 | |||
2009-07-03 | SCI0 games using older graphics functions are automatically detected now, ↵ | Filippos Karapetis | |
from the presence of the "TimesSin" and "SinMult" kernel functions. Removed the GF_SCI0_OLDGFXFUNCS game flag svn-id: r42081 | |||
2009-07-03 | Replaced script_error and CORE_ERROR with error() | Filippos Karapetis | |
svn-id: r42079 | |||
2009-07-03 | - Pushed debugstate into debug.h | Filippos Karapetis | |
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself. svn-id: r42062 | |||
2009-07-03 | Replaced all calls for manipulating the mouse cursor to be made to the ↵ | Filippos Karapetis | |
CursorManager instead of directly to the graphics backend svn-id: r42060 | |||
2009-07-03 | SCI: Fixed warning | Max Horn | |
svn-id: r42055 | |||
2009-07-03 | Simplified the kernel name loading code: Merged the default SCI0 and SCI1 ↵ | Filippos Karapetis | |
kernel name tables in one table. vocab.999 is only used in SCI0 and SCI01 games if it exists as an override to the default kernel name table (which works with SCI0/SCI01 demos with no vocab.999, like KQ1 and xmas1998). Removed GF_SCI0_SCI1VOCAB. svn-id: r42050 | |||
2009-07-03 | Applied patch #2815937 - "SCI: ReadString fix to repair LSL5 password". This ↵ | Filippos Karapetis | |
fixes the problems with the LSL5 password for good svn-id: r42049 | |||
2009-07-02 | Moved some more debug state related variables in the DebugState struct | Filippos Karapetis | |
svn-id: r42044 | |||
2009-07-02 | Moved all the debug state variables in a separate struct and re-enabled ↵ | Filippos Karapetis | |
several places where they're used svn-id: r42043 |