Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-09 | don't discard const qualifier needlessly | Max Horn | |
svn-id: r44854 | |||
2009-10-09 | Some const correctness changes; cleanup | Max Horn | |
svn-id: r44850 | |||
2009-10-09 | SCI: resmanager / include order change | Martin Kiewitz | |
svn-id: r44821 | |||
2009-10-08 | Change doxygen inline comments from "//!" to "///" as proposed on -devel | Max Horn | |
svn-id: r44802 | |||
2009-10-07 | SCI: Change more stuff to be CFG compliant | Max Horn | |
svn-id: r44768 | |||
2009-10-07 | SCI: Reduce header interdepencies once again. Rule of thumb: Never include a ↵ | Max Horn | |
header file from another header file unless you absolutely *must* do it; if possible, try to use class forwards instead, and include the headers from source files only svn-id: r44767 | |||
2009-10-07 | - Cleaned up the cursor code | Filippos Karapetis | |
- Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760 | |||
2009-10-07 | Implemented the SciGuiView destructor and plugged a memory leak in the ↵ | Filippos Karapetis | |
current GUI svn-id: r44740 | |||
2009-10-07 | Hopefully fixed a mismatching free() call in gfx_free_pixmap(), originating ↵ | Filippos Karapetis | |
from getView() svn-id: r44739 | |||
2009-10-07 | Replaced the view loading code with the new view loading functions. EGA view ↵ | Filippos Karapetis | |
color translation has been disabled, as it caused palette problems in Codename:Iceman svn-id: r44737 | |||
2009-10-07 | More work on the view code wrapper. Now all SCI0-SCI11 views should be ↵ | Filippos Karapetis | |
displayed correctly, apart from the late SCI0 ones (e.g. in Codename Iceman), where the palette is incorrect svn-id: r44724 | |||
2009-10-06 | More work on the view wrapper code | Filippos Karapetis | |
svn-id: r44723 | |||
2009-10-06 | Reverted the priority line drawing code in the current GUI (with some ↵ | Filippos Karapetis | |
cleanup) to use the FreeSCI line drawing code, which was removed in #44692. Apparently, Sierra's implementation of the Bresenham line drawing algorithm was a bit different than ours, which resulted in problems with flood fill svn-id: r44721 | |||
2009-10-06 | More work on the view wrapper code | Filippos Karapetis | |
svn-id: r44718 | |||
2009-10-06 | WIP code for replacing the FreeSCI view decoding code with the new one (no ↵ | Filippos Karapetis | |
changes to the logic, yet) svn-id: r44717 | |||
2009-10-06 | - Unified the screen buffers that are used by the current and the new GUI | Filippos Karapetis | |
- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions - Some cleanup svn-id: r44692 | |||
2009-10-05 | Moved the cursor movement code in the GUI | Filippos Karapetis | |
svn-id: r44664 | |||
2009-10-05 | Removed dead code | Filippos Karapetis | |
svn-id: r44657 | |||
2009-10-05 | - Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> ↵ | Filippos Karapetis | |
SciGuiWindowMgr) - Renamed "cell" -> "cel" svn-id: r44649 | |||
2009-10-04 | SCI: Rename EngineState::segMan to _segMan | Max Horn | |
svn-id: r44629 | |||
2009-10-03 | SCI: Merge new GUI code written by m_kiewitz. | Willem Jan Palenstijn | |
This is a major rewrite of the graphics code. A slightly adapted version of the old code is still available and currently the default. The new code is selectable in sci.cpp, but is not yet finished. svn-id: r44565 | |||
2009-10-03 | fixed addMenu isspace() issue on umlauts | Martin Kiewitz | |
svn-id: r44563 | |||
2009-09-30 | Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs ↵ | Filippos Karapetis | |
(usually), or to signal success in some special occasions svn-id: r44505 | |||
2009-09-30 | - Removed some leftover 16/32bpp color code, as we're always using palette ↵ | Filippos Karapetis | |
mode now - Simplified the mouse cursor manipulation code svn-id: r44502 | |||
2009-09-30 | oops | Max Horn | |
svn-id: r44500 | |||
2009-09-30 | SCI: Some palette code cleanup | Max Horn | |
svn-id: r44494 | |||
2009-09-30 | Converted _color_equals() into respective equality operators within the ↵ | Filippos Karapetis | |
gfx_color_t structure svn-id: r44477 | |||
2009-09-28 | SCI: When merging palettes, map all unused colours to index 0. | Willem Jan Palenstijn | |
This fixes the boots/belt of the hero sprite in QfG3 character generation. svn-id: r44448 | |||
2009-09-27 | SCI: Fix crash when opening menu's | Willem Jan Palenstijn | |
svn-id: r44398 | |||
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-25 | Create a define for the special "signal" offset used throughout the engine, ↵ | Filippos Karapetis | |
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359 | |||
2009-09-24 | SCI: When setting global palette, map all unused colours to index 0. | Willem Jan Palenstijn | |
This fixes white artifacts outside the bar in the SQ4CD intro, but might cause regressions elsewhere. svn-id: r44320 | |||
2009-09-24 | SCI: Delete unused function declaration | Willem Jan Palenstijn | |
svn-id: r44319 | |||
2009-09-24 | SCI: Fix flat dithering by permuting the blended palette so that the EGA ↵ | Willem Jan Palenstijn | |
colours are the first 16 entries svn-id: r44317 | |||
2009-09-23 | - Moved the SCI version in a global variable | Filippos Karapetis | |
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269 | |||
2009-09-22 | Simplified the code which creates the mouse cursor | Filippos Karapetis | |
svn-id: r44248 | |||
2009-09-15 | Slight cleanup of the resource palette modification code | Filippos Karapetis | |
svn-id: r44097 | |||
2009-09-14 | SCI: Rename SegManager::kernelDeref*() methods to SegManager::deref*() | Max Horn | |
svn-id: r44083 | |||
2009-09-14 | SCI: kernelDeref*() functions are now seSegmentManager methods | Max Horn | |
svn-id: r44082 | |||
2009-09-09 | Removed/replaced the gfx_pixmap_color struct | Filippos Karapetis | |
svn-id: r44017 | |||
2009-09-07 | Merged xfact and yfact into scaleFactor - it doesn't really make sense to ↵ | Filippos Karapetis | |
multiply one dimension with an integer multiplier which is different to the multiplier of the other dimension, otherwise we'll end up with funny looking and squashed resolutions like 640x200 or 320x400. Also, removed the now-unused pixelFormat member variable of the graphics driver struct svn-id: r44003 | |||
2009-09-06 | Removed some unused variables | Filippos Karapetis | |
svn-id: r43998 | |||
2009-09-06 | Cleanup | Filippos Karapetis | |
svn-id: r43996 | |||
2009-09-06 | Fixed compilation on BE systems | Filippos Karapetis | |
svn-id: r43995 | |||
2009-09-06 | Removed the hi-color code (16bpp & 24bpp). All SCI games use up to 256 ↵ | Filippos Karapetis | |
colors, so hi-color isn't really used anywhere, and it only makes the overall code more complex for no reason svn-id: r43994 | |||
2009-09-06 | Removed some leftover debug code, and turned p0printf messages into debug ↵ | Filippos Karapetis | |
messages, introducing a new debug level svn-id: r43993 | |||
2009-09-06 | SCI: Rename resManager -> resMan; segManager -> segMan | Max Horn | |
svn-id: r43980 | |||
2009-09-04 | Oops | Filippos Karapetis | |
svn-id: r43943 | |||
2009-09-04 | - Allow SCI games to set the cursor position when it's hidden once again | Filippos Karapetis | |
- Changed the message shown when the game tries to move the cursor off the screen bounds from a warning to a debug message, to avoid spam in games that do this behavior, e.g. the Camelot demo svn-id: r43942 | |||
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 |