aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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
2009-03-18Renamed resmgr.cpp -> gfx_resmgr.cppFilippos Karapetis
Moved all files from gfx/resource/* to gfx/* svn-id: r39515
2009-03-18Slight cleanupFilippos Karapetis
svn-id: r39514
2009-03-18Cleaned up graphics initialization a bitFilippos Karapetis
svn-id: r39513
2009-03-18CleanupFilippos Karapetis
svn-id: r39506
2009-03-17CleanupFilippos Karapetis
svn-id: r39501
2009-03-17Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39499
2009-03-17Fix warning.Johannes Schickel
svn-id: r39498
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-17SCI: fix warningMax Horn
svn-id: r39483
2009-03-17Removed the "About FreeSCI" menu as discussed in -devel, now that the ↵Filippos Karapetis
FreeSCI contributors have been moved to the AUTHORS file svn-id: r39476
2009-03-16It seems that the SCI GUI code tries to show rectangles with negative ↵Filippos Karapetis
height. Added some sanity checks for this, but the *real* problem lies elsewhere svn-id: r39451
2009-03-16Changed the temporary helper functions to definesFilippos Karapetis
svn-id: r39450
2009-03-16Replaced some rect_t operations with our common ones. For now, two helper ↵Filippos Karapetis
functions are used to easily change types between Common::Rect and rect_t, until rect_t is removed svn-id: r39449
2009-03-16SCI: Removed sbtree code by Common::HashmapMax Horn
svn-id: r39439
2009-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435