aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
2009-10-17Removed the obsolete and bitrotted testing code for the old SCI GUIFilippos Karapetis
svn-id: r45206
2009-10-17Include common/endian.h for SWAP_BYTES_32. Should fix compile on BE systems.Matthew Hoops
svn-id: r45190
2009-10-17Started moving some of the old GUI code inside /gui32Filippos Karapetis
svn-id: r45185
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-16Moved the SEQ decoder outside the gfx directory, as it is completely stand ↵Filippos Karapetis
alone now and no longer uses any GUI-related code svn-id: r45153
2009-10-16Fixed an assert in the introduction of the CD version of KQ6Filippos Karapetis
svn-id: r45152
2009-10-15Changed the KQ6 floppy SEQ decoder to use the common VideoPlayer interface. ↵Filippos Karapetis
Some cleanup svn-id: r45124
2009-10-14Fixed the palette in the SEQ decoder againFilippos Karapetis
svn-id: r45088
2009-10-14Started rewriting the SEQ decoder to use the new GUI functionsFilippos Karapetis
svn-id: r45083
2009-10-13Removed the now unused code in gfx/res_cursor.cppFilippos Karapetis
svn-id: r45034
2009-10-13Removed some leftover cursor codeFilippos Karapetis
svn-id: r45033
2009-10-13Merged the rest of the cursor codeFilippos Karapetis
svn-id: r45029
2009-10-13Merged the cursor manipulation code - cursor views are still not doneFilippos Karapetis
svn-id: r45028
2009-10-09don't discard const qualifier needlesslyMax Horn
svn-id: r44854
2009-10-09Some const correctness changes; cleanupMax Horn
svn-id: r44850
2009-10-09SCI: resmanager / include order changeMartin Kiewitz
svn-id: r44821
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
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-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-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-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-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-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-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-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-05Moved the cursor movement code in the GUIFilippos Karapetis
svn-id: r44664
2009-10-05Removed dead codeFilippos Karapetis
svn-id: r44657
2009-10-05- Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> ↵Filippos Karapetis
SciGuiWindowMgr) - Renamed "cell" -> "cel" svn-id: r44649
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
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
2009-10-03fixed addMenu isspace() issue on umlautsMartin Kiewitz
svn-id: r44563
2009-09-30Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs ↵Filippos Karapetis
(usually), or to signal success in some special occasions svn-id: r44505
2009-09-30- Removed some leftover 16/32bpp color code, as we're always using palette ↵Filippos Karapetis
mode now - Simplified the mouse cursor manipulation code svn-id: r44502
2009-09-30oopsMax Horn
svn-id: r44500
2009-09-30SCI: Some palette code cleanupMax Horn
svn-id: r44494
2009-09-30Converted _color_equals() into respective equality operators within the ↵Filippos Karapetis
gfx_color_t structure svn-id: r44477
2009-09-28SCI: When merging palettes, map all unused colours to index 0.Willem Jan Palenstijn
This fixes the boots/belt of the hero sprite in QfG3 character generation. svn-id: r44448
2009-09-27SCI: Fix crash when opening menu'sWillem Jan Palenstijn
svn-id: r44398
2009-09-27SCI: Major string handling update.Willem Jan Palenstijn
All string access to segments should now work with both raw and non-raw (reg_t) segments, using the new utility functions in segMan. There will likely be regressions. svn-id: r44388
2009-09-25Create a define for the special "signal" offset used throughout the engine, ↵Filippos Karapetis
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359
2009-09-24SCI: When setting global palette, map all unused colours to index 0.Willem Jan Palenstijn
This fixes white artifacts outside the bar in the SQ4CD intro, but might cause regressions elsewhere. svn-id: r44320
2009-09-24SCI: Delete unused function declarationWillem Jan Palenstijn
svn-id: r44319
2009-09-24SCI: Fix flat dithering by permuting the blended palette so that the EGA ↵Willem Jan Palenstijn
colours are the first 16 entries svn-id: r44317
2009-09-23- Moved the SCI version in a global variableFilippos Karapetis
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269
2009-09-22Simplified the code which creates the mouse cursorFilippos Karapetis
svn-id: r44248
2009-09-15Slight cleanup of the resource palette modification codeFilippos Karapetis
svn-id: r44097