Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-28 | Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵ | Filippos Karapetis | |
(defined in sci.h) svn-id: r45459 | |||
2009-10-22 | Cleanup | Filippos Karapetis | |
svn-id: r45337 | |||
2009-09-30 | Converted _color_equals() into respective equality operators within the ↵ | Filippos Karapetis | |
gfx_color_t structure svn-id: r44477 | |||
2009-09-27 | SCI: Major string handling update. | Willem Jan Palenstijn | |
All string access to segments should now work with both raw and non-raw (reg_t) segments, using the new utility functions in segMan. There will likely be regressions. svn-id: r44388 | |||
2009-09-04 | - Removed the gfx error defines. When resources are not found, or are ↵ | Filippos Karapetis | |
corrupted, we should error out instead of piggy-banking an error flag to another function - Do not try and set the position of the mouse cursor when it's hidden svn-id: r43941 | |||
2009-09-02 | Removed the dirty rectangle option of updating one huge rectangle, and only ↵ | Filippos Karapetis | |
left the algorithm of updating the screen with multiple small rectangles, like we do in all the other engines that support dirty rectangle screen updates svn-id: r43909 | |||
2009-08-31 | Removed many bogus return values in the SCI graphics functions - some ↵ | Filippos Karapetis | |
functions always returned "true", whereas in others they errored out in fatal conditions before any value was returned. FreeSCI was returning values from the graphics drivers it used. In ScummVM, we have one graphics driver, and we error out in fatal conditions anyway, so these error checks are no longer necessary, and the resulting code looks much neater svn-id: r43851 | |||
2009-08-24 | SCI: Reverted r40889. New fix for window erasing issue in SCI1.1 games. | Walter van Niftrik | |
svn-id: r43711 | |||
2009-07-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-06-08 | Replaced GFXWARN with warning and GFXDEBUG with debugC | Filippos Karapetis | |
svn-id: r41367 | |||
2009-06-06 | Store long-term pointers to object variables in a new ObjVarRef struct. | Willem Jan Palenstijn | |
Storing them as reg_t* could cause the pointers to become invalid when they pointed into CloneTable since CloneTable can be re-allocated. svn-id: r41220 | |||
2009-06-06 | Objectified the graphics driver | Filippos Karapetis | |
svn-id: r41214 | |||
2009-06-05 | Moved some more debug commands to ScummVM's coneole and removed some unused code | Filippos Karapetis | |
svn-id: r41198 | |||
2009-06-02 | Removed 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-31 | The error() and warning() functions add ! and newline automatically. (I didn't | Torbjörn Andersson | |
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061 | |||
2009-05-30 | Removed the "sfx_debuglog" command. Sound debug messages are now shown if ↵ | Filippos Karapetis | |
kDebugLevelSound is specified svn-id: r41039 | |||
2009-05-30 | Moved 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-30 | Removed/replaced BREAKPOINT | Filippos Karapetis | |
svn-id: r41025 | |||
2009-05-25 | Fixed 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-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-12 | SCI: Removed sci_memory.h/.cpp | Max Horn | |
svn-id: r40514 | |||
2009-05-05 | SCI: Work around an 'Array used after being disposed' bug that occurs when a ↵ | Max Horn | |
GfxVisual gets disposed svn-id: r40327 | |||
2009-04-27 | SCI: renamed gfx_text_handle_t -> TextHandle; changed some string code to ↵ | Max Horn | |
use Common::String svn-id: r40162 | |||
2009-04-27 | SCI: Removed unused vars; doxygenified some comments; cleanup | Max Horn | |
svn-id: r40159 | |||
2009-04-27 | SCI: Rewrote dirty rect code to use Common::List | Max Horn | |
svn-id: r40156 | |||
2009-04-27 | SCI: Renamed gfx_state_t -> GfxState | Max Horn | |
svn-id: r40155 | |||
2009-04-24 | SCI: Turned GfxWidget::draw function pointer into virtual method | Max Horn | |
svn-id: r40115 | |||
2009-04-24 | SCI: Turned GfxWidget::tag function pointer into virtual method | Max Horn | |
svn-id: r40114 | |||
2009-04-24 | SCI: Turned GfxWidget::print function pointer into virtual method | Max Horn | |
svn-id: r40113 | |||
2009-04-24 | SCI: Changed GfxWidget::set_visual function pointer to virtual method setVisual | Max Horn | |
svn-id: r40108 | |||
2009-04-24 | SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructors | Max Horn | |
svn-id: r40107 | |||
2009-04-24 | SCI: font_nr -> _font | Max Horn | |
svn-id: r40106 | |||
2009-04-24 | SCI: Rewrote the port_refs code (fixing at least three serious bugs in it. ↵ | Max Horn | |
Wow, crappy) svn-id: r40105 | |||
2009-04-24 | SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc. | Max Horn | |
svn-id: r40104 | |||
2009-04-24 | SCI: Started to C++ify the gfxw_widget_t codebase | Max Horn | |
svn-id: r40103 | |||
2009-04-03 | Removed the non-working Chrono port code, after discussing with Lars | Filippos Karapetis | |
svn-id: r39819 | |||
2009-03-25 | Remove a workaround in the line drawing function - it shouldn't be necessary ↵ | Filippos Karapetis | |
anymore svn-id: r39697 | |||
2009-03-25 | Changed the primitive equality check to not use Common::Rect, as the two ↵ | Filippos Karapetis | |
primitives being compared might not actually be rectangles (e.g. they may be lines, in which case the "width" and "height" might be negative) svn-id: r39695 | |||
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-19 | Fixed issues with commit #39449, fixing some graphical glitches with the GUI ↵ | Filippos Karapetis | |
widgets svn-id: r39534 | |||
2009-03-16 | It seems that the SCI GUI code tries to show rectangles with negative ↵ | Filippos Karapetis | |
height. Added some sanity checks for this, but the *real* problem lies elsewhere svn-id: r39451 | |||
2009-03-16 | Replaced 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-16 | Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵ | Filippos Karapetis | |
are used svn-id: r39435 | |||
2009-03-12 | SCI: 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-08 | Use 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-07 | SCI: Reduced header interdependencies some more | Max Horn | |
svn-id: r39202 | |||
2009-03-03 | SCI1: Improved color mapping when drawing line/box/text. Text with ↵ | Greg Frieger | |
transparent background now displays correctly. svn-id: r39089 | |||
2009-02-28 | Fix warnings. | Johannes Schickel | |
svn-id: r38972 | |||
2009-02-27 | Fix code formatting | Eugene Sandulenko | |
svn-id: r38930 | |||
2009-02-24 | SCI: 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 |