pacman/lib/include
Corentin Jabot cbd19df739 Implement scaling.
We render pack man at twice the size that we want on screen,
which is the native resolution of the asset file.
The maze is upscaled.
We then project everything onto a view which is applies
the scale factor.

This patches also dectect the appropriate scale on OSX.
This required a bit of objective C (scaling.mm),
but students should not look at this file and there
is a comment in that direction.
Scalling.cpp provides the default implementation
for other platforms.
2021-07-07 21:32:22 +02:00
..
Atlas.hpp Fix some warnings and clang tidy 2021-07-07 11:24:12 +02:00
Board.hpp Fix some warnings and clang tidy 2021-07-07 11:24:12 +02:00
Canvas.hpp Implement scaling. 2021-07-07 21:32:22 +02:00
Direction.hpp Put the code in a namespace 2021-07-05 14:10:01 +02:00
Game.hpp Put the code in a namespace 2021-07-05 14:10:01 +02:00
Ghost.hpp No need to pass Board around 2021-07-07 11:39:09 +02:00
InputState.hpp Put the code in a namespace 2021-07-05 14:10:01 +02:00
PacMan.hpp No need to pass Board around 2021-07-07 11:39:09 +02:00
PacManAnimation.hpp Fix some warnings and clang tidy 2021-07-07 11:24:12 +02:00
Pellets.hpp No need to pass Board around 2021-07-07 11:39:09 +02:00
Position.hpp Introduce a scale function and clean up 2021-07-07 11:25:13 +02:00
Score.hpp Put the code in a namespace 2021-07-05 14:10:01 +02:00
SuperPellets.hpp No need to pass Board around 2021-07-07 11:39:09 +02:00