aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/message.cpp
AgeCommit message (Collapse)Author
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
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-03-01SCI: Start converting MessageState into a classJordi Vilalta Prat
svn-id: r38989
2009-02-28SCI: Use the ResourceType enum instead of integers where it makes senseJordi Vilalta Prat
svn-id: r38988
2009-02-28resource_t struct replaced with stub Resource class for future objectifying. ↵Greg Frieger
Also the crash when exiting SCI1 games was fixed svn-id: r38982
2009-02-28Turned ResourceManager into a class, along with all related functionsGreg Frieger
svn-id: r38978
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
2009-02-21SCI: Untangling #include dependencies a bitMax Horn
svn-id: r38740
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-20formatingPaweł Kołodziejski
svn-id: r38605