aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-10-08SCI/newgui: kAnimate - more implemented, cels are now drawn but isnt working ↵Martin Kiewitz
correctly currently svn-id: r44781
2009-10-08SCI/newgui: kAnimate SciGuiGfx::AnimateFill implementedMartin Kiewitz
svn-id: r44780
2009-10-08SCI/newgui: kAnimate - resolved previously unknown code functionalityMartin Kiewitz
svn-id: r44777
2009-10-08Updated comment to indicate that QFG1VGA is one of the newer SCI1.1 games ↵Filippos Karapetis
that has word-aligned resources svn-id: r44775
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-08SCI/newgui: removed EGAmappingMartin Kiewitz
svn-id: r44772
2009-10-08Restore the engine state stored within SciGui during loading once more, ↵Filippos Karapetis
since it gets replaced during loading. Fixes loading (a regression from #44730) svn-id: r44771
2009-10-08Removed the unused game_time variable, and fixed the incorrect calculation ↵Filippos Karapetis
of start_game_time when restoring a game svn-id: r44770
2009-10-07SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & ↵Max Horn
SegManager::lookupList svn-id: r44769
2009-10-07SCI: Change more stuff to be CFG compliantMax Horn
svn-id: r44768
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-07SCI: Get rid of SciGuiScreen::initScreen, also known as 'calloc' elsewhere ;)Max Horn
svn-id: r44766
2009-10-07SCI: Replace SciGuiGfx::mallocPort by 'new GuiPort'; also add FIXMES about ↵Max Horn
ports which are not freed, have no valid ID and are not known to the window mgr svn-id: r44765
2009-10-07SCI: Fix warning, cleanupMax Horn
svn-id: r44764
2009-10-07SCI: Make local tables 'static', rename them according to our CFGMax Horn
svn-id: r44763
2009-10-07SCI/newgui: changed dithering logic, otherwise colors combined with black ↵Martin Kiewitz
wouldnt get undithered correctly svn-id: r44762
2009-10-07SCI: debug command undither implementedMartin Kiewitz
svn-id: r44761
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: kDrawPic / had an error in previous revisionMartin Kiewitz
svn-id: r44759
2009-10-07SCI/newgui: SciGuiPicture now errors out on mirrored VGA pictures (added fixme)Martin Kiewitz
svn-id: r44758
2009-10-07SCI: changed kDrawPic to use oldGfxFuncs()Martin Kiewitz
svn-id: r44757
2009-10-07SCI/newgui: kDrawPic cleanup, addToFlag inverse detection currently not ↵Martin Kiewitz
working needs fixing svn-id: r44756
2009-10-07SCI/newgui: SciGuiView - paletteoffset in EGA games documented and finally ↵Martin Kiewitz
not used svn-id: r44751
2009-10-07SCI/newgui: hopefully the final fix for drawpicture - set priority and ↵Martin Kiewitz
control to "not draw" state, also added remark for fillroutine svn-id: r44745
2009-10-07SCI/newgui: it seems that this fixes floodfill finallyMartin Kiewitz
svn-id: r44744
2009-10-07SCI: set default EGA palette to 0, if no parameter is actually given us. ↵Martin Kiewitz
Fixes lsl2, kq4, sq3, etc. svn-id: r44743
2009-10-07SCI/newgui: undithering of picture now possible (just follow instructions in ↵Martin Kiewitz
gui_screen.cpp) svn-id: r44742
2009-10-07Fix mismatching new[]/delete use, by replacing delete with delete[].Johannes Schickel
svn-id: r44741
2009-10-07Implemented the SciGuiView destructor and plugged a memory leak in the ↵Filippos Karapetis
current GUI svn-id: r44740
2009-10-07Hopefully fixed a mismatching free() call in gfx_free_pixmap(), originating ↵Filippos Karapetis
from getView() svn-id: r44739
2009-10-07Fixed a potential buffer overflow in kFormat, which occurs in the "About" ↵Filippos Karapetis
screen in KQ4 svn-id: r44738
2009-10-07Replaced the view loading code with the new view loading functions. EGA view ↵Filippos Karapetis
color translation has been disabled, as it caused palette problems in Codename:Iceman svn-id: r44737
2009-10-07SCI/newgui: fix that caused floodfill to failMartin Kiewitz
svn-id: r44736
2009-10-07SCI/newgui: implemented debug command show_mapMartin Kiewitz
svn-id: r44735
2009-10-07SCI/newgui: kSetCursor (show, hide, pos, shape) implementedMartin Kiewitz
svn-id: r44734
2009-10-07Updated the MSVC project files and module.mk for commit #r44730Filippos Karapetis
svn-id: r44732
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
2009-10-07SCI: SciGuiPalette - init() is now privateMartin Kiewitz
svn-id: r44726
2009-10-07SCI: removed r44595, sierra sci really does behave like Common::Rect, no ↵Martin Kiewitz
need for +1 svn-id: r44725
2009-10-07More work on the view code wrapper. Now all SCI0-SCI11 views should be ↵Filippos Karapetis
displayed correctly, apart from the late SCI0 ones (e.g. in Codename Iceman), where the palette is incorrect svn-id: r44724
2009-10-06More work on the view wrapper codeFilippos Karapetis
svn-id: r44723
2009-10-06Updated the parameter names of FillRect()Filippos Karapetis
svn-id: r44722
2009-10-06Reverted the priority line drawing code in the current GUI (with some ↵Filippos Karapetis
cleanup) to use the FreeSCI line drawing code, which was removed in #44692. Apparently, Sierra's implementation of the Bresenham line drawing algorithm was a bit different than ours, which resulted in problems with flood fill svn-id: r44721
2009-10-06Reverted #44697 (line drawing in the new GUI), with some function renaming. ↵Filippos Karapetis
Apparently, Sierra's implementation of the Bresenham line drawing algorithm was a bit different than ours, which resulted in problems with flood fill svn-id: r44720
2009-10-06SCI/newgui: pattern drawing table fixMartin Kiewitz
svn-id: r44719
2009-10-06More work on the view wrapper codeFilippos Karapetis
svn-id: r44718
2009-10-06WIP code for replacing the FreeSCI view decoding code with the new one (no ↵Filippos Karapetis
changes to the logic, yet) svn-id: r44717
2009-10-06SCI/newgui: changed menuPort to one pixel lessMartin Kiewitz
svn-id: r44715
2009-10-06SCI/newgui: dont allow negative coordinates in draw pattern (fixes bad ↵Martin Kiewitz
pixels in kq1) svn-id: r44714