aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
2010-06-17SCI: cleanupMax Horn
svn-id: r49961
2010-06-17Added handling of VMD video files in kResCheck, fixes video playing in GK2Filippos Karapetis
svn-id: r49913
2010-06-16Hooked the VMD player in kPlayVMD. The VMD videos in the demo of ↵Filippos Karapetis
Phantasmagoria 1 are shown now (e.g. the intro and the chapter beginning) svn-id: r49912
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-15SCI: reset _gfxText16 for sci32, fixes gk1Martin Kiewitz
svn-id: r49856
2010-06-15SCI: putting SciGui::init into SciEngine, removing it from SciGui(32)Martin Kiewitz
svn-id: r49854
2010-06-15SCI: Revise how ResourceManager is instantiated.Max Horn
This should allow for better error handling. Also, it means that g_sci->getResMan() returns a valid value much sooner, allowing me to simplify some code. Also added a note about potentially replacing Common::FSList usage by Common::Archive (and FSNode by Archive/ArchiveMember ?). This might be a way to unify the addAppropriateSources variants again. svn-id: r49825
2010-06-15Removed the now unused EngineState parameter of ↵Filippos Karapetis
script_adjust_opcode_formats(), as well as an obsolete TODO svn-id: r49684
2010-06-14SCI: Limit the screen refresh rate to 60fpsFilippos Karapetis
svn-id: r49647
2010-06-10camelCase changesFilippos Karapetis
svn-id: r49570
2010-06-10Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵Filippos Karapetis
some camelCase changes svn-id: r49568
2010-06-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-06-10Removed the pointer to the game object from the EngineState classFilippos Karapetis
svn-id: r49562
2010-06-10Fixed compilation with the old music codeFilippos Karapetis
svn-id: r49560
2010-06-10Moved all of the game init/run/exit logic inside the SciEngine classFilippos Karapetis
svn-id: r49559
2010-06-09The segment manager is now initialized before the graphics subsystem. Fixes ↵Filippos Karapetis
the detection of the fastCast object on startup, and hence fixes LSL1VGA svn-id: r49553
2010-06-09Fixed crash in SCI2.1 gamesFilippos Karapetis
svn-id: r49546
2010-06-09Proper fix for kernel name loading (regression from commit #49537)Filippos Karapetis
svn-id: r49544
2010-06-09Fixed regression from commit #49537Filippos Karapetis
svn-id: r49543
2010-06-09Merged script_init_engine() and game_init() and cleaned up SciEngine::run() ↵Filippos Karapetis
a bit svn-id: r49537
2010-06-09Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵Filippos Karapetis
structure, and removed it from the engine state svn-id: r49534
2010-06-08SCI: set default palette after initializing music driver, fixes palette ↵Martin Kiewitz
getting messed up when using mt32 emulation svn-id: r49523
2010-06-08Merged the restarting_flags, script_abort_flag, and restoring members of the ↵Filippos Karapetis
EngineState class into one variable, abortScriptProcessing. The flag kept to signify a game restart has been placed in a boolean, gameWasRestarted svn-id: r49518
2010-06-06Now that EngineState is not deleted when loading games, we can move some ↵Filippos Karapetis
more state-related variables to it, and remove several FIXME's about non-const global variables. Also, the entries in the data stack are now deleted when loading (fixes a memory leak - thanks to digitall for this). svn-id: r49465
2010-06-01The parser vocabulary remains static throughout the game, thus it has been ↵Filippos Karapetis
removed from the engine state svn-id: r49373
2010-06-01The system strings segment is a fixed segment of the segment manager, which ↵Filippos Karapetis
doesn't change during the game, thus move all the system strings code and variables inside the segment manager svn-id: r49372
2010-05-24SCI: forgot one rename in r49202 - MSVC, why?Martin Kiewitz
svn-id: r49203
2010-05-24SCI: renaming MacIconBar to GfxMacIconBarMartin Kiewitz
svn-id: r49202
2010-05-24Oops, forgot to delete the icon bar.Matthew Hoops
svn-id: r49199
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-18- Moved kernel_lookup_text inside the Kernel classFilippos Karapetis
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it svn-id: r49076
2010-05-18- Moved determine_reg_type() and kernel_matches_signature() inside the ↵Filippos Karapetis
Kernel class, where they belong - Moved the kernel signature defines inside kernel.h - Removed some unused references to EngineState svn-id: r49075
2010-05-15SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits ↵Martin Kiewitz
are drawn at the right position svn-id: r49041
2010-05-15SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵Martin Kiewitz
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-24SCI: reverting r48787 port updates were actually introduced (heard that ↵Martin Kiewitz
before) in SCI1. I used the outdated wiki before and that one lists qfg2 and xmas90ega being SCI01. They are actually SCI1 svn-id: r48789
2010-04-24SCI: r48786 port updates were actually introduced during SCI01, qfg2 and ↵Martin Kiewitz
xmas90ega only. We enable port updates only for non-multilingual SCI01 games now - fixes percentage bar for qfg1 japanese as well svn-id: r48787
2010-04-17SCI: key presses of extended chars (umlauts, etc.) will now get ignored in ↵Martin Kiewitz
games that don't support them (which is all non-multilingual games) svn-id: r48693
2010-02-23SCI: Stop storing EngineState in SciGui32Max Horn
svn-id: r48117
2010-02-14Fixed typoFilippos Karapetis
svn-id: r48060
2010-02-14Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a ↵Filippos Karapetis
state, per se, and is static) svn-id: r48059
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046