Age | Commit message (Collapse) | Author |
|
svn-id: r45568
|
|
svn-id: r45563
|
|
svn-id: r45562
|
|
but other methods haven't been updated yet
svn-id: r45555
|
|
screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup.
svn-id: r45536
|
|
Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
svn-id: r45500
|
|
(defined in sci.h)
svn-id: r45459
|
|
supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed).
- Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game
- The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted)
svn-id: r45378
|
|
svn-id: r45368
|
|
svn-id: r45366
|
|
svn-id: r45217
|
|
svn-id: r45177
|
|
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
svn-id: r45176
|
|
Some cleanup
svn-id: r45124
|
|
svn-id: r45028
|
|
loading with the new GUI
svn-id: r44934
|
|
messages printed to the console
svn-id: r44858
|
|
svn-id: r44857
|
|
game entries in the detector
svn-id: r44856
|
|
finished)
svn-id: r44787
|
|
timestamps are now calculated from Epoch time, instead of game start time (the functionality is exactly the same, though)
svn-id: r44773
|
|
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
|
|
- 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
|
|
svn-id: r44731
|
|
svn-id: r44730
|
|
changes to the logic, yet)
svn-id: r44717
|
|
- 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
|
|
SciGuiWindowMgr)
- Renamed "cell" -> "cel"
svn-id: r44649
|
|
implemented in newgui
svn-id: r44606
|
|
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
|
|
mode now
- Simplified the mouse cursor manipulation code
svn-id: r44502
|
|
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class
svn-id: r44481
|
|
Dithering is now off again for SCI0 by default, an can optionally be turned on
svn-id: r44339
|
|
disabling dithering makes some colors not show up correctly (e.g. the trees in Iceman and LSL3). Dithering can still be disabled on a per-game basis by using the "dither_mode" option
svn-id: r44316
|
|
(i.e. follow CFG and achieve code/data isolation)
svn-id: r44271
|
|
- 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
|
|
svn-id: r44246
|
|
svn-id: r44173
|
|
svn-id: r44151
|
|
messages, introducing a new debug level
svn-id: r43993
|
|
unfiltered scaler in (to be replaced by ScummVM's scaler code). We really don't need bilinear and trilinear filtered scaling in the engine, as ScummVM's filters already perform bilinear and trilinear filtered scaling, if requested
svn-id: r43938
|
|
changes, and it's used in one place only)
svn-id: r43936
|
|
the 3 dithering modes as an enum (and reorganized them a bit)
- Added 3 config options for dithering in the ini file - mainly for purists (config option "dither_mode"): 0 - disabled, 1 - 16 color dithering (Sierra style) and 2 - 256 color dithering
- Dithering is now always applied depending on the screen scale (removed the relevant parameter)
- Removed the background picture buffering option, used to speed-up room changes. Room changing is quite fast (instantaneous), and the extra memory allocated is not worth the possible speed increase in small devices. Plus.... there is no reliable value to set this option to, so there is no point in letting the user decide what value to put there using guesswork
svn-id: r43915
|
|
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
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
make sense to dither, as Sierra games use up to 256 colors (even the later SVGA ones), and it messes up the result of the FreeSCI graphics filters. Plus, the resulting image looks worse than the original one
svn-id: r43901
|
|
(is dithering even used anywhere?)
svn-id: r43897
|
|
filtering algorithm options from the ScummVM ini file (options "cursor_filter", "view_filter", "pic_filter" and "text_filter", 0 - unfiltered, 1 - bilinear filtering, 2 - trilinear filtering)
svn-id: r43894
|
|
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
|
|
svn-id: r43824
|