aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
2009-03-11Untangled the parameters in gfxr_interpreter_get_view() as well. Updated ↵Filippos Karapetis
comments svn-id: r39332
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-10Reverted some of the changes of commit #39192. The cursor reading code has ↵Filippos Karapetis
been placed back in a separate file, and not in the resource manager (but it's now 1 function) svn-id: r39293
2009-03-10- Renamed files inside gfx/resourceFilippos Karapetis
- Merged sci_picfill_aux.cpp and sci_picfill.cpp into picfill.cpp (as this is the only place where the auxiliary fill functions are used) svn-id: r39292
2009-03-08Formatting.Johannes Schickel
svn-id: r39245
2009-03-08Fix warning.Johannes Schickel
svn-id: r39244
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: replaced get_int_16 by READ_LE_UINT16, and got rid of inverse_16Max Horn
svn-id: r39212
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: Reduced header interdependencies some moreMax Horn
svn-id: r39202
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-07The ScummVM debug console is now working (though only the "version" command ↵Filippos Karapetis
is assigned, for now) svn-id: r39195
2009-03-07Merged all the different cursor drawing functions inside ↵Filippos Karapetis
gfxr_interpreter_get_cursor() svn-id: r39192
2009-03-07Replaced gfxprintfFilippos Karapetis
svn-id: r39190
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-03-04SCI: Added TODO (rect_t should be replaced by Common::Rect), minor tweaksMax Horn
svn-id: r39105
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-02CleanupFilippos Karapetis
svn-id: r39081
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-28SCI: Use the ResourceType enum instead of integers where it makes senseJordi Vilalta Prat
svn-id: r38988
2009-02-28resource_t struct replaced with stub Resource class for future objectifying. ↵Greg Frieger
Also the crash when exiting SCI1 games was fixed svn-id: r38982
2009-02-28Turned ResourceManager into a class, along with all related functionsGreg Frieger
svn-id: r38978
2009-02-28Fix warnings.Johannes Schickel
svn-id: r38975
2009-02-28Increase colour refcount when allocating colourWillem Jan Palenstijn
svn-id: r38974
2009-02-28Disable xfact/yfact scaling in embedded views.Willem Jan Palenstijn
This inadvertently broke colours in KQ5 as a side effect. svn-id: r38973
2009-02-28Fix warnings.Johannes Schickel
svn-id: r38972
2009-02-27Fix code formattingEugene Sandulenko
svn-id: r38930
2009-02-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-27SCI: Moved almost all files from include/ to other dirs; only ↵Max Horn
include/engine.h remains svn-id: r38920
2009-02-26fix graphics regression in Iceman caused by r38909Willem Jan Palenstijn
svn-id: r38914
2009-02-26SCI: Modified gfx_new_mode to take a Graphics::PixelFormatMax Horn
svn-id: r38909
2009-02-26SCI: Changed 'typedef enum { } NAME' into C++-style 'enum NAME { }'Max Horn
svn-id: r38908
2009-02-26SCI: Turned the crossblit code into a templateMax Horn
svn-id: r38907
2009-02-26SCI: Moved gfx_line.cpp to line.h and turned _gfx_draw_line_buffer into a ↵Max Horn
template svn-id: r38905
2009-02-26SCI: Replaced #define hack to fake subclassing in C by regular C++ subclassingMax Horn
svn-id: r38904
2009-02-26Clarify behaviour of gfxop_get_event().Willem Jan Palenstijn
svn-id: r38900
2009-02-26CleanupFilippos Karapetis
svn-id: r38898
2009-02-26CleanupFilippos Karapetis
svn-id: r38896
2009-02-26Cleanup. Readded FIXMEFilippos Karapetis
svn-id: r38895
2009-02-25Initial fix for the keypad keys. We still don't know the initial state of ↵Filippos Karapetis
the caps lock etc keys, so an appropriate method will need to be added to OSystem svn-id: r38887
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-25cleanupMax Horn
svn-id: r38885
2009-02-25SCI: Restored ability to warp the mouse cursorMax Horn
svn-id: r38884