pacman/lib
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
..
include Implement scaling. 2021-07-07 21:32:22 +02:00
Board.cpp Fix some warnings and clang tidy 2021-07-07 11:24:12 +02:00
Canvas.cpp Implement scaling. 2021-07-07 21:32:22 +02:00
CMakeLists.txt Implement scaling. 2021-07-07 21:32:22 +02:00
Game.cpp No need to pass Board around 2021-07-07 11:39:09 +02:00
Ghost.cpp No need to pass Board around 2021-07-07 11:39:09 +02:00
PacMan.cpp No need to pass Board around 2021-07-07 11:39:09 +02:00
PacManAnimation.cpp Fix some warnings and clang tidy 2021-07-07 11:24:12 +02:00
Pellets.cpp No need to pass Board around 2021-07-07 11:39:09 +02:00
Scaling.cpp Implement scaling. 2021-07-07 21:32:22 +02:00
Scaling.mm Implement scaling. 2021-07-07 21:32:22 +02:00
SuperPellets.cpp No need to pass Board around 2021-07-07 11:39:09 +02:00