aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint32.cpp
AgeCommit message (Collapse)Author
2019-05-27SCI: Fix MSVC warningsFilippos Karapetis
- Remove unused parameters - Initialize potentially uninitialized variables - Use Common::String instead of a fixed buffer - Remove redundant parentheses - Change float suffix to be uppercase - Fix spacing - Fix integer left shifts with boolean variables - Fix potential division by zero - Fix missing breaks
2017-10-06SCI32: Clean up scriptWidth/scriptHeight/screenWidth/screenHeightColin Snover
This removes the unnecessary Buffer subclass and stops most places where the output buffer was being interrogated about dimensions instead of GfxFrameout.
2017-10-06SCI32: Clean up GfxPaint32Colin Snover
* Rewrap comments to 80 columns
2017-01-12SCI32: Add workarounds, transitions, fixes for PQ4CDColin Snover
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-10-01SCI32: Add the rest of the code from PR #813 for dynamic line drawingFilippos Karapetis
2016-09-29SCI32: Fix crashes in line drawing codeFilippos Karapetis
Fixes Torin room 43000. The algorithm in Graphics::drawThickLine2 for drawing thick lines is not completely accurate and so there are still some single-pixel rendering bugs, but these do not impact the game itself and can be fixed separately.
2016-09-29SCI32: Explicitly instantiate MIN/MAX templatesColin Snover
2016-08-01SCI32: Add bitmap segment and remove GC option from hunk segmentColin Snover
2016-08-01SCI32: Enable optional explicit memory management of hunk entriesColin Snover
Bitmaps in ScrollWindow and Robot code are managed by the kernel and not by game scripts, although they must be able to be referenced through a reg_t. To prevent incorrect GC of bitmaps that are in use but not referenced by any game script, explicit memory management of hunk entries can be enabled.
2016-07-27SCI32: Give default skip color a nameColin Snover
2016-07-10SCI32: Implement kPlayVMDColin Snover
2016-06-21SCI32: Implement line drawing (kAddLine/kUpdateLine/kRemoveLine)Colin Snover
This line drawing code lives in a remodelled GfxPaint32 class that is totally separate from GfxPaint16.
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-06-03SCI32: fix crash during gabriel knight introMartin Kiewitz
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-18SCI: Remove a bunch of unused private member variablesMax Horn
All instances uncovered by clang warnings.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-26SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside ↵md5
the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this)
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-02-04SCI: Rewrote the robot playing code in a way similar to other video decodersFilippos Karapetis
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
2011-01-22SCI: Added stub for playing robot audio from the consoleLars Skovlund
svn-id: r55424
2011-01-22SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, ↵Filippos Karapetis
references of the SciEngine class to itself via g_sci have been removed svn-id: r55422
2011-01-21SCI: Partial robot support, currently disabled since it does not runLars Skovlund
asynchronously as it should. svn-id: r55382
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-02-06SCI: added plane coordinate adjustment code for sci32 when drawing pictures, ↵Martin Kiewitz
put everything into GfxCoordAdjuster svn-id: r47939
2010-02-05SCI: renamed SciGuiPicture to GfxPictureMartin Kiewitz
svn-id: r47899
2010-02-04SCI: renaming class View to GfxViewMartin Kiewitz
svn-id: r47891
2010-02-04SCI: making pathfinding debug support also work in sci32 (though it just ↵Martin Kiewitz
shows the path for 2.5 seconds there) svn-id: r47888
2010-02-04SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as ↵Martin Kiewitz
well for drawing cels svn-id: r47885
2010-02-04SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 ↵Martin Kiewitz
and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive svn-id: r47883
2010-02-04SCI: adding GfxPaint32 class, adding back support for planes, minor change ↵Martin Kiewitz
in GfxPaint16 (using #def instead of fixed value) svn-id: r47880