aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
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-06-02Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable ↵Filippos Karapetis
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct svn-id: r41125
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-30Removed the "sfx_debuglog" command. Sound debug messages are now shown if ↵Filippos Karapetis
kDebugLevelSound is specified svn-id: r41039
2009-05-30- Moved the print_port, segment_info and segment_kill console commands to ↵Filippos Karapetis
console.cpp - Removed the unused gfx driver debug flags svn-id: r41036
2009-05-30Moved 3 more debug commands to console.cpp ("simkey", "segment_table" and ↵Filippos Karapetis
"show_map") and removed the GFXWC macro. Some cleanup svn-id: r41032
2009-05-30Removed/replaced BREAKPOINTFilippos Karapetis
svn-id: r41025
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