aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2009-03-29Added stubs for the missing palette effects in kPalette()Filippos Karapetis
svn-id: r39744
2009-03-29Added a stub for the palette fadeout/fadein effect, so that we remember it's ↵Filippos Karapetis
currently missing svn-id: r39743
2009-03-29Fixed the colors of the widgets in KQ5's options menuFilippos Karapetis
svn-id: r39737
2009-03-29Fixed the colors of the window frames in KQ5Filippos Karapetis
svn-id: r39734
2009-03-29Eco Quest 1 continues after the intro nowFilippos Karapetis
svn-id: r39731
2009-03-26Added a note about the potential invalid rectangles created when drawing linesFilippos Karapetis
svn-id: r39704
2009-03-25- Renamed gfx/sci_widgets.* to gfx/gfx_gui.*, as these files contain GUI ↵Filippos Karapetis
elements mostly, like windows and status bars - Moved kWindowAutoRestore from gfx_widgets.h to gfx_gui.h svn-id: r39687
2009-03-25Changed some flags to enumsFilippos Karapetis
svn-id: r39685
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-23- Moved palette initialization inside the graphics resource managerFilippos Karapetis
- The static palette is no longer needlessly referenced directly outside the graphics resource manager - Moved the SCI interpreter version inside the graphics resource manager, instead of gfx_state_t svn-id: r39626
2009-03-22Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39621
2009-03-18Changed abs_rect_t to Common::RectFilippos Karapetis
svn-id: r39518
2009-03-17Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39499
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-17Renamed some defines:Filippos Karapetis
- FREESCI_CURRENT_SAVEGAME_VERSION, FREESCI_MINIMUM_SAVEGAME_VERSION -> CURRENT_SAVEGAME_VERSION, MINIMUM_SAVEGAME_VERSION (saved games are not compatible with FreeSCI's ones anymore) - _K_VIEW_SIG_FLAG_FREESCI_STOPUPD -> _K_VIEW_SIG_FLAG_STOPUPD (like the rest of the flags) - Removed FREESCI_KFUNCT_GLUTTON (unused) svn-id: r39478
2009-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
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-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-09Fix uninitialized color meta-values.Willem Jan Palenstijn
This fixes holes in text boxes in Iceman, among other things. svn-id: r39274
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-07SCI: Reduced header interdependencies some moreMax Horn
svn-id: r39202
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-01Fixed windows and text drawing problem in SCI1Greg Frieger
svn-id: r39000
2009-02-28SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var ↵Max Horn
shadowing warnings; some other tweaks svn-id: r38984
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
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-26cleanupMax Horn
svn-id: r38891
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-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: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵Max Horn
deps some more svn-id: r38833
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21SCI: Convert the segment manager into a classJordi Vilalta Prat
svn-id: r38767
2009-02-21multiply before dividing to improve timer resolutionWillem Jan Palenstijn
svn-id: r38765
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-21use OSystem::getMillis() for last_wait_time and get rid of game_start_timeAndre Heider
svn-id: r38701
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-21Remove excess \n.Travis Howell
svn-id: r38695
2009-02-21Replaced "typedef struct _state state_t" with "struct EngineState"Jordi Vilalta Prat
svn-id: r38678
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-21SCI: Fixed tons of bugs in error/warning format stringsMax Horn
svn-id: r38655
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-20Started conversion of debug messages and debug levels to the ScummVM ↵Filippos Karapetis
equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings svn-id: r38617
2009-02-19formatingPaweł Kołodziejski
svn-id: r38564
2009-02-17point_t -> Common::PointFilippos Karapetis
svn-id: r38437
2009-02-17Update headers. engine/Eugene Sandulenko
svn-id: r38408
2009-02-15Fixed more warningsMax Horn
svn-id: r38332