aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
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
2009-10-06SCI/newgui: pattern drawing circles now fixedMartin Kiewitz
svn-id: r44713
2009-10-06- Fixed kGetTime() againFilippos Karapetis
- Removed the odd way of calculating elapsed time in SciGui(). We got _system->getMillis() for that purpose - Replaced the code in SciGui::wait() with the one in SciGui32::wait (which works fine, and is correct). The code in SciGui() was not polling for events while waiting, either svn-id: r44712
2009-10-06SCI/newgui: pattern drawing texture now bit0-bit7, sierra did it bit7-bit0Martin Kiewitz
svn-id: r44711
2009-10-06Removed yet another unused reference to OSystemFilippos Karapetis
svn-id: r44708
2009-10-06SCI: clean up oldx/y vs x/yWillem Jan Palenstijn
svn-id: r44707
2009-10-06SCI: Minor cleanupWillem Jan Palenstijn
svn-id: r44706
2009-10-06Moved the LSL1VGA workaround inside the font classFilippos Karapetis
svn-id: r44705
2009-10-06Removed an unused reference to OSystemFilippos Karapetis
svn-id: r44704
2009-10-06Simplified the LSL1VGA font resource workaroundFilippos Karapetis
svn-id: r44703
2009-10-06SCI/newgui: drawpattern now adjusts to curPortMartin Kiewitz
svn-id: r44702
2009-10-06SCI/newgui: kHiLite supportMartin Kiewitz
svn-id: r44701
2009-10-06SCI/newgui: Draw_Line() now doesnt modify prio/control anymoreMartin Kiewitz
svn-id: r44700
2009-10-06Updated the SCI engine module.mk and MSVC project files for commit #44698Filippos Karapetis
svn-id: r44699
2009-10-06SCI/newgui: palette functions from SciGuiGfx now in SciGuiPaletteMartin Kiewitz
svn-id: r44698
2009-10-06Removed the Bresenham line drawing code in the SCI new GUI, and replaced it ↵Filippos Karapetis
with Graphics::drawLine() svn-id: r44697