aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
AgeCommit message (Collapse)Author
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2016-05-28PARALLACTION: Cleanup object initializationEugene Sandulenko
2014-02-18PARALLACTION: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-03PARALLACTION: Pass big value by reference rather than copying. CID 1003923Eugene Sandulenko
2013-08-03PARALLACTION: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03PARALLACTION: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-09-27PARALLACTION: Clean up global variables a bit.Alyssa Milburn
2012-07-25PARALLACTION: Fix delete[] formatting.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-11-03PARALLACTION: Fix warnings. Fix nasty out-of-scope bug in parallaction_br.cppEugene Sandulenko
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17PARALLACTION: Prefer Surface::create taking a PixelFormat over the one ↵Johannes Schickel
taking a byte depth.
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-16PARALLACTION: Use signed math in fadeTo.Alyssa Milburn
This fixes corruption during fades when low palette values end up negative.
2011-02-16PARALLACTION: Fix half bright palette.Johannes Schickel
Thanks to peres for pointing this out to me.
2011-02-14PARALLACTION: Adapt to setPalette RGBA->RGB change.Johannes Schickel
This change is not tested, but should hopefully work fine.
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-24PARALLACTION: Improve safety of PathBuffer::getValue().David Turner
This will now avoid invalid memory reads and instead emit warnings if it is called with values outside of the expected data buffer or on a NULL buffer. svn-id: r55492
2010-06-13Support for vertical scrolling. Patch 3005933 by fuzzie.Nicola Mettifogo
svn-id: r49620
2010-05-22Cleanup (removed more Parallaction::getGameType() calls).Nicola Mettifogo
svn-id: r49147
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-04-28Fix uninitialized variableWillem Jan Palenstijn
svn-id: r48844
2010-04-28Initialize _requested*ScrollDir variables in constructor.Nicola Mettifogo
svn-id: r48840
2010-04-27Fix bug 2969257 (labels) and hopefully plug all the leaks.Nicola Mettifogo
svn-id: r48811
2010-04-02Fix whitespaceWillem Jan Palenstijn
svn-id: r48477
2009-03-23Fix pallete for label font in the Amiga version of BRA.Travis Howell
svn-id: r39632
2009-03-23Correct label font used by Amiga version of BRA.Travis Howell
svn-id: r39629
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
2009-02-27The engine has now to build the drawing list for the graphic department, ↵Nicola Mettifogo
instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list. The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone. svn-id: r38928
2009-02-26Fixed crashes and leaks when quitting BRA from menu and splash screen.Nicola Mettifogo
svn-id: r38893
2009-02-25Updated all for(;;) loops to use prefix increment on iterators.Nicola Mettifogo
svn-id: r38876
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
2009-02-03Fixed support for walking zones in BRA:Nicola Mettifogo
* patches are not applied if the zone is not visible when loading * when applying a patch, always overwrite the existing data instead of OR'ing svn-id: r36209
2009-01-12Fixed regression from revision 35765. Mask and path patches were destroyed ↵Nicola Mettifogo
before getting a chance to be used. svn-id: r35835
2009-01-08Fixed points 2 and 3 of bug #2438549, spotlight wasn't displayed correctly.Nicola Mettifogo
svn-id: r35785
2009-01-07Fixed warningsMax Horn
svn-id: r35780
2009-01-07Extended PathBuffer to support BRA.Nicola Mettifogo
svn-id: r35766
2009-01-07* moved more mask management to BackgroundInfoNicola Mettifogo
* simplified mask management for client code * reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp * preparation for the full implementation of BRA's PathBuffer svn-id: r35765
2009-01-05Deleted unused declarations, sorted others, and removed some dead code.Nicola Mettifogo
svn-id: r35739
2008-12-25Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",Johannes Schickel
svn-id: r35533
2008-12-24Fixed display of location background when changing from a scrollable to a ↵Nicola Mettifogo
non-scrollable one. svn-id: r35522
2008-12-24Simplified destructions of Balloon objects.Nicola Mettifogo
svn-id: r35521
2008-12-21Moved more GfxObj management to Gfx object.Nicola Mettifogo
svn-id: r35466
2008-12-20Moved mask creation/handling to Gfx.Nicola Mettifogo
svn-id: r35447
2008-12-15Weeded out some more unused code, and some restructuring.Nicola Mettifogo
svn-id: r35377
2008-12-14Removed references to _vm from the engine itself.Nicola Mettifogo
svn-id: r35358