aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/operations.cpp
AgeCommit message (Collapse)Author
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
2009-02-25SCI: Removed code for software rendered mouse cursorMax Horn
svn-id: r38883
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-24Replaced some of the internal SCI scan codes with the ones from ScummVMFilippos Karapetis
svn-id: r38870
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-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-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21fix hang on 64bit platformsWillem Jan Palenstijn
svn-id: r38756
2009-02-21SCI: Changed typedef struct -> structMax Horn
svn-id: r38752
2009-02-21substituted some more sci_gettimeAndre Heider
svn-id: r38749
2009-02-21SCI: Got rid of include/scitypes.hMax Horn
svn-id: r38746
2009-02-21SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header filesMax Horn
svn-id: r38735
2009-02-21revert large parts of r38621. error() is for fatal errors and does not ↵Willem Jan Palenstijn
return. warning() is not for debugging status messages. svn-id: r38696
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-21formatingPaweł Kołodziejski
svn-id: r38669
2009-02-21SCI: Fixed more warningsMax Horn
svn-id: r38658
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-18Removed some unused GFX driver capability code and flagsFilippos Karapetis
svn-id: r38473
2009-02-17CleanupFilippos Karapetis
svn-id: r38452
2009-02-17Removed already implemented graphic capability flags, and used CLIP inside ↵Filippos Karapetis
scummvm_draw_line() to clean up the code a bit svn-id: r38451
2009-02-17point_t -> Common::PointFilippos Karapetis
svn-id: r38437
2009-02-17Update headers. gfx/Eugene Sandulenko
svn-id: r38412
2009-02-17Replaced sci_free() with free() - it's OK to free a NULL pointer, so the ↵Filippos Karapetis
checking that sci_free() performed is not necessary svn-id: r38406
2009-02-15Fixed more warningsMax Horn
svn-id: r38332
2009-02-15Fixed more warnings (and at least one case of uninited data)Max Horn
svn-id: r38331
2009-02-15SCI: Run astyle to make the code be more compliant with our Code Formatting ↵Max Horn
Guidelines: gfx dir svn-id: r38321
2009-02-15retreive->retrieveWillem Jan Palenstijn
svn-id: r38296