aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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-29Merged res_view0.cpp and res_view1.cppFilippos Karapetis
svn-id: r40997
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-28CleanupFilippos Karapetis
svn-id: r40969
2009-05-28Merged some of the SCI1 and SCI1.1 view and loop drawing functionsFilippos Karapetis
svn-id: r40961
2009-05-28SCI: cleanupMax Horn
svn-id: r40959
2009-05-27SCI: Make standard EGA palette a part of gfx_sci0_pic_colors.Willem Jan Palenstijn
This fixes regressions in at least SQ3 and Iceman from r40870 svn-id: r40952
2009-05-27- SQ5 floppy starts nowFilippos Karapetis
- Added a new console command, "room", which shows the current room svn-id: r40943
2009-05-26SCI: Some small fixes for KQ6CD.Walter van Niftrik
svn-id: r40898
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-25Fixed a nasty bug in the GUI code, which caused the windows in PQ3 and ↵Filippos Karapetis
SCI1.1 games to be erased incorrectly svn-id: r40889
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-23SCI: add (unused) palette revisioning supportWillem Jan Palenstijn
svn-id: r40838
2009-05-23Added a stub for SetVideoMode(), and fixed some of the palette glitches in ↵Filippos Karapetis
the intro of KQ6 thanks to some comments by waltervn. Also, commented out the bounds rect in gfxr_pic_t, as it's currently unused svn-id: r40808
2009-05-23Fixed the incorrectly placed views in the KQ6 intro, by reintroducing port ↵Filippos Karapetis
bounds in the graphics resource manager and removing two relevant hacks svn-id: r40803
2009-05-21SCI: Added support for KQ6 movies.Walter van Niftrik
svn-id: r40774
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-19Removed some redundant variables, and renamed some variables with strange ↵Filippos Karapetis
names ("foo"?) svn-id: r40727
2009-05-19SCI: Cleanup/paranoia checksMax Horn
svn-id: r40711
2009-05-17SCI: LSL6 invalid selector workaround is now always active, not just atWalter van Niftrik
startup. Added support for mirrored pic drawing. svn-id: r40648
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608
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-14Only load used palette entries with SCI1/11Willem Jan Palenstijn
svn-id: r40571
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-13SCI: Fixes a crash when loading SCI1.1 views without palette.Walter van Niftrik
svn-id: r40545
2009-05-13Fix some variable may be used uninitialized warnings.Johannes Schickel
svn-id: r40528
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-10SCI: Fixed palette regression from rev 40388Max Horn
svn-id: r40432
2009-05-08SCI: Folded line.h and crossblit.h into gfx_support.cppMax Horn
svn-id: r40389
2009-05-08SCI: cleanupMax Horn
svn-id: r40388
2009-05-08SCI: Got rid of code for endian adjusting pixmapsMax Horn
svn-id: r40387
2009-05-08SCI: turn the various gfx filters from #define hacks into template funcsMax Horn
svn-id: r40386
2009-05-08SCI: Replaced gfx_driver_t::set_palette and install_palette by directly ↵Max Horn
invoking their OSystem counterparts svn-id: r40385
2009-05-05SCI: Work around an 'Array used after being disposed' bug that occurs when a ↵Max Horn
GfxVisual gets disposed svn-id: r40327
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: Removed unused vars; doxygenified some comments; cleanupMax Horn
svn-id: r40159
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: Initialize pixmap to transparency before decoding cel RLE data. ThisWalter van Niftrik
fixes some of the views in KQ6. svn-id: r40132
2009-04-24Changed an error to a warning, to make Longbow playable againFilippos Karapetis
svn-id: r40124
2009-04-24SCI: Fix transparency in view-based mouse cursors.Walter van Niftrik
svn-id: r40116
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