David Fioramonti
503f0c8f0b
AVALANCHE: Use degree conversion common math funcs
...
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.
2018-07-03 23:08:48 +01:00
Colin Snover
432fd522d2
ENGINES: Remove default1x scaler flag
...
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.
2017-10-07 12:30:29 -05:00
Ori Avtalion
3564032330
JANITORIAL: Reduce audio header dependencies
2016-04-14 16:10:21 +03:00
Strangerke
e8ffcdc09c
AVALANCHE: Janitorial - remove trailing spaces and tabs
2014-06-07 17:12:24 +02:00
Johannes Schickel
703cfa536b
AVALANCHE: Make GraphicManager::drawArc code consistently use float.
...
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-06-02 01:00:15 +02:00
uruk
fc13180465
AVALANCHE: Merge ghostDrawGhost and ghostDrawGlerk.
2014-04-12 21:03:17 +02:00
uruk
d09b482bcb
AVALANCHE: Implement MainMenu::wait().
...
Rework other pieces of the engine to fit to it's mechanism.
2014-03-06 23:02:07 +01:00
uruk
ce72606616
AVALANCHE: Implement MainMenu::centre().
...
Also rework connected functions.
2014-03-05 18:28:15 +01:00
uruk
80e01378d3
AVALANCHE: Implement MainMenu::option().
...
Rework and implement a lot of connected functions.
2014-03-04 20:27:00 +01:00
uruk
8b16fdcede
AVALANCHE: Implement loadMenu(). Unify it with menuLoadIcons().
...
Also rename menuLoadIcons to menuLoadPictures after the unifying.
2014-03-04 15:25:26 +01:00
uruk
d69975af14
AVALANCHE: Move to graphics and implement GraphicManager::menuLoadIcons().
...
Add and implement necessary graphical functions for the main menu during the process.
2014-03-04 12:01:56 +01:00
uruk
0dff818594
AVALANCHE: Implement the status leds on the toolbar.
2014-03-03 21:11:07 +01:00
uruk
e15dafb9e4
AVALANCHE: Rework use of Common::Rect.
...
Now the right and bottom coordinates of the rectangles aren't included in them.
2014-02-25 21:56:32 +01:00
uruk
d23ced0aed
AVALANCHE: Repair ShootEmUp::plotThem().
2014-02-21 16:22:37 +01:00
uruk
c498e910eb
AVALANCHE: Implement ShootEmUp::plotThem() and connected functions.
2014-02-19 17:55:32 +01:00
uruk
2e56baeca0
AVALANCHE: Rework GraphicManager::loadPictureSign().
2014-02-18 15:47:17 +01:00
uruk
72c40dbd47
AVALANCHE: Repair writing off the boundaries in loadPictureGraphic().
2014-02-18 15:42:31 +01:00
uruk
f20d4e726d
AVALANCHE: Introduce GraphicManager::blackOutScreen().
2014-02-18 14:05:03 +01:00
uruk
589c6ffed2
AVALANCHE: Reimplement the rectangle drawing methods.
2014-02-18 13:56:19 +01:00
Johannes Schickel
854de79c23
AVALANCHE: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
uruk
dc3477b092
AVALANCHE: Implement ShootEmUp::setup() and connected functions.
2014-02-16 22:13:19 +01:00
Strangerke
7c53ba31a4
AVALANCHE: Janitorial - Remove trailing spaces
2014-02-16 18:21:37 +01:00
uruk
5829615820
AVALANCHE: Implement ShootEmUp::instructions().
...
Also implement connected functions and add fundamental parts to
ShootEmUp::run() during the process.
2014-02-16 15:24:13 +01:00
uruk
616d9959f3
AVALANCHE: Move/rename/implement SEU::titles().
2014-02-14 17:12:09 +01:00
uruk
5dbe676011
AVALANCHE: Implement mouse control in Help.
2014-02-14 04:55:36 +01:00
uruk
6ffbbc8ab2
AVALANCHE: Move/rename/implement Help::plotButton().
2014-02-11 23:10:16 +01:00
uruk
db2baa6f06
AVALANCHE: Partially implement Help::getMe().
...
The drawing of the buttons are still missing.
2014-02-11 22:34:27 +01:00
uruk
3f6d71dd25
AVALANCHE: Implement 'winning_pic'.
2014-02-10 10:49:39 +01:00
uruk
2642b0640c
AVALANCHE: Implement the animation of the ghost.
...
Modify GraphicManager::ghostDrawGhost() to do so.
2014-02-08 16:48:29 +01:00
uruk
737e38eff8
AVALANCHE: Implement the floating eyeballs and the "Glerk"s animation.
2014-02-05 13:36:10 +01:00
uruk
f26bbefb2d
AVALANCHE: Make constants really const.
2014-02-05 10:51:32 +01:00
uruk
2ca5143155
AVALANCHE: Remove unnecessary checks from picture creatings.
2014-02-05 10:51:32 +01:00
uruk
89386900bb
AVALANCHE: Add ghostDrawGlerk().
2014-02-05 10:51:31 +01:00
uruk
5a1c9bc717
AVALANCHE: Implement rest of the loading in Ghostroom.
...
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-04 19:54:41 +01:00
uruk
3eb2c05faf
AVALANCHE: Rename/move/implement plainGrab().
2014-02-04 18:51:13 +01:00
uruk
81992bf616
AVALANCHE: Some renaming in Background.
2014-02-04 12:07:05 +01:00
uruk
a0e28107d3
AVALANCHE: Some renaming connected to Ghostroom.
2014-02-04 12:06:11 +01:00
uruk
29cd161421
AVALANCHE: Rename/move/implement getMe().
2014-02-04 10:30:41 +01:00
uruk
9a08e0459c
AVALANCHE: Implement loading and drawing of the picture of the ghost.
2014-02-04 08:59:03 +01:00
Filippos Karapetis
06309f616a
AVALANCE: Fix warning about truncated value (from double to float)
2014-01-26 15:19:45 +02:00
uruk
de4ec97f6d
AVALANCHE: Implement wobble, move it to Animation.
2014-01-15 20:03:06 +01:00
uruk
96d4b67d41
AVALANCHE: Implement, rename, move zonk() and connected functions.
...
Implementations: zonk(), zl().
Renames: zonk() -> thunder(), zl() -> drawLightning().
Moved: the 2 above from Pingo to Animation.
Addition: GraphicManager::drawLine().
2014-01-15 18:00:04 +01:00
uruk
b5b0aa25e0
AVALANCHE: Implement setBackgroundColor().
2014-01-15 18:00:03 +01:00
uruk
eeca348953
AVALANCHE: Move freeing of the used surfaces in Nim to a better place.
2013-12-21 19:09:57 +01:00
uruk
439817d42e
AVALANCHE: Rename graphic functions connected to Nim.
2013-12-21 19:02:29 +01:00
uruk
ad9c247ae3
AVALANCHE: Implement picture loading/drawing in Nim.
2013-12-17 11:07:26 +01:00
uruk
16194e227f
AVALANCHE: Add some graphic functions for Nim.
2013-12-17 08:35:42 +01:00
Strangerke
11c15bea00
AVALANCHE: Janitorial - Remove extra blank lines
2013-11-22 21:40:16 +01:00
Strangerke
93e5d415c6
AVALANCHE: Janitorial - Removing trailing spaces and tabs
2013-11-22 21:31:39 +01:00
Strangerke
da2ddbb8f4
AVALANCHE: Fix 3 issues reported by Coverity.
2013-10-25 22:40:09 +02:00