ported Direct.pas

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 10:08:52 +01:00
1 parent 1e9ad56b0c
commit 161164a37f
5 files changed
+400

No files matched your search

+10
View File
@@ -31,6 +31,7 @@
namespace Cevo {
bool fullScreen = false;
bool musicEnabled = true;
QString getGraphicsDir()
{
@@ -41,4 +42,13 @@ QString getGraphicsDir()
#endif
}
QString getMusicDir()
{
#ifdef CEVO_RESOURCE_DIR
return QStringLiteral(CEVO_RESOURCE_DIR "/Music");
#else
return QString();
#endif
}
} // namespace Cevo