Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-18 | SCI: Add setter/getter methods to reg_t's | Filippos Karapetis | |
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB) | |||
2012-06-11 | SCI: Fix comment in kString(at) | Matthew Hoops | |
2012-06-11 | SCI: Bugfix for negative numbers in kString(at) | Filippos Karapetis | |
Fixes one of the bugs in the savegame selection screen in Phantasmagoria | |||
2012-02-20 | COMMON: Move isFoo functions to namespace Common, add doxygen comments | Max Horn | |
2012-02-15 | ALL: Avoid using is* macros from ctype.h | Max Horn | |
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them. | |||
2012-01-16 | SCI: Remove outdated comment | Willem Jan Palenstijn | |
2012-01-15 | SCI: Simplify kString(Dup) using the overloaded = operator | Filippos Karapetis | |
Thanks to wjp for his suggestion | |||
2012-01-15 | SCI: Use fromString() in kString(Dup) to simplify code | Filippos Karapetis | |
2012-01-15 | SCI: Fix a nasty bug in kString(Dup) | Filippos Karapetis | |
The rawString variable is no longer pointing to invalidated data. This fixes cases where strings are manipulated by game scripts, such as the graveyard and rada drum puzzles in GK1 | |||
2011-10-30 | SCI32: kString: Move variable declaration to prevent problems | Lars Skovlund | |
with object lifetimes. | |||
2011-09-25 | SCI2: kString(Format) uses %d for unsigned integers. Some cleanup | Filippos Karapetis | |
2011-08-26 | SCI: Fixed bug #3396887 - "SCI: pq2-pc98-jp - Listing of items / Inventory ↵ | Filippos Karapetis | |
not working" Thanks to wjp for his valuable help on this | |||
2011-07-18 | SCI: Fix kFormat's handling of %c with a 0 argument | Willem Jan Palenstijn | |
SSCI used a sprintf to handle %c, appending the result to the output, which is effectively a nop for a zero argument. This is bug #3368821. Thanks to digitall for tracing it to KFormat and testing this patch. | |||
2011-07-07 | SCI: Applied patch #3357096 with minor modifications | Filippos Karapetis | |
This prevents a string pointer from getting invalidated under some circumstances in kString(Dup). Thanks to lephilousophe for the patch. | |||
2011-06-23 | ANALYSIS: Add static casts to is* functions | Littleboy | |
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx | |||
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-05-29 | SCI: Added a more generalized fix for bug #3306417 | md5 | |
2011-05-27 | SCI: Fixed bug #3306417 - "LAURA BOW 2: segmentation fault while talking to ↵ | md5 | |
Dr. Myklos" | |||
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-14 | ALL: centre -> center | Max Horn | |
2011-03-13 | SCI: Add workaround for a QFG1 VGA Mac kFormat bug | Matthew Hoops | |
Also, fix the kernel signature for kFormat to require two parameters | |||
2011-03-04 | SCI: Use BE string handling for Mac games. | Walter van Niftrik | |
2011-03-04 | SCI: Removed warning from kReadNumber | md5 | |
2011-01-07 | SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games) | Filippos Karapetis | |
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug functions with empty function calls - Marked several unused or debug kernel functions as stub - Added some games where the rest of the unimplemented SCI2.1 kernel functions are used svn-id: r55138 | |||
2011-01-01 | SCI: debugC calls no longer require a debug level of 2 to show output | Filippos Karapetis | |
svn-id: r55086 | |||
2010-12-07 | SCI: Removed the system strings code and replaced it with a much more ↵ | Filippos Karapetis | |
simplified version, thus greatly simplifying handling of system strings svn-id: r54805 | |||
2010-11-28 | SCI: Fixed bug #3034471 - "SCI, Castlebrain/Amiga: Invisible text in word ↵ | Filippos Karapetis | |
search" Fixed some endianness issues in Amiga versions, thanks to wjp. Amiga versions expect a BE VM, thus we adjust accordingly in the places where memory is accessed directly (i.e. kStrAt, kMemory and all places that set/get characters from memory) svn-id: r54521 | |||
2010-11-21 | SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games ↵ | Filippos Karapetis | |
(thanks to waltervn) svn-id: r54403 | |||
2010-11-21 | SCI: Adapted kArray/kString to use the new heuristic for late SCI2.1/SCI3 ↵ | Filippos Karapetis | |
games, and updated their subops accordingly svn-id: r54399 | |||
2010-11-19 | Some subfunctions changed positions in SCI3 kString. WIP. | Lars Skovlund | |
And with this, LSL7 starts up. Yeah, baby! svn-id: r54374 | |||
2010-11-18 | SCI: Added a stub for a new subop in kString, and disabled ↵ | Filippos Karapetis | |
trackOriginAndFindWorkaround() for SCI3 games for now svn-id: r54352 | |||
2010-09-11 | SCI: In kFormat, handle arguments pointing to text resource 0 correctly. | Lars Skovlund | |
Fixes Colonel's Bequest inventory formatting. svn-id: r52676 | |||
2010-09-09 | SCI: Implemented the kPrintDebug SCI2.1 kernel function, used in Shivers (demo) | Filippos Karapetis | |
svn-id: r52665 | |||
2010-09-09 | SCI: Support push and pop subfunctions in kMessage() | Lars Skovlund | |
Glossary seems to work now. svn-id: r52654 | |||
2010-07-29 | SCI: Silenced warning when exiting in LSL6 (bug report #3035533), and ↵ | Filippos Karapetis | |
commented out a related unused variable in kSetQuitStr svn-id: r51456 | |||
2010-07-27 | SCI: Better fix for bug #3035058 - ECOQUEST demo: Missing subtitles | Matthew Hoops | |
The demo really uses kGetMessage and not kMessage. We now detect which version of the message function is used. Thanks to Walter for pointing this out. svn-id: r51384 | |||
2010-07-27 | SCI: Fix bug #3035058 - ECOQUEST demo: Missing subtitles | Matthew Hoops | |
The demo uses a special version of kMessage to get its messages. svn-id: r51376 | |||
2010-07-21 | SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their ↵ | Filippos Karapetis | |
respective files svn-id: r51108 | |||
2010-06-24 | SCI: Make kStrAt clear segment when writing characters | Willem Jan Palenstijn | |
This is necessary since the uninitialized value detection from r50211, and is analogous to seg_manager.cpp's setChar. (Triggered in LSL3 age verification.) svn-id: r50234 | |||
2010-06-20 | SCI: dont display string set by kSetQuitStr | Martin Kiewitz | |
svn-id: r50090 | |||
2010-06-18 | SCI: Rewrap some overlong comments | Max Horn | |
svn-id: r50012 | |||
2010-05-31 | SCI: break on anything, warn on anything but spaces in kReadNumber | Martin Kiewitz | |
svn-id: r49355 | |||
2010-05-31 | SCI: added TODO at kReadNumber space code | Martin Kiewitz | |
svn-id: r49348 | |||
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-29 | Mass renaming of selector-related functions, and removed some defines which ↵ | Filippos Karapetis | |
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317 | |||
2010-05-26 | SCI: fixing kReadNumber to behave like in sierra sci (non standard atoi ↵ | Martin Kiewitz | |
implementation) - fixes big door not unlocking in sq4 svn-id: r49250 | |||
2010-05-18 | - Moved kernel_lookup_text inside the Kernel class | Filippos Karapetis | |
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it svn-id: r49076 | |||
2010-03-22 | Patch #2973290: Semicolon cleanup | Max Horn | |
svn-id: r48359 | |||
2010-02-15 | SCI32 reorders the REF* subops in kMessage; fixes GK1 conversations. | Matthew Hoops | |
svn-id: r48066 |