aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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
2009-02-23Replaced lineColor2 with Graphics::drawLineFilippos Karapetis
svn-id: r38813
2009-02-23Replaced get_uint_16() with READ_LE_UINT16()Filippos Karapetis
svn-id: r38812
2009-02-23Updated commentFilippos Karapetis
svn-id: r38801
2009-02-23Removed unused antialiasing code (plus, we do antialiasing at the OSystem ↵Filippos Karapetis
graphics backend) svn-id: r38800
2009-02-22The two hardcoded fonts, 5x8 and 6x10 were used for FreeSCI's debugger and ↵Filippos Karapetis
game menu, so they can be safely removed now svn-id: r38792
2009-02-22SCI: Replaced two uses of sci_fopen by Common::File; moved is_print_str() to ↵Max Horn
the only spot it is used svn-id: r38791
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-22replace sci_gettime in gfx/Andre Heider
svn-id: r38781
2009-02-21SCI: Moved include/menubar.h -> gfx/menubar.h, untangled headers some moreMax Horn
svn-id: r38761