aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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
2009-03-25Changed the font flag defines to an enumerationFilippos Karapetis
svn-id: r39690
2009-03-25Merged sciw_select_item() and sciw_unselect_item()Filippos Karapetis
svn-id: r39689
2009-03-25- Renamed gfx/sci_widgets.* to gfx/gfx_gui.*, as these files contain GUI ↵Filippos Karapetis
elements mostly, like windows and status bars - Moved kWindowAutoRestore from gfx_widgets.h to gfx_gui.h svn-id: r39687
2009-03-25Remove superfluous commaFilippos Karapetis
svn-id: r39686
2009-03-25Changed some flags to enumsFilippos Karapetis
svn-id: r39685
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-24SCI: Only pass the pointerpos to Menubar::mapPointer, not the full gfx_state_tMax Horn
svn-id: r39662
2009-03-24SCI: moved sci_strndup to menubar.cppMax Horn
svn-id: r39661
2009-03-24SCI: Fixed some leaks introduced by my previous changesMax Horn
svn-id: r39660
2009-03-24SCI: C++ify menu codeMax Horn
svn-id: r39659
2009-03-23CleanupFilippos Karapetis
svn-id: r39633
2009-03-23- Moved palette initialization inside the graphics resource managerFilippos Karapetis
- The static palette is no longer needlessly referenced directly outside the graphics resource manager - Moved the SCI interpreter version inside the graphics resource manager, instead of gfx_state_t svn-id: r39626
2009-03-22Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39621
2009-03-22SCI: Fixed nasty bug in simulate_stippled_line_draw, caught only thanks to ↵Max Horn
warnings by the Wii compiler. svn-id: r39616
2009-03-21CleanupFilippos Karapetis
svn-id: r39593
2009-03-19Cleaned up gfxop_draw_rectangle(). Also, removed a check insode ↵Filippos Karapetis
BASIC_CHECKS() which is impossible to occur svn-id: r39540
2009-03-19Fixed issues with commit #39449, fixing some graphical glitches with the GUI ↵Filippos Karapetis
widgets svn-id: r39534