aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/operations.cpp
AgeCommit message (Collapse)Author
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-15Reverted the SQ5 change introduced with commit #40574, as this makes the ↵Filippos Karapetis
mouse cursor invisible in games which have multicolored cursors svn-id: r40605
2009-05-14Fixed the detection entry for SQ3 Amiga, and added a special case for cursor ↵Filippos Karapetis
hiding in SQ5 svn-id: r40574
2009-05-14Added a parameter to the graphics resource manager to determine if the ↵Filippos Karapetis
running SCI1 game is VGA or not (better than modifying the detected SCI resource version) svn-id: r40566
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
feature flags (not used yet) - Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these) - Removed the empty GameFlags structure and replaced it with a 32-bit integer instead svn-id: r40524
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-11SCI: Reduced header depsMax Horn
svn-id: r40451
2009-05-08SCI: Got rid of code for endian adjusting pixmapsMax Horn
svn-id: r40387
2009-05-08SCI: Replaced gfx_driver_t::set_palette and install_palette by directly ↵Max Horn
invoking their OSystem counterparts svn-id: r40385
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: 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: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
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-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-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-25Changed the font flag defines to an enumerationFilippos Karapetis
svn-id: r39690
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-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-18Cleaned up graphics initialization a bitFilippos Karapetis
svn-id: r39513
2009-03-18CleanupFilippos Karapetis
svn-id: r39506
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-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-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
2009-03-14Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause ↵Filippos Karapetis
that's what it is), and changed its type to int * to avoid unneeded casts svn-id: r39375
2009-03-12Commited syke's patch as-isFilippos Karapetis
svn-id: r39366
2009-03-12SCI: Removed most uses of the 'inline' keyword. It is usually better to let ↵Max Horn
the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;) svn-id: r39352
2009-03-11Got rid of misc_payload and stopped passing the whole graphics state ↵Filippos Karapetis
structure in places where it's not necessary svn-id: r39331
2009-03-11...Max Horn
svn-id: r39327
2009-03-11SCI: Restored code to triger debugger console by Ctrl-d (accidentally ↵Max Horn
removed it in rev 39201) svn-id: r39326
2009-03-08Fix missing return.Willem Jan Palenstijn
svn-id: r39243
2009-03-08Use new Palette class to manager pixmap palettes.Willem Jan Palenstijn
There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242
2009-03-08Fix boxes not blocking control/priority map.Willem Jan Palenstijn
This is a regression from r39089 and caused text to be hidden behind trees in the KQ5 introduction and missing text in longbow. svn-id: r39226
2009-03-08SCI: Added new header gfx/font.h and removed some dead codeMax Horn
svn-id: r39211
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-07SCI: Moved scummvm_get_event to operations.cpp (the only place where it is ↵Max Horn
used), to ease future refactoring of the event handling code svn-id: r39201
2009-03-03SCI1: Improved color mapping when drawing line/box/text. Text with ↵Greg Frieger
transparent background now displays correctly. svn-id: r39089
2009-03-01Text/window color matching improved by using an existing gfxop_set_color() ↵Greg Frieger
instead of mine _gfxop_matchColor() svn-id: r39004
2009-03-01SCI: pass gfx_pixmap_color_t instead of r,g,b triple, makes calling code a ↵Max Horn
bit easier to read :) svn-id: r39001
2009-03-01Fixed windows and text drawing problem in SCI1Greg Frieger
svn-id: r39000
2009-02-26Clarify behaviour of gfxop_get_event().Willem Jan Palenstijn
svn-id: r38900
2009-02-25Reverted my wrong commit #38870. Most of the key codes are handled by the ↵Filippos Karapetis
engine itself, however there are cases where they are handled by the game scripts, e.g. in save/load dialogs. The arrow keys in the save/load dialogs should work properly again. The numpad keys still look to be broken by some other commit svn-id: r38886
2009-02-25SCI: Restored ability to warp the mouse cursorMax Horn
svn-id: r38884