aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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
2009-02-24SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source ↵Max Horn
file); moved include/sci_widgets.h to gfx/ (matching location of source file); renamed gfx/widgets.cpp to gfx/gfx_widgets.cpp (matching the header) svn-id: r38852
2009-02-24SCI: Removed usec_sleep from gfx_driver_t (call OSystem::delayMillis ↵Max Horn
directly instead); added remarks that busy-waiting like this with delayMillis is maybe not the best way, and that gfx_driver_t should be either removed or turned into a class svn-id: r38851
2009-02-24substitute all time related functions, removing sci_gettime ↵Andre Heider
sci_get_current_time altogether. svn-id: r38845
2009-02-24Normalized guard #definesEugene Sandulenko
svn-id: r38842
2009-02-24SCI: call updateScreen after every copyRectToScreen; removed internal front ↵Walter van Niftrik
visual buffer svn-id: r38839
2009-02-24SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵Max Horn
deps some more svn-id: r38833
2009-02-24SCI: Moved engines/sci/include/sci_memory.h and ↵Max Horn
engines/sci/scicore/sci_memory.cpp into engines/sci/; moved macros from the header into the source file svn-id: r38832
2009-02-23SCI: translate cursor's palette to global paletteWillem Jan Palenstijn
svn-id: r38822
2009-02-23reinstate line drawing for xfact/yfact > 1Willem Jan Palenstijn
svn-id: r38821
2009-02-23SCI: reinstate pointer scaling for xfact/yfactWillem Jan Palenstijn
svn-id: r38820