aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui_screen.cpp
AgeCommit message (Collapse)Author
2009-12-09SCI: implemented _picNotValidSci11 for new kPicNotValid behaviour in sci1.1 ↵Martin Kiewitz
(fixes island of dr. brain first pic after copy protection not showing up) svn-id: r46305
2009-10-31Slight optimization to the 2x scalerFilippos Karapetis
svn-id: r45566
2009-10-31Upscale the mouse cursor when the screen is upscaled. Also, reapplied some ↵Filippos Karapetis
code which was accidentally reverted in commit #45562 svn-id: r45565
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-31SCI/newgui: UpscaledHires implemented including undithering support, cleanupMartin Kiewitz
svn-id: r45562
2009-10-31Properly fixed putPixel() for scaled screensFilippos Karapetis
svn-id: r45557
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-29SCI/newgui: SciGuiPicture now acts like sierra sci when drawing cels, so we ↵Martin Kiewitz
dont need some hardcoded variable and differ when clearing screen svn-id: r45508
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-28SCI/newgui: update whole screen when show_map console-command is usedMartin Kiewitz
svn-id: r45475
2009-10-17SCI/newgui: kDisplay restoreUnder completedMartin Kiewitz
svn-id: r45202
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-15SCI/newgui: undithering now enabled by defaultMartin Kiewitz
svn-id: r45125
2009-10-14SCI/newgui: SciGuiTransitions now also supports scrolling up (lsl6 intro)Martin Kiewitz
svn-id: r45084
2009-10-13SCI/newgui: SciGuiScreen putPixel etc. needs to use _width and _height ↵Martin Kiewitz
instead of _displayWidth and _displayHeight svn-id: r45004
2009-10-12SCI: Fix warnings, cleanupMax Horn
svn-id: r44978
2009-10-12Got rid of _baseTable and _baseDisplayTableFilippos Karapetis
svn-id: r44973
2009-10-12Move the line drawing code to SciGuiScreen()Filippos Karapetis
svn-id: r44969
2009-10-11Fill box routines do not translate the fill box coordinatesFilippos Karapetis
svn-id: r44937
2009-10-11Optimized some screen updates in the new GUI to only update the changed ↵Filippos Karapetis
rectangle, instead of the whole screen svn-id: r44935
2009-10-11SCI/newgui: kShakeScreen partially implementedMartin Kiewitz
svn-id: r44897
2009-10-09SCI/newgui: changing SciGuiScreen::dither() for cel-undithering logicMartin Kiewitz
svn-id: r44846
2009-10-09SCI/newgui: changing undithering logic again, palette now uses decoded ↵Martin Kiewitz
color-combinations, fixup happens during dithering run on undithered mode svn-id: r44845
2009-10-07SCI: Get rid of SciGuiScreen::initScreen, also known as 'calloc' elsewhere ;)Max Horn
svn-id: r44766
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-07SCI/newgui: undithering of picture now possible (just follow instructions in ↵Martin Kiewitz
gui_screen.cpp) svn-id: r44742
2009-10-07SCI/newgui: implemented debug command show_mapMartin Kiewitz
svn-id: r44735
2009-10-07SCI: removed OSystem from SciGuiScreenMartin Kiewitz
svn-id: r44731
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: palette functions from SciGuiGfx now in SciGuiPaletteMartin Kiewitz
svn-id: r44698
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-05SCI: Make getBitsDataSize use the same logic as saveBitsWillem Jan Palenstijn
svn-id: r44682
2009-10-05SCI/newgui: Implemented trick to get dithering going after drawing picture ↵Martin Kiewitz
w/o destroying statusbar svn-id: r44681
2009-10-05SCI/newgui: changed the way dithering works on ega games, also default value ↵Martin Kiewitz
change for kDrawStatus svn-id: r44679
2009-10-05Minimize unnecessary calls to updateScreen() in the new GUI. This improves ↵Filippos Karapetis
drawing speed dramatically svn-id: r44659
2009-10-05Removed the unused _bytesPerDisplayPixel parameter. All SCI games use 8bpp ↵Filippos Karapetis
color (apart from the videos in Phantasmagoria 2, which are not part of the engine itself) svn-id: r44653
2009-10-05More method renamingFilippos Karapetis
svn-id: r44651
2009-10-05- Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> ↵Filippos Karapetis
SciGuiWindowMgr) - Renamed "cell" -> "cel" svn-id: r44649
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-10-04SCI/newgui: cleanupMartin Kiewitz
svn-id: r44584
2009-10-03SCI: Merge new GUI code written by m_kiewitz.Willem Jan Palenstijn
This is a major rewrite of the graphics code. A slightly adapted version of the old code is still available and currently the default. The new code is selectable in sci.cpp, but is not yet finished. svn-id: r44565