aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/operations.cpp
AgeCommit message (Collapse)Author
2009-06-08Replaced GFXWARN with warning and GFXDEBUG with debugCFilippos Karapetis
svn-id: r41367
2009-06-06Fix unused variable warnings.Johannes Schickel
svn-id: r41231
2009-06-06Some uint8 -> byte conversionsFilippos Karapetis
svn-id: r41216
2009-06-06Objectified the graphics driverFilippos Karapetis
svn-id: r41214
2009-06-05Removed some unused code and performed some cleanupFilippos Karapetis
svn-id: r41197
2009-06-04Reordered the numpad keys so that they make more sense, and simplified the ↵Filippos Karapetis
code which returns the values of shifted function keys svn-id: r41155
2009-06-03- Moved the engine state and the console to be private members of SciEngineFilippos Karapetis
- Implemented pauseEngineIntern() - Music now stops and resumes when entering/leaving the debugger svn-id: r41139
2009-06-02Moved some more console commands to ScummVM's debug consoleFilippos Karapetis
svn-id: r41126
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-31Typo.Johannes Schickel
svn-id: r41054
2009-05-30SCI: Made vocab_version static again (a global static var is bad, but a ↵Max Horn
really global var is worse); also clarified some FIXME comments that we want to avoid *any* non-const global var, no matter whether it is static or not svn-id: r41045
2009-05-29- Moved some debug code into console.cpp, adding 3 console commands: ↵Filippos Karapetis
resource_types, sci0_palette and exit - Removed the "man" command - Removed the commands which set the SCI01 priority table flags and the crossblit alpha threshold (they're too specific, and not really useful anymore) - Removed some leftover debug code from gfxop_clear_box() svn-id: r41010
2009-05-29SCI: Converted several fprintf(stderr) calls to warning/error (the remaining ↵Max Horn
fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations) svn-id: r40993
2009-05-29- Rewrote kSetCursor to be a bit simpler to understand, and got rid of ↵Filippos Karapetis
GF_SCI1_NEWSETCURSOR - Removed the 3 mouse pointer view, loop and cell variables (and their 3 "save" versions) from the game state, as they're all actually not used anywhere - Cleanup svn-id: r40976
2009-05-25SCI: Only let gfxop_set_color use priority/control if mask has their bits set.Willem Jan Palenstijn
This fixes a regression from r39089 where text in the KQ5(floppy) intro was displayed behind trees. svn-id: r40893
2009-05-24SCI: reset system palette when loading a new PIC.Willem Jan Palenstijn
This improves the colours of background images, but is still partially broken. The mouse cursor becomes transparent when changing scenes, and there is a brief moment of palette corruption between scenes. svn-id: r40870
2009-05-24SCI: re-xlate pixmap when palette revision changedWillem Jan Palenstijn
svn-id: r40859
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-15Reverted the SQ5 change introduced with commit #40574, as this makes the ↵Filippos Karapetis
mouse cursor invisible in games which have multicolored cursors svn-id: r40605
2009-05-14Fixed the detection entry for SQ3 Amiga, and added a special case for cursor ↵Filippos Karapetis
hiding in SQ5 svn-id: r40574
2009-05-14Added a parameter to the graphics resource manager to determine if the ↵Filippos Karapetis
running SCI1 game is VGA or not (better than modifying the detected SCI resource version) svn-id: r40566
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
feature flags (not used yet) - Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these) - Removed the empty GameFlags structure and replaced it with a 32-bit integer instead svn-id: r40524
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-11SCI: Reduced header depsMax Horn
svn-id: r40451
2009-05-08SCI: Got rid of code for endian adjusting pixmapsMax Horn
svn-id: r40387
2009-05-08SCI: Replaced gfx_driver_t::set_palette and install_palette by directly ↵Max Horn
invoking their OSystem counterparts svn-id: r40385
2009-04-28SCI: Renamed text_fragment_t -> TextFragment and changed TextHandle to store ↵Max Horn
the text fragments and pixmaps in Common::Arrays svn-id: r40178
2009-04-27SCI: renamed gfx_text_handle_t -> TextHandle; changed some string code to ↵Max Horn
use Common::String svn-id: r40162
2009-04-27SCI: Rewrote dirty rect code to use Common::ListMax Horn
svn-id: r40156
2009-04-27SCI: Renamed gfx_state_t -> GfxStateMax Horn
svn-id: r40155
2009-04-24SCI: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
2009-04-24SCI: Changed GFXERROR to be fatalMax Horn
svn-id: r40102
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-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-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-25Changed the font flag defines to an enumerationFilippos Karapetis
svn-id: r39690
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-22SCI: Fixed nasty bug in simulate_stippled_line_draw, caught only thanks to ↵Max Horn
warnings by the Wii compiler. svn-id: r39616
2009-03-19Cleaned up gfxop_draw_rectangle(). Also, removed a check insode ↵Filippos Karapetis
BASIC_CHECKS() which is impossible to occur svn-id: r39540
2009-03-19Fixed issues with commit #39449, fixing some graphical glitches with the GUI ↵Filippos Karapetis
widgets svn-id: r39534
2009-03-18Cleaned up graphics initialization a bitFilippos Karapetis
svn-id: r39513
2009-03-18CleanupFilippos Karapetis
svn-id: r39506
2009-03-17Further objectification of the graphics resource managerFilippos Karapetis
svn-id: r39499
2009-03-17Fix warning.Johannes Schickel
svn-id: r39498
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-16Replaced some rect_t operations with our common ones. For now, two helper ↵Filippos Karapetis
functions are used to easily change types between Common::Rect and rect_t, until rect_t is removed svn-id: r39449
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-12Commited syke's patch as-isFilippos Karapetis
svn-id: r39366