47 int pixelsPerUnit)
noexcept;
61 const std::vector<std::string>& existing);
Definition AudioEngine.cpp:15
std::string sanitizePlaneBaseName(const std::string &name)
Réduit un nom libre à ce qu'un nom de fichier de plan accepte.
Definition PlaneFileNaming.cpp:31
const std::string PLANE_FILE_EXTENSION
Extension des fichiers de plan. Un plan est une image, toujours écrite en PNG.
Definition PlaneFileNaming.h:23
PlanePixelSize planePixelSize(int widthUnits, int heightUnits, int pixelsPerUnit) noexcept
Dimensions, en pixels, du PNG d'un plan.
Definition PlaneFileNaming.cpp:23
std::string uniquePlaneFileName(const std::string &levelName, const std::vector< std::string > &existing)
Compose un nom de fichier de plan unique pour un niveau donné.
Definition PlaneFileNaming.cpp:60
Dimensions, en pixels, du PNG d'un plan.
Definition PlaneFileNaming.h:37
friend bool operator==(const PlanePixelSize &, const PlanePixelSize &) noexcept=default
int height
Definition PlaneFileNaming.h:39
int width
Definition PlaneFileNaming.h:38