aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
2009-05-08SCI: Folded line.h and crossblit.h into gfx_support.cppMax Horn
svn-id: r40389
2009-05-08SCI: cleanupMax Horn
svn-id: r40388
2009-05-08SCI: Got rid of code for endian adjusting pixmapsMax Horn
svn-id: r40387
2009-05-08SCI: turn the various gfx filters from #define hacks into template funcsMax Horn
svn-id: r40386
2009-05-08SCI: Replaced gfx_driver_t::set_palette and install_palette by directly ↵Max Horn
invoking their OSystem counterparts svn-id: r40385
2009-05-05SCI: Work around an 'Array used after being disposed' bug that occurs when a ↵Max Horn
GfxVisual gets disposed svn-id: r40327
2009-04-28SCI: Renamed text_fragment_t -> TextFragment and changed TextHandle to store ↵Max Horn
the text fragments and pixmaps in Common::Arrays svn-id: r40178
2009-04-27SCI: renamed gfx_text_handle_t -> TextHandle; changed some string code to ↵Max Horn
use Common::String svn-id: r40162
2009-04-27SCI: Removed unused vars; doxygenified some comments; cleanupMax Horn
svn-id: r40159
2009-04-27SCI: Rewrote dirty rect code to use Common::ListMax Horn
svn-id: r40156
2009-04-27SCI: Renamed gfx_state_t -> GfxStateMax Horn
svn-id: r40155
2009-04-24SCI: Initialize pixmap to transparency before decoding cel RLE data. ThisWalter van Niftrik
fixes some of the views in KQ6. svn-id: r40132
2009-04-24Changed an error to a warning, to make Longbow playable againFilippos Karapetis
svn-id: r40124
2009-04-24SCI: Fix transparency in view-based mouse cursors.Walter van Niftrik
svn-id: r40116
2009-04-24SCI: Turned GfxWidget::draw function pointer into virtual methodMax Horn
svn-id: r40115
2009-04-24SCI: Turned GfxWidget::tag function pointer into virtual methodMax Horn
svn-id: r40114
2009-04-24SCI: Turned GfxWidget::print function pointer into virtual methodMax Horn
svn-id: r40113
2009-04-24SCI: Doxygenified some commentsMax Horn
svn-id: r40112
2009-04-24SCI: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
2009-04-24SCI: Changed GfxWidget::set_visual function pointer to virtual method setVisualMax Horn
svn-id: r40108
2009-04-24SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructorsMax Horn
svn-id: r40107
2009-04-24SCI: font_nr -> _fontMax Horn
svn-id: r40106
2009-04-24SCI: Rewrote the port_refs code (fixing at least three serious bugs in it. ↵Max Horn
Wow, crappy) svn-id: r40105
2009-04-24SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc.Max Horn
svn-id: r40104
2009-04-24SCI: Started to C++ify the gfxw_widget_t codebaseMax Horn
svn-id: r40103
2009-04-24SCI: Changed GFXERROR to be fatalMax Horn
svn-id: r40102
2009-04-23The mouse cursor is now working in Eco Quest 1, though the hotspot is still ↵Filippos Karapetis
wrong. Many thanks to waltervn for his findings on this. svn-id: r40095
2009-04-22CleanupFilippos Karapetis
svn-id: r40082
2009-04-21Restored the ability to change the active port bound, by moving it inside ↵Filippos Karapetis
gfx_state_t (it makes much more sense for it to be there, instead of inside user-defined settings). Placed notes inside gfxr_draw_pic01() and gfxr_draw_pic11() for the usage of the current titlebar size in there svn-id: r40057
2009-04-21Removed per-picture port bounds, which were set to the global port boundsFilippos Karapetis
svn-id: r40055
2009-04-18Fix outdated commentsWillem Jan Palenstijn
svn-id: r40003
2009-04-18Retreive -> retrieveWillem Jan Palenstijn
svn-id: r39996
2009-04-06Fixed a crash in LSL5 when opening the inventoryFilippos Karapetis
svn-id: r39877
2009-04-04Fix warning.Johannes Schickel
svn-id: r39837
2009-04-03Removed leftover chrono-related code (refer to commit #37721 for the changes ↵Filippos Karapetis
to kgraphics.cpp) svn-id: r39820
2009-04-03Removed the non-working Chrono port code, after discussing with LarsFilippos Karapetis
svn-id: r39819
2009-04-03Cleanup of decompress_sci_view(). Also, ALL of the cases where that function ↵Filippos Karapetis
returned 1 are fatal, as the resulting object will be invalid (null) and will crash ScummVM, so they've all been changed to asserts instead of warnings svn-id: r39817
2009-04-03Some more FreeSCI <-> SCI changesFilippos Karapetis
svn-id: r39808
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-04-03Merged the SCI1 and SCI11 cel drawing functionsFilippos Karapetis
svn-id: r39806
2009-04-02pic_port_bounds was only set from command-line parameters it seems, so it's ↵Filippos Karapetis
safe to put it together with the rest of the options svn-id: r39800
2009-04-01- Wrapped all the code for custom graphics options around a ↵Filippos Karapetis
CUSTOM_GRAPHICS_OPTIONS define. Most of these options don't work in 256-color mode, plus there is currently no way to actually set/change them somehow (other than modifying the code) - Added a FIXME for the abuse of the pic_port_bounds graphics option - it's actually set by the game itself in kSetPort() - Added some test code for setting palette intensity in KPalette() (currently disabled) svn-id: r39794
2009-03-31Got rid of the gfx_res_mod_t structFilippos Karapetis
svn-id: r39771
2009-03-30Initialize _staticPalette when creating the graphics resource manager. This ↵Filippos Karapetis
allows KQ6 to start (and then sit idly doing nothing in the main menu :) ) svn-id: r39769
2009-03-30Wrapped all the still WIP SCI32-specific code around appropriate ifdef ↵Filippos Karapetis
blocks. SCI32 has fundamental differences from previous SCI versions (e.g. direct point addressing is no longer possible), most of SCI32 games use SVGA resolutions and currently a lot of SCI32 specific code is missing (like, for example, the newer string and array handling functions, the widget system etc). This has been done in the same manner as in the SCUMM and SAGA engines. svn-id: r39750
2009-03-29SCI: don't delete static palette twiceWillem Jan Palenstijn
svn-id: r39748
2009-03-29SCI: Merge static palette into global palette at startupWillem Jan Palenstijn
svn-id: r39747
2009-03-29SCI: remove some debugging printfsWillem Jan Palenstijn
svn-id: r39746
2009-03-25Remove a workaround in the line drawing function - it shouldn't be necessary ↵Filippos Karapetis
anymore svn-id: r39697
2009-03-25Changed the primitive equality check to not use Common::Rect, as the two ↵Filippos Karapetis
primitives being compared might not actually be rectangles (e.g. they may be lines, in which case the "width" and "height" might be negative) svn-id: r39695