aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
2010-01-05More renamingFilippos Karapetis
svn-id: r47009
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007
2010-01-05SCI: Removed the old graphics codeFilippos Karapetis
svn-id: r47005
2010-01-04Removed the now unused GuiDummy classFilippos Karapetis
svn-id: r46967
2010-01-01SCI: switch to previous gameid, when importing character data in qfg seriesMartin Kiewitz
svn-id: r46813
2009-12-31SCI: fixed typo in unwrapFilenameMartin Kiewitz
svn-id: r46807
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-27Add support for external wave files used as audio resources in the ↵Matthew Hoops
ResourceManager. The GK1 CD main menu music now works. svn-id: r46660
2009-12-26Kernel function 0x26 is empty in SCI1.1 games, and it has been set to ↵Filippos Karapetis
kPortrait in KQ6CD only svn-id: r46585
2009-12-26Set the save game directory to something in pre-SCI32 games, as games like ↵Filippos Karapetis
SQ4CD complain that it's invalid if it's empty svn-id: r46570
2009-12-26Some more work on the new music codeFilippos Karapetis
svn-id: r46569
2009-12-25SCI/newmusic: added filter support for kq4early and adlibMartin Kiewitz
svn-id: r46563
2009-12-24Added a hack in kAddScreenItem to display the view in question on screen. ↵Filippos Karapetis
Some parts of the main menu can be seen now in GK1 svn-id: r46528
2009-12-24SCI32:Matthew Hoops
- Fix dup for kArray/kString - Implement kFileIO::rename (SCI1.1) - Implement part of the SCI32 additions to kFileIO - Implement the GetSaveDir part of kSave (SCI2.1) - Torin (SCI2.1!) now shows signs of life -- it will create the torin.prf file with correct data! svn-id: r46521
2009-12-21SCI32:Matthew Hoops
- Fully implement kArray and kIsHiRes and mostly implement kString (printf and atoi subfunctions still missing). - Add a dummy SciGui class for SCI32 to bypass the views. Gabriel Knight 1 will now play the Sierra logo music and the main menu music. - Some other minor SCI32 changes. svn-id: r46462
2009-12-20Moved all of the sound iterator code in its own directory, and added a ↵Filippos Karapetis
slight hack to the SoundCommandParser constructor svn-id: r46430
2009-12-08SCI: new USE_OLDGFX for switching to oldgui, fixes loading of savedgames ↵Martin Kiewitz
under oldgui, oldgui doesn't like calling of setPortPic during loading svn-id: r46294
2009-12-04SCI: SciEvent created, kernel_sleep() createdMartin Kiewitz
svn-id: r46252
2009-11-12Started objectifying kDoSound()Filippos Karapetis
svn-id: r45862
2009-11-11SCI/newgui: setting as defaultMartin Kiewitz
svn-id: r45842
2009-11-04CleanupFilippos Karapetis
svn-id: r45667
2009-11-04- Changed the segment manager to be a static part of the engine, and stopped ↵Filippos Karapetis
deleting and recreating it when restoring games - Merged game_exit(), script_free_vm_memory() and script_free_engine() - Cleanup svn-id: r45666
2009-11-04Removed the reference to SciGuiCursor from EngineStateFilippos Karapetis
svn-id: r45660
2009-11-04priority_first and priority_last are not used by the new drawing code, thus ↵Filippos Karapetis
the new code didn't handle priority changes by kGraph() svn-id: r45658
2009-11-04Moved most of the code for playing sound effects and speech into a separate ↵Filippos Karapetis
class svn-id: r45653
2009-10-31Added some default directoriesFilippos Karapetis
svn-id: r45568
2009-10-31SCI: accidentally set newgui to default, revertingMartin Kiewitz
svn-id: r45563
2009-10-31SCI/newgui: UpscaledHires implemented including undithering support, cleanupMartin Kiewitz
svn-id: r45562
2009-10-31Some more work on KQ6 hi res version - screen scaling should be done now, ↵Filippos Karapetis
but other methods haven't been updated yet svn-id: r45555
2009-10-30Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full ↵Filippos Karapetis
screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup. svn-id: r45536
2009-10-29SCI/newgui: Defining color white and others in SciGuiScreen and using that. ↵Martin Kiewitz
Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures svn-id: r45500
2009-10-28Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵Filippos Karapetis
(defined in sci.h) svn-id: r45459
2009-10-25- Removed graphics options code from the old GUI. Almost all of them are not ↵Filippos Karapetis
supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed). - Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game - The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted) svn-id: r45378
2009-10-25CleanupFilippos Karapetis
svn-id: r45368
2009-10-25CleanupFilippos Karapetis
svn-id: r45366
2009-10-18Removed unused references to operations.hFilippos Karapetis
svn-id: r45217
2009-10-16Reverted an accidental change in the last commitFilippos Karapetis
svn-id: r45177
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-15Changed the KQ6 floppy SEQ decoder to use the common VideoPlayer interface. ↵Filippos Karapetis
Some cleanup svn-id: r45124
2009-10-13Merged the cursor manipulation code - cursor views are still not doneFilippos Karapetis
svn-id: r45028
2009-10-11Reset the EngineState pointer in the SciGuiGfx class when loading. Fixes ↵Filippos Karapetis
loading with the new GUI svn-id: r44934
2009-10-10Introduced a new debug level, kDebugLevelResMan, and reduced some of the ↵Filippos Karapetis
messages printed to the console svn-id: r44858
2009-10-09Removed the unused _flags variable from EngineStateFilippos Karapetis
svn-id: r44857
2009-10-09Removed the now unused GF_SCI0_OLDGETTIME flag and simplified all of the ↵Filippos Karapetis
game entries in the detector svn-id: r44856
2009-10-08Started rewriting the check for the graphics functions type (still not ↵Filippos Karapetis
finished) svn-id: r44787
2009-10-08Don't store the engine state in the SciGuiPalette class. The palette ↵Filippos Karapetis
timestamps are now calculated from Epoch time, instead of game start time (the functionality is exactly the same, though) svn-id: r44773
2009-10-07SCI: Reduce header interdepencies once again. Rule of thumb: Never include a ↵Max Horn
header file from another header file unless you absolutely *must* do it; if possible, try to use class forwards instead, and include the headers from source files only svn-id: r44767
2009-10-07- Cleaned up the cursor codeFilippos Karapetis
- Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760
2009-10-07SCI: removed OSystem from SciGuiScreenMartin Kiewitz
svn-id: r44731
2009-10-07SCI: SciGuiCursor class added, cleanup, OSystem removed from SciGui constructorMartin Kiewitz
svn-id: r44730