aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/game.cpp
AgeCommit message (Collapse)Author
2009-03-29SCI: Merge static palette into global palette at startupWillem Jan Palenstijn
svn-id: r39747
2009-03-24SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>Max Horn
svn-id: r39671
2009-03-24SCI: Turned synonyms list into a Common::ListMax Horn
svn-id: r39669
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-24SCI: C++ify menu codeMax Horn
svn-id: r39659
2009-03-23CleanupFilippos Karapetis
svn-id: r39633
2009-03-22Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39621
2009-03-11Fix heap corruption when assigning the save game directoryFilippos Karapetis
svn-id: r39343
2009-03-10String fragments supportLars Skovlund
WIP: No regressions in this part, I hope svn-id: r39297
2009-03-08Use new Palette class to manager pixmap palettes.Willem Jan Palenstijn
There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242
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-07SCI: Reduced header interdependencies some moreMax Horn
svn-id: r39202
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-03-03SCI1: Improved color mapping when drawing line/box/text. Text with ↵Greg Frieger
transparent background now displays correctly. svn-id: r39089
2009-02-28SCI: Use the ResourceType enum instead of integers where it makes senseJordi Vilalta Prat
svn-id: r38988
2009-02-28SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var ↵Max Horn
shadowing warnings; some other tweaks svn-id: r38984
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-28clean up some warningsAndre Heider
svn-id: r38965
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
2009-02-27SCI: Remove empty include/ dirMax Horn
svn-id: r38922
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-27SCI: Commited file handling revamp, work in progressMax Horn
svn-id: r38919
2009-02-26- Removed engine/sys_strings.*Filippos Karapetis
- Renamed sys_string_t -> SystemString, sys_strings_t -> SystemStrings svn-id: r38916
2009-02-26start out with an empty array of file handles, so the Enginestates matches ↵Andre Heider
between startup and restart. really check its size before accessing it (fixes LSL3 restart) svn-id: r38915
2009-02-26reinit sfx in game_init() when it got deinitialized in game_exit(), this ↵Andre Heider
unmutes the game after a restart. shutdown sfx in game_exit() only if there is no EngineState successor (restored game) since gamestate_restore() already reinitialized it. svn-id: r38912
2009-02-25reintroduce game_start_time (removed it in r38701), since the interpreter ↵Andre Heider
can be restarted and it can be retrieved via script function (eg. LSL3 about box) svn-id: r38888
2009-02-24bring back comments but as TODO commentPaweł Kołodziejski
svn-id: r38866
2009-02-24remove code related __GNU__XX definesPaweł Kołodziejski
svn-id: r38863
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-23SCI: Got rid of resource_dir & work_dir (temporarily disabled ↵Max Horn
f_open_mirrored for that) svn-id: r38807
2009-02-23SCI: Changed selector name table to a Common::StringListMax Horn
svn-id: r38805
2009-02-23SCI: Simplified code for selector lookup map generation a bit; got rid of an ↵Max Horn
unused var svn-id: r38804
2009-02-22SCI: Rewrite the way file handles are managedMax Horn
svn-id: r38794
2009-02-22SCI: Moved the code which iterates over the current dir into a small classMax Horn
svn-id: r38793
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-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21SCI: Convert the segment manager into a classJordi Vilalta Prat
svn-id: r38767
2009-02-21SCI: Moved include/menubar.h -> gfx/menubar.h, untangled headers some moreMax Horn
svn-id: r38761
2009-02-21SCI: Changed typedef struct -> structMax Horn
svn-id: r38752
2009-02-21SCI: Tons of cleanupMax Horn
svn-id: r38721
2009-02-21use OSystem::getMillis() for last_wait_time and get rid of game_start_timeAndre Heider
svn-id: r38701
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-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-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-18formatingPaweł Kołodziejski
svn-id: r38512
2009-02-18formatingPaweł Kołodziejski
svn-id: r38511