aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kstring.cpp
AgeCommit message (Collapse)Author
2009-08-10SCI: Improved multilanguage support for SCI1 and SCI1.1.Walter van Niftrik
svn-id: r43217
2009-07-11Moved the kernel and the vocabulary outside of the engine state (they're ↵Filippos Karapetis
static data, which never changes during a game) svn-id: r42398
2009-07-06Replaced sciprintf() calls with printf, DebugPrintf, warning and error callsFilippos Karapetis
svn-id: r42167
2009-06-07SCI: Moved resource36 handling into resource manager.Walter van Niftrik
svn-id: r41349
2009-06-07Replaced/removed KP_UINT, KP_SINT, SKPV and UKPV as well as the ↵Filippos Karapetis
VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers svn-id: r41338
2009-06-04SCI: Message: Added support for escape sequences.Walter van Niftrik
svn-id: r41169
2009-06-02Removed some unused variables from the engine stateFilippos Karapetis
svn-id: r41123
2009-06-01Replaced kernel_oops with error(), and added an enum to clarify the cases ↵Filippos Karapetis
where invoke_selector should stop svn-id: r41095
2009-05-31SCI: Renamed some Vocabulary methods for clarity; also renamed ↵Max Horn
decypherSaidBlock -> decipherSaidBlock; some cleanup in Console::cmdSentenceFragments svn-id: r41072
2009-05-31Further objectification of the SCI vocabulary functions. Removed the ↵Filippos Karapetis
"kernel_words" console command, as it's exactly the same as "parser_words" svn-id: r41065
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-31More objectification of the Vocabulary functionsFilippos Karapetis
svn-id: r41057
2009-05-30Started objectifying the vocabulary functions (WIP)Filippos Karapetis
svn-id: r41051
2009-05-30- Removed debug_mode from the engine stateFilippos Karapetis
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function - Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND - Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables svn-id: r41033
2009-05-26SCI: Changed signatures of StrLen and StrCpy to allow NULL pointers. This isWalter van Niftrik
needed for a game bug in KQ6CD. svn-id: r40930
2009-05-26SCI: Turned the global 'static MessageState state' variable into a member of ↵Max Horn
EngineState svn-id: r40910
2009-05-26Turned some static tables into static const tables; added some FIXME ↵Max Horn
comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines) svn-id: r40908
2009-05-21Removed the PREG, PSTK, IS_NULL_REG and REG_EQ definesFilippos Karapetis
svn-id: r40767
2009-05-19SCI: Added some stubs for LSL6CD (lores).Walter van Niftrik
svn-id: r40719
2009-05-18SCI: Removed SCI_SIMPLE_SAID_CODE and the associated heavily bitrotted codeMax Horn
svn-id: r40691
2009-05-18Fix some error/warning calls. (might need some review, from someone familiar ↵Johannes Schickel
with SCI) svn-id: r40680
2009-05-18Removed the unused file and line parameters from the list and list node ↵Filippos Karapetis
lookup functions, and removed the LOOKUP_LIST and LOOKUP_NODE defines. Also, disabled the unused LOOKUP_SPECIES define svn-id: r40676
2009-05-18Changed errors to be fatal, as most of them are fatal conditions. Some of ↵Filippos Karapetis
them have been changed to warnings for now, as they occur in certain games (e.g. SQ4 floppy, SQ4 CD and KQ5 CD) svn-id: r40675
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608
2009-05-15SCI: Got rid of SEG_ID/SCRIPT_IDMax Horn
svn-id: r40599
2009-05-15SCI: Turned several script related SegManager methods into Script methodsMax Horn
svn-id: r40597
2009-05-14Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 ↵Max Horn
years :) in the quicktime midi code svn-id: r40577
2009-05-14SCI: Message: fix K_MESSAGE_SIZEWalter van Niftrik
svn-id: r40556
2009-05-13SCI: Message: Added a few more subfunctions; cleanup.Walter van Niftrik
svn-id: r40529
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
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-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-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-10Moved the code which retrieves the current room number in a separate ↵Filippos Karapetis
function and merged _sci1_alloc_system_colors inside _reset_graphics_input svn-id: r40412
2009-05-08SCI: Set signature for GetMessage.Walter van Niftrik
svn-id: r40396
2009-05-08SCI: Fix return value of GetMessage.Walter van Niftrik
svn-id: r40394
2009-05-03SCI: Changed SegManager to store the heap pointers in a Common::ArrrayMax Horn
svn-id: r40293
2009-05-03SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and ↵Max Horn
added accessor methods getType() and getSegMgrId() svn-id: r40271
2009-04-24Long messages in Eco Quest 1 are now shown correctlyFilippos Karapetis
svn-id: r40127
2009-04-24SCI: Store parse_tree_branch_t in a Common::ArraayMax Horn
svn-id: r40100
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-04-06Fixed an issue with the password screen in LSL5 and kStrAt(). The game ↵Filippos Karapetis
password, saved in file memory.drv (which can either exist in the game directory, or is created in the saves folder by ScummVM) is now working correctly, and the game can be started. Note that it's NOT currently possible not to set a password (you'll get the password screen anyway the next time, and it won't work). svn-id: r39876
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-03-25revert yesterday's change -- apparently this different behavior was intentional.Joost Peters
svn-id: r39683
2009-03-24Fix smaller error introduced in r39671 refactoring (this check used to be ↵Joost Peters
"res == 0"). Thanks to syke for spotting it. svn-id: r39673
2009-03-24SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>Max Horn
svn-id: r39671