aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-12Performed some cleanup on the different version checksFilippos Karapetis
svn-id: r40499
2009-05-10SCI: Changed EngineState::pics to a Common::ArrayMax Horn
svn-id: r40434
2009-04-27SCI: Removed unused vars; doxygenified some comments; cleanupMax Horn
svn-id: r40159
2009-04-24Merged kSetCursor and kSetCursorNew, and changed KQ5 CD to use the newer ↵Filippos Karapetis
kSetCursor version svn-id: r40120
2009-04-24SCI: Turned GfxWidget::draw function pointer into virtual methodMax Horn
svn-id: r40115
2009-04-24SCI: Turned GfxWidget::tag function pointer into virtual methodMax Horn
svn-id: r40114
2009-04-24SCI: Turned GfxWidget::print function pointer into virtual methodMax Horn
svn-id: r40113
2009-04-24SCI: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
2009-04-24SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructorsMax Horn
svn-id: r40107
2009-04-24SCI: font_nr -> _fontMax Horn
svn-id: r40106
2009-04-24SCI: Rewrote the port_refs code (fixing at least three serious bugs in it. ↵Max Horn
Wow, crappy) svn-id: r40105
2009-04-24SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc.Max Horn
svn-id: r40104
2009-04-24SCI: Started to C++ify the gfxw_widget_t codebaseMax Horn
svn-id: r40103
2009-04-24SCI: Some const corrections, removed dead stuff, cleanupMax Horn
svn-id: r40101
2009-04-23Changed the "Intersections" opcode to "MoveCursor", after verifying it with ↵Filippos Karapetis
Greg's SCI implementation and discussing it with waltervn. Also, the cursor hotspot is now fixed for Eco Quest 1 and probably SCI11 games as well (e.g. the game menu in KQ6 is now working) svn-id: r40096
2009-04-23The mouse cursor is now working in Eco Quest 1, though the hotspot is still ↵Filippos Karapetis
wrong. Many thanks to waltervn for his findings on this. svn-id: r40095
2009-04-21- Fixed some of the GUI graphical glitches in SCI1 games (e.g. the inventory ↵Filippos Karapetis
screen in several SCI1 games and the menus in PQ3). It's still not right, but it's better than nothing - Removed the confusing ADD_TO_CURRENT_BG_WIDGETS and ADD_TO_CURRENT_FG_WIDGETS defines, which had the same functionality svn-id: r40058
2009-04-21Restored the ability to change the active port bound, by moving it inside ↵Filippos Karapetis
gfx_state_t (it makes much more sense for it to be there, instead of inside user-defined settings). Placed notes inside gfxr_draw_pic01() and gfxr_draw_pic11() for the usage of the current titlebar size in there svn-id: r40057
2009-04-09SCI: Clarify hack in kgraphics.cpp based on what lars wrote on scummvm-develMax Horn
svn-id: r39905
2009-04-07SCI: Swapped x and y parameters of IsItSkip. Added IsItSkip to kernel table.Walter van Niftrik
svn-id: r39894
2009-04-03Removed leftover chrono-related code (refer to commit #37721 for the changes ↵Filippos Karapetis
to kgraphics.cpp) svn-id: r39820
2009-04-03Removed the non-working Chrono port code, after discussing with LarsFilippos Karapetis
svn-id: r39819
2009-04-02pic_port_bounds was only set from command-line parameters it seems, so it's ↵Filippos Karapetis
safe to put it together with the rest of the options svn-id: r39800
2009-04-01- Wrapped all the code for custom graphics options around a ↵Filippos Karapetis
CUSTOM_GRAPHICS_OPTIONS define. Most of these options don't work in 256-color mode, plus there is currently no way to actually set/change them somehow (other than modifying the code) - Added a FIXME for the abuse of the pic_port_bounds graphics option - it's actually set by the game itself in kSetPort() - Added some test code for setting palette intensity in KPalette() (currently disabled) svn-id: r39794
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