aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-06gob - fix valgrind warning: invalid read when animKeysCount equals 0Arnaud Boutonné
svn-id: r44716
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-06Kyra: fix kyra 3 fontFlorian Kagerer
svn-id: r44710
2009-10-06KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when ↵Florian Kagerer
typing savegame names - fixed some minor bugs svn-id: r44709
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
2009-10-06- Removed the SciGuiGfx parameter from SciGuiViewFilippos Karapetis
- Moved _sysPalette inside SciGuiScreen - Made CreatePaletteFromData() a static helper function svn-id: r44696
2009-10-06Removed duplicate private variablesFilippos Karapetis
svn-id: r44695
2009-10-06SCI/newgui: removed warnings from vector drawingMartin Kiewitz
svn-id: r44694
2009-10-06SciGuiView is only using the ResourceManager, so there's no need to pass the ↵Filippos Karapetis
whole EngineState to it svn-id: r44693
2009-10-06- Unified the screen buffers that are used by the current and the new GUIFilippos Karapetis
- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions - Some cleanup svn-id: r44692
2009-10-06Removed unused reference to OSystemFilippos Karapetis
svn-id: r44691
2009-10-06SCI/newgui: view type amiga now supportedMartin Kiewitz
svn-id: r44689