aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-11-02SCI: Fix warning about unused variableMax Horn
svn-id: r45614
2009-11-02SCI: SciGuiMenu created, kMenu-related stuff now using SciGuiMartin Kiewitz
svn-id: r45612
2009-11-01SCI: AvoidPath: Add simpler visibility algorithm (still disabled).Walter van Niftrik
svn-id: r45590
2009-10-31SCI/newgui: fixing kDisposeWindow so that reanimate is correctly called ↵Martin Kiewitz
(fixes cels disappearing after removing windows) svn-id: r45588
2009-10-31SCI: AvoidPath: Switch to A*Walter van Niftrik
svn-id: r45586
2009-10-31Fix compilation.Johannes Schickel
svn-id: r45582
2009-10-31SCI/newgui: SciGuiPortrait createdMartin Kiewitz
svn-id: r45579
2009-10-31Comment out unused variables.Johannes Schickel
svn-id: r45574
2009-10-31- Added some TODOsFilippos Karapetis
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game - Added extra param to kDrawCel(), used in KQ6 Windows The icon bar in KQ6 Windows is shown a bit better now svn-id: r45567
2009-10-31SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if ↵Martin Kiewitz
coordinates are really hires, it seems that they are not) svn-id: r45564
2009-10-30Formatting.Johannes Schickel
svn-id: r45553
2009-10-30Some work on the kPortrait kernel function, used to show hires character ↵Filippos Karapetis
portraits in the Windows CD version of KQ6 svn-id: r45552
2009-10-30Cleaned up kPlatform() a bit, and changed it to return appropriate values ↵Filippos Karapetis
for the CD hires version of KQ6 svn-id: r45551
2009-10-30SCI: validate_variable fixed and now using bool instead of int (fixes pq3 ↵Martin Kiewitz
demo crash on my computer) svn-id: r45543
2009-10-30- Removed status_bar_foreground and status_bar_background variables from the ↵Filippos Karapetis
engine state - Implemented clearMenuBar() in the new graphics code - Removed the "status_bar" command, which was used to set custom colors for the status bar svn-id: r45538
2009-10-30SCI: kStrAt offset checking fixedMartin Kiewitz
svn-id: r45537
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-30Rewrote the avoidpath debug code to use new graphics functionsFilippos Karapetis
svn-id: r45533
2009-10-30SCI: kStrAt / dont do call, when offset exceeds maxSize. fixes crash in kq5Martin Kiewitz
svn-id: r45530
2009-10-30SCI: AvoidPath: Add workaround for pathfinding problem when Patti walks toWalter van Niftrik
control room in LSL5, room 660. svn-id: r45522
2009-10-30SCI: AvoidPath: Don't discard contained-access polygon when starting pointWalter van Niftrik
is right next to it. svn-id: r45521
2009-10-29Stop SQ4 floppy from updating the unused sq4sg.dir file when deleting a ↵Filippos Karapetis
saved game svn-id: r45507
2009-10-29CleanupFilippos Karapetis
svn-id: r45506
2009-10-29- Implemented savegame deletion for SQ4 floppyFilippos Karapetis
- Added a more proper way to disable the "Change Directory" button, by checking its name, rather than the string it contains svn-id: r45504
2009-10-29Disable the "Delete" button for all versions of SQ4 floppy, and the "Change ↵Filippos Karapetis
Directory" button for all games (English and non-English versions) svn-id: r45503
2009-10-29Automatically create memory.drv (the file containing the LSL5 password) for ↵Filippos Karapetis
non-English versions of LSL5, so that the games don't abort if it can't be found. svn-id: r45502
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-29Fixed the deletion of save games - the wrong save game would be deleted with ↵Filippos Karapetis
the previous code, as we sort the list by date svn-id: r45499
2009-10-29Moved some menu code outside the INCLUDE_OLDGFX safeguardsFilippos Karapetis
svn-id: r45496
2009-10-28Added a workaround for the casino door in LSL1Filippos Karapetis
svn-id: r45494
2009-10-28Changed some of the menu code to use new graphics functionsFilippos Karapetis
svn-id: r45493
2009-10-28Wrapped some more oldgui-specific code around INCLUDE_OLDGFX safeguardsFilippos Karapetis
svn-id: r45492
2009-10-28Wording. Added warnings for unimplemented menu-related functions in the new ↵Filippos Karapetis
GUI code svn-id: r45489
2009-10-28Added detection for pq1, cnick-lslcasino and cnick-longbow to the fallback ↵Filippos Karapetis
detector. Simplified the code which distinguishes between demo and full versions. Some cleanup svn-id: r45488
2009-10-28SCI/newgui: BaseSetter moved to SciGuiMartin Kiewitz
svn-id: r45480
2009-10-28SCI/newgui: IsItSkip moved into SciGuiMartin Kiewitz
svn-id: r45479
2009-10-28SCI/newgui: CleanupMartin Kiewitz
svn-id: r45478
2009-10-28Fixed the rectangle top inside kBaseSetter()Filippos Karapetis
svn-id: r45466
2009-10-28CleanupFilippos Karapetis
svn-id: r45465
2009-10-28Oops, removed leftover code (z was taken into account after all, but in a ↵Filippos Karapetis
different place...) svn-id: r45464
2009-10-28Rewrote kBaseSetter() to use new graphics functions and behave like the ↵Filippos Karapetis
original, and fixed a bug in the process (the previous code ignored z when calculating the height) svn-id: r45463
2009-10-28Reimplemented isItSkip() using new graphics codeFilippos Karapetis
svn-id: r45461
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-26Added proper detection and handling of transitive SCI1-SCI1.1 games, like ↵Filippos Karapetis
PQ1 VGA. These used SCI1 resources and compression with a SCI1.1 kernel (thanks to waltervn's observations) svn-id: r45420
2009-10-25Moved the cel count calculation to the new graphics codeFilippos Karapetis
svn-id: r45379
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-25SCI: kGameIsRestarting - another change, setting back delay back to 30msecs, ↵Martin Kiewitz
but no delay during initial 50 calls. This seems to make qfg2 and iceman happy. svn-id: r45376
2009-10-25SCI: kGameIsRestarting - changing speed throttler to 10 msecs, lsl5 is still ↵Martin Kiewitz
"somewhat" playable, codename iceman and qfg2 didnt show some animations cause of the higher delay svn-id: r45375
2009-10-25SCI: kAddToPic - removing support for argc==0 case, if this really gets used ↵Martin Kiewitz
somewhere, we need to set _picNotValid in that case svn-id: r45372