mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Use nicer syntax for nested namespace definitions
This commit is contained in:
parent
e700182f44
commit
8b108ed5f2
@ -59,9 +59,9 @@ struct ShaderInfo {
|
|||||||
Setter of constants for shaders
|
Setter of constants for shaders
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace irr { namespace video {
|
namespace irr::video {
|
||||||
class IMaterialRendererServices;
|
class IMaterialRendererServices;
|
||||||
} }
|
}
|
||||||
|
|
||||||
|
|
||||||
class IShaderConstantSetter {
|
class IShaderConstantSetter {
|
||||||
|
@ -32,7 +32,7 @@ class IGameDef;
|
|||||||
struct TileSpec;
|
struct TileSpec;
|
||||||
struct TileDef;
|
struct TileDef;
|
||||||
|
|
||||||
namespace irr { namespace video { class IVideoDriver; } }
|
namespace irr::video { class IVideoDriver; }
|
||||||
|
|
||||||
typedef std::vector<video::SColor> Palette;
|
typedef std::vector<video::SColor> Palette;
|
||||||
|
|
||||||
|
@ -36,9 +36,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#define PATH_DELIM ":"
|
#define PATH_DELIM ":"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace irr { namespace io {
|
namespace irr::io {
|
||||||
class IFileSystem;
|
class IFileSystem;
|
||||||
}}
|
}
|
||||||
|
|
||||||
namespace fs
|
namespace fs
|
||||||
{
|
{
|
||||||
|
@ -35,10 +35,10 @@ class ModChannel;
|
|||||||
class ModStorage;
|
class ModStorage;
|
||||||
class ModStorageDatabase;
|
class ModStorageDatabase;
|
||||||
|
|
||||||
namespace irr { namespace scene {
|
namespace irr::scene {
|
||||||
class IAnimatedMesh;
|
class IAnimatedMesh;
|
||||||
class ISceneManager;
|
class ISceneManager;
|
||||||
}}
|
}
|
||||||
|
|
||||||
struct SubgameSpec;
|
struct SubgameSpec;
|
||||||
struct ModSpec;
|
struct ModSpec;
|
||||||
|
Loading…
Reference in New Issue
Block a user