aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kstring.cpp
AgeCommit message (Collapse)Author
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
2009-03-24SCI: Changed vocab_tokenize_string to not 'return' the list it generates, ↵Max Horn
but rather pass a reference to an existing list to it (this is a bit more efficient, and allows us to return an error value) svn-id: r39670
2009-03-24SCI: Turned synonyms list into a Common::ListMax Horn
svn-id: r39669
2009-03-13SCI: cleanupMax Horn
svn-id: r39371
2009-03-13Changed the parameter passed to isprint() to be unsigned, according to MSDN ↵Filippos Karapetis
(thanks wjp) svn-id: r39370
2009-03-13Added an explanatory comment for commit #39368Filippos Karapetis
svn-id: r39369
2009-03-13LSL5 no longer throws an assertion after the introFilippos Karapetis
svn-id: r39368
2009-03-09SCI: result_word_t -> ResultWord; switched to Common::List for storing lists ↵Max Horn
of ResultWords svn-id: r39278
2009-03-08SCI: Changed suffix list to be stored as a Common::List; also fixed ↵Max Horn
spelling: suffices -> suffixes svn-id: r39214
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-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-27SCI: Moved almost all files from include/ to other dirs; only ↵Max Horn
include/engine.h remains svn-id: r38920
2009-02-24SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵Max Horn
deps some more svn-id: r38833
2009-02-22SCI: Replaced two uses of sci_fopen by Common::File; moved is_print_str() to ↵Max Horn
the only spot it is used svn-id: r38791
2009-02-21SCI: Convert the segment manager into a classJordi Vilalta Prat
svn-id: r38767
2009-02-21SCI: Got rid of include/scitypes.hMax Horn
svn-id: r38746
2009-02-21revert large parts of r38621. error() is for fatal errors and does not ↵Willem Jan Palenstijn
return. warning() is not for debugging status messages. svn-id: r38696
2009-02-21Remove excess \n.Travis Howell
svn-id: r38695
2009-02-21replace #ifdef WORDS_BIGENDIAN by SCUMM_BIG_ENDIANJoost Peters
svn-id: r38689
2009-02-21Replaced "typedef struct _state state_t" with "struct EngineState"Jordi Vilalta Prat
svn-id: r38678
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-21SCI: Fixed tons of bugs in error/warning format stringsMax Horn
svn-id: r38655