aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graphics.cpp
AgeCommit message (Collapse)Author
2018-07-03AVALANCHE: Use degree conversion common math funcsDavid Fioramonti
Noted an atan maybe should be an atan2. For the atan call I casted the numerator and denominator separately instead of after they are divided.
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-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2014-06-07AVALANCHE: Janitorial - remove trailing spaces and tabsStrangerke
2014-06-02AVALANCHE: Make GraphicManager::drawArc code consistently use float.Johannes Schickel
I use float over double here because all the changing values were already stored in variables of type float. This also silences some float conversion warnings.
2014-04-12AVALANCHE: Merge ghostDrawGhost and ghostDrawGlerk.uruk
2014-03-06AVALANCHE: Implement MainMenu::wait().uruk
Rework other pieces of the engine to fit to it's mechanism.
2014-03-05AVALANCHE: Implement MainMenu::centre().uruk
Also rework connected functions.
2014-03-04AVALANCHE: Implement MainMenu::option().uruk
Rework and implement a lot of connected functions.
2014-03-04AVALANCHE: Implement loadMenu(). Unify it with menuLoadIcons().uruk
Also rename menuLoadIcons to menuLoadPictures after the unifying.
2014-03-04AVALANCHE: Move to graphics and implement GraphicManager::menuLoadIcons().uruk
Add and implement necessary graphical functions for the main menu during the process.
2014-03-03AVALANCHE: Implement the status leds on the toolbar.uruk
2014-02-25AVALANCHE: Rework use of Common::Rect.uruk
Now the right and bottom coordinates of the rectangles aren't included in them.
2014-02-21AVALANCHE: Repair ShootEmUp::plotThem().uruk
2014-02-19AVALANCHE: Implement ShootEmUp::plotThem() and connected functions.uruk
2014-02-18AVALANCHE: Rework GraphicManager::loadPictureSign().uruk
2014-02-18AVALANCHE: Repair writing off the boundaries in loadPictureGraphic().uruk
2014-02-18AVALANCHE: Introduce GraphicManager::blackOutScreen().uruk
2014-02-18AVALANCHE: Reimplement the rectangle drawing methods.uruk
2014-02-18AVALANCHE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-16AVALANCHE: Implement ShootEmUp::setup() and connected functions.uruk
2014-02-16AVALANCHE: Janitorial - Remove trailing spacesStrangerke
2014-02-16AVALANCHE: Implement ShootEmUp::instructions().uruk
Also implement connected functions and add fundamental parts to ShootEmUp::run() during the process.
2014-02-14AVALANCHE: Move/rename/implement SEU::titles().uruk
2014-02-14AVALANCHE: Implement mouse control in Help.uruk
2014-02-11AVALANCHE: Move/rename/implement Help::plotButton().uruk
2014-02-11AVALANCHE: Partially implement Help::getMe().uruk
The drawing of the buttons are still missing.
2014-02-10AVALANCHE: Implement 'winning_pic'.uruk
2014-02-08AVALANCHE: Implement the animation of the ghost.uruk
Modify GraphicManager::ghostDrawGhost() to do so.
2014-02-05AVALANCHE: Implement the floating eyeballs and the "Glerk"s animation.uruk
2014-02-05AVALANCHE: Make constants really const.uruk
2014-02-05AVALANCHE: Remove unnecessary checks from picture creatings.uruk
2014-02-05AVALANCHE: Add ghostDrawGlerk().uruk
2014-02-04AVALANCHE: Implement rest of the loading in Ghostroom.uruk
Also move it to it's own function: loadPictures(). Remove some unused variables and change the order of declaration of the remaining ones during the implementation. Change void * types to Graphics::Surface.
2014-02-04AVALANCHE: Rename/move/implement plainGrab().uruk
2014-02-04AVALANCHE: Some renaming in Background.uruk
2014-02-04AVALANCHE: Some renaming connected to Ghostroom.uruk
2014-02-04AVALANCHE: Rename/move/implement getMe().uruk
2014-02-04AVALANCHE: Implement loading and drawing of the picture of the ghost.uruk
2014-01-26AVALANCE: Fix warning about truncated value (from double to float)Filippos Karapetis
2014-01-15AVALANCHE: Implement wobble, move it to Animation.uruk
2014-01-15AVALANCHE: Implement, rename, move zonk() and connected functions.uruk
Implementations: zonk(), zl(). Renames: zonk() -> thunder(), zl() -> drawLightning(). Moved: the 2 above from Pingo to Animation. Addition: GraphicManager::drawLine().
2014-01-15AVALANCHE: Implement setBackgroundColor().uruk
2013-12-21AVALANCHE: Move freeing of the used surfaces in Nim to a better place.uruk
2013-12-21AVALANCHE: Rename graphic functions connected to Nim.uruk
2013-12-17AVALANCHE: Implement picture loading/drawing in Nim.uruk
2013-12-17AVALANCHE: Add some graphic functions for Nim.uruk
2013-11-22AVALANCHE: Janitorial - Remove extra blank linesStrangerke
2013-11-22AVALANCHE: Janitorial - Removing trailing spaces and tabsStrangerke
2013-10-25AVALANCHE: Fix 3 issues reported by Coverity.Strangerke