Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-01 | SCI: Fixed the background color of the status bar in Amiga versions | md5 | |
2011-02-28 | SCI: Skip Ports when iterating over Windows in GC | Willem Jan Palenstijn | |
2011-02-28 | SCI: Fix crash with hunk refs in logkernel output | Willem Jan Palenstijn | |
2011-02-28 | SCI: Removed the script patch for the scrubbing scene. The crash no longer ↵ | md5 | |
occurs with the latest fixes to kDoBresen | |||
2011-02-28 | SCI: Removed several workarounds which are no longer needed, after the ↵ | md5 | |
changes regarding hunk pointers in r0d555c4 | |||
2011-02-28 | SCI: Add workaround for PQ:SWAT. | Lars Skovlund | |
This is a bug in the SCI32 class library, and there are similar workarounds for a number of SCI32 games. | |||
2011-02-28 | SCI: Moved hunk pointer handling to the GC, and removed some related workarounds | md5 | |
SCI scripts can contain stale pointers, which are used later on. We now delete the contents of hunk entries without invalidating the relevant pointers and let the GC clear the references. Many thanks to waltervn and wjp for all their work and help on this. | |||
2011-02-28 | SCI: Add FIXME comment to workaround | Willem Jan Palenstijn | |
2011-02-28 | SCI: Cleanup of the save/load dialog patching code and the lofs type ↵ | md5 | |
detection code | |||
2011-02-27 | SCI: Remove kDoBresen special case for SCI_VERSION_1_EGA_ONLY | Willem Jan Palenstijn | |
Confirmed with QfG2 disassembly (the only 1_EGA_ONLY game) that it behaves the same as SCI_VERSION_1_EARLY games, except for the uninitialized read already mentioned in kDoBresen. | |||
2011-02-27 | SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY | md5 | |
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version. | |||
2011-02-27 | SCI: Improved the readability of the kDoBresen code a bit | md5 | |
2011-02-27 | SCI: Don't set b_movCnt to moveSpeed while walking | Willem Jan Palenstijn | |
This fixes moonwalking in LSL1 and movement speed in KQ5. It appears to be have been a RE bug. | |||
2011-02-26 | SCI: Fixed a memory leak. Thanks to digitall for finding this using Valgrind | md5 | |
2011-02-26 | SCI2+: Mention that the actual problem with text wrapping happens because of ↵ | md5 | |
the unimplemented kTextSize kernel call in SCI32 | |||
2011-02-24 | SCI: Added an initial implementation of RemapByPercent, which fixes the ↵ | md5 | |
palette in the PQ:SWAT demo | |||
2011-02-24 | SCI: Added a patch for script bug #3034579 - "KQ6CD: Missing speech" | md5 | |
2011-02-22 | SCI: Some work on kRemapColors, and added a note that it operates on an RGBA | md5 | |
palette | |||
2011-02-22 | SCI: Added code to aid in detecting infinite loops in scripts | md5 | |
When the ABORT_ON_INFINITE_LOOP define is defined in vm.cpp, the VM will now abort in cases where a conditional statement is followed by an unconditional jump (which will most likely lead to an infinite loop). Aids in detecting infinite loop bugs such as #3040722. | |||
2011-02-21 | SCI: Spell 'canister' correctly | Matthew Hoops | |
2011-02-21 | SCI: Fixed script bug #3040722 in QFG3 | md5 | |
2011-02-21 | SCI: Throw a warning instead of an error if there ever is a modulus calculation | md5 | |
with negative numbers in SCI0 games older than 0.000.685 | |||
2011-02-21 | SCI: SCI1.1 script also compare pointers with integers (e.g. QFG3, room 440) | md5 | |
2011-02-21 | SCI: Added a custom modulo reg_t operator | md5 | |
This version only handles signed integers. The modulo operator was changed in SCI0 late (Iceman, and perhaps all SCI0 0.000.685 and later) so that it handles negative numbers as well. We need to see if there really is a need to keep two different modulo operators (which will only be necessary if any SCI0 game asks for the modulo of a negative number by mistake, or a number larger than 32767). Thus, error out in such a case for SCI0, so that this can be investigated properly | |||
2011-02-20 | SCI: Add support for enabling/disabling Mac icon bar images | Matthew Hoops | |
2011-02-20 | SCI: Fix KQ6 Mac video positioning | Matthew Hoops | |
2011-02-20 | SCI: Moved the gcCountdown() code inside the op_callk case, since that's the ↵ | md5 | |
only place where it's used | |||
2011-02-19 | SCI: Some spacing fixes and typos | md5 | |
2011-02-19 | SCI: Refactored the reg_t related operations and comparisons | md5 | |
This refactoring reduces a lot of code duplication, allows for better control, makes the code more readable and allows us to remove a lot of now unneeded workarounds | |||
2011-02-16 | SCI: Add workaround for uninitialized read in KQ5 FM Towns | Matthew Hoops | |
Thanks to alexbevi | |||
2011-02-16 | SCI: Add support for the KQ5 FM Towns resource format | Matthew Hoops | |
Thanks to alexbevi for providing details on the format | |||
2011-02-15 | SCI: Fill in the remaining Mac-specific kPlatform subops | Matthew Hoops | |
2011-02-15 | SCI: Cleaned up kMapKeyToDir and removed an incorrect heuristic | md5 | |
The heuristic in question was used to detect the pseudo mouse control functionality, however the change in controls seems to have occurred with the transition to cursor views. Fixes keypad control in Conquest of the Longbow. Moreover, the code also checked for key scan code 76 when checking for the middle keypad button, which seems to be a mistake, as that case never occurred. | |||
2011-02-15 | SCI: Removed several redundant helper functions | md5 | |
Removed validate_arithmetic(), signed_validate_arithmetic(), validate_unsignedInteger() and validate_signedInteger() | |||
2011-02-14 | SCI: Fix loading SCI32 games | Matthew Hoops | |
The frames/items in GfxFrameout need to be cleared upon loading | |||
2011-02-15 | SCI2+: Set the correct segment for SCI32 strings/arrays when loading | md5 | |
This was an omission, observed after a discussion with clone2727 | |||
2011-02-14 | SCI: Fix loading pre-version 28 saved games | Matthew Hoops | |
This is a regression from a9b051beff3157e1aa8 | |||
2011-02-13 | Remove erroneous comment. It reflected a false belief resulting from | Lars Skovlund | |
a missing parameter check, which has also been added. | |||
2011-02-13 | SCI: Switch to true color mode for the GK2 demo Indeo3 video | Matthew Hoops | |
2011-02-13 | SCI: Fix VMD coordinates | Matthew Hoops | |
The suffix check for "vmd" failed for uppercase files. | |||
2011-02-12 | JANITORIAL: Remove extraneous parentheses | Ori Avtalion | |
svn-id: r55890 | |||
2011-02-11 | SCI: Simplify SegManager::saveLoadWithSerializer, cleanup | Max Horn | |
svn-id: r55883 | |||
2011-02-10 | SCI: Added a workaround for MUMG Deluxe | Filippos Karapetis | |
svn-id: r55873 | |||
2011-02-10 | SCI: Added resource manager support for changing the audio directory ↵ | Filippos Karapetis | |
dynamically. Also, moved some audio-specific resource code inside resource_audio.cpp This functionality is used by kSetLanguage(), called when switching the language in MUMG Deluxe from the game's main menu. svn-id: r55872 | |||
2011-02-10 | SCI: Fix (rare) leak in kSaveGame, tweak kFileIOFindNext, cleanup | Max Horn | |
svn-id: r55867 | |||
2011-02-09 | AUDIO: Rename sound/ dir to audio/ | Max Horn | |
svn-id: r55850 | |||
2011-02-09 | SCI: Do not try to dereference object name when it's not a pointer. | Walter van Niftrik | |
Stops flood of warnings in some Mac titles. svn-id: r55849 | |||
2011-02-08 | SCI: Changed the warning when applying script patches into a debug output call | Filippos Karapetis | |
svn-id: r55837 | |||
2011-02-08 | SCI: Some work on robot videos | Filippos Karapetis | |
- The size of the videos is now calculated when they are loaded (this helps remove some nasty hacks and constant memory reallocations and simplifies the code) - Some work on frame placement (e.g. in robot 1305, Phantasmagoria) svn-id: r55830 | |||
2011-02-07 | GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget | Max Horn | |
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815 |