minetest/irr/include/exampleHelper.h
2024-03-26 21:39:02 +01:00

22 lines
380 B
C++
Executable File

// Copyright (C) 2015 Patryk Nadrowski
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#pragma once
#include "path.h"
namespace irr
{
static io::path getExampleMediaPath()
{
#ifdef IRR_MOBILE_PATHS
return io::path("media/");
#else
return io::path("../../media/");
#endif
}
} // end namespace irr