aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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
2009-02-25SCI: Removed code for software rendered mouse cursorMax Horn
svn-id: r38883
2009-02-25SCI: Added remark that we don't track capslock, numlock, scrlock properlyMax Horn
svn-id: r38882
2009-02-25SCI: Simplify event polling code a little bitMax Horn
svn-id: r38881
2009-02-25Interpret NONBLOCK as PEEK; poll while sleeping.Willem Jan Palenstijn
Also use Common::List for internal event queue. svn-id: r38880
2009-02-25Don't truncate keycode in queued events.Willem Jan Palenstijn
svn-id: r38878
2009-02-24fix warningMax Horn
svn-id: r38871
2009-02-24Replaced some of the internal SCI scan codes with the ones from ScummVMFilippos Karapetis
svn-id: r38870
2009-02-24Process modifier keys (capslock, numlock, scrollock)Filippos Karapetis
svn-id: r38868
2009-02-24not needed this includes anymorePaweł Kołodziejski
svn-id: r38857
2009-02-24SCI: Replaced gfxop_usleep by gfxop_sleep (taking millisecs instead of ↵Max Horn
microsecs) svn-id: r38854