Age | Commit message (Collapse) | Author |
|
svn-id: r44629
|
|
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
|
|
svn-id: r44563
|
|
(usually), or to signal success in some special occasions
svn-id: r44505
|
|
mode now
- Simplified the mouse cursor manipulation code
svn-id: r44502
|
|
svn-id: r44500
|
|
svn-id: r44494
|
|
gfx_color_t structure
svn-id: r44477
|
|
This fixes the boots/belt of the hero sprite in QfG3 character generation.
svn-id: r44448
|
|
svn-id: r44398
|
|
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
|
|
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations
svn-id: r44359
|
|
This fixes white artifacts outside the bar in the SQ4CD intro,
but might cause regressions elsewhere.
svn-id: r44320
|
|
svn-id: r44319
|
|
colours are the first 16 entries
svn-id: r44317
|
|
- 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: r44248
|
|
svn-id: r44097
|
|
svn-id: r44083
|
|
svn-id: r44082
|
|
svn-id: r44017
|
|
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
|
|
svn-id: r43998
|
|
svn-id: r43996
|
|
svn-id: r43995
|
|
colors, so hi-color isn't really used anywhere, and it only makes the overall code more complex for no reason
svn-id: r43994
|
|
messages, introducing a new debug level
svn-id: r43993
|
|
svn-id: r43980
|
|
svn-id: r43943
|
|
- 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
|
|
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
|
|
are now always 0 for transparent, up to 255 for opaque
svn-id: r43939
|
|
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
|
|
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
|
|
svn-id: r43907
|
|
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
|
|
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
|
|
for VGA remakes
- The extras field is now filled by the fallback detector for VGA games
svn-id: r43893
|
|
svn-id: r43874
|
|
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: r43813
|
|
SCI_VERSION_3 (each version has a different kernel table).
- Improve map detection.
- Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games).
- Add SCI2 and SCI2.1 kernel tables.
svn-id: r43742
|
|
- Made some version comparisons for old SCI0 versions easier to read
- Removed the GET_SEL32SV macro
svn-id: r43729
|
|
- Replaced some EngineState parameters
- The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions
- Plugged 2 leaks in the fallback detector
- Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency
svn-id: r43722
|
|
svn-id: r43711
|
|
svn-id: r43577
|
|
svn-id: r43550
|
|
svn-id: r43549
|