aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/message.cpp
AgeCommit message (Collapse)Author
2015-12-29SCI32: split up SCI2.1 into EARLY/MIDDLE/LATEMartin Kiewitz
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-01SCI: Fix a non-initialized variable in MessageReader - CID 1003120Filippos Karapetis
2013-04-15SCI: Fix memory leakWillem Jan Palenstijn
2013-03-30SCI: Fix two script bugs in PQ1 (message tuple typos) - bug #3605654Filippos Karapetis
2013-02-17SCI: Fix bug #3538416 - "SCI: SQ4 CD text glitches in introduction"Filippos Karapetis
2013-02-17SCI: Fix bug #3604944 - "SCI: QFG1VGA: Missing dialogue when speaking to Kaspar"Filippos Karapetis
2012-07-05SCI: Handle calls from MessageState::outputString() to arraysFilippos Karapetis
This happens during the intro of LSL6 hires (room 110)
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-03SCI: Fix GK1 Mac messagesMatthew Hoops
svn-id: r55750
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-08-02SCI: Fix memory leak.Johannes Schickel
svn-id: r51669
2010-07-29Oops, removed leftover codeFilippos Karapetis
svn-id: r51457
2010-07-29SCI: Silenced warning when exiting in LSL6 (bug report #3035533), and ↵Filippos Karapetis
commented out a related unused variable in kSetQuitStr svn-id: r51456
2010-06-20SCI: implemented kPalVary(reverse) for pharkas, although there is a bug ↵Martin Kiewitz
somewhere, not working 100% svn-id: r50089
2010-06-17Strict mode: Turned several severe errors (almost all detection related) ↵Filippos Karapetis
into errors, instead of warnings svn-id: r49972
2010-06-10Allow for digits in stage directions in SCI32 games: GK1 floppy uses them.Matthew Hoops
svn-id: r49582
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2009-12-30SCI32:Matthew Hoops
- Set signature for Array/String - Add the kernel table differences for the GK2 demo - Implement kMessage changes in SCI32 - Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid) - Add dereferencing for Arrays svn-id: r46756
2009-12-23Some SCI32 (minor) String bug fixes and cleanup.Matthew Hoops
svn-id: r46492
2009-12-21Add a TODO for the SCI 2.1 message version (5).Matthew Hoops
svn-id: r46465
2009-10-16Moved sci_ffs() inside iterator.cpp, the only place where it's actually ↵Filippos Karapetis
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places svn-id: r45176
2009-10-11SCI: Fix bug in Message() recursionWalter van Niftrik
svn-id: r44890
2009-10-10SCI: Fixed bug in new Message() codeWalter van Niftrik
svn-id: r44873
2009-10-10SCI: Fix warningsWillem Jan Palenstijn
svn-id: r44869
2009-10-10SCI: kMessage() rewriteWalter van Niftrik
svn-id: r44860
2009-10-04SCI: fixed crash in sq5/german (umlauts)Martin Kiewitz
svn-id: r44587
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-08-31SCI: Fix messages in QFG remake.Walter van Niftrik
svn-id: r43850
2009-08-25- Simplified the parameters of some functionsFilippos Karapetis
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722
2009-08-10SCI: Improved multilanguage support for SCI1 and SCI1.1.Walter van Niftrik
svn-id: r43217
2009-06-07SCI: Moved resource36 handling into resource manager.Walter van Niftrik
svn-id: r41349
2009-06-04SCI: Message: Added support for escape sequences.Walter van Niftrik
svn-id: r41169
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-13SCI: Message: Added a few more subfunctions; cleanup.Walter van Niftrik
svn-id: r40529
2009-05-12SCI: Merged Message() and GetMessage(). Set SCI1.1 to use SCI1 kernel table ↵Walter van Niftrik
(for now). svn-id: r40481
2009-05-12SCI: Message: Added resource-internal recursion (currently untested).Walter van Niftrik
svn-id: r40478
2009-05-11SCI: Message: Fixed a bug when game requests message with seq != 1.Walter van Niftrik
svn-id: r40450
2009-05-10SCI: Minor changes to Message(). Some of the text in KQ6 floppy should now ↵Walter van Niftrik
be visible. svn-id: r40441
2009-05-10CleanupFilippos Karapetis
svn-id: r40423
2009-05-10CleanupFilippos Karapetis
svn-id: r40422
2009-05-10Applied patch by waltervn to remove the length parameter from getText() and ↵Filippos Karapetis
fixed a silly bug in getLength() svn-id: r40421
2009-05-10Objectified and cleaned up the MessageState classFilippos Karapetis
svn-id: r40419
2009-05-08SCI: GetMessage: lock resource.Walter van Niftrik
svn-id: r40390
2009-04-23Fixed the GetMessage kernel opcode. Eco Quest 1 text is showing up correctly nowFilippos Karapetis
svn-id: r40093
2009-04-23WIP code for kGetMessage (tested with Eco Quest 1). Currently, it doesn't ↵Filippos Karapetis
always work for some reason... svn-id: r40092