From 8a5ebb5b1c80e7ac857614cee7e7dbd9ab565429 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 21 Oct 2017 10:08:41 -0400 Subject: z standardization --- include/render.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/render.hpp') diff --git a/include/render.hpp b/include/render.hpp index a21fcdd..e081b9d 100644 --- a/include/render.hpp +++ b/include/render.hpp @@ -66,6 +66,22 @@ typedef enum { } WorldUniform; namespace Render { + namespace ZRange { + constexpr float World = 9.9f; + constexpr float RenderSys = 5.0f; + constexpr float Ground = -4.5f; + constexpr float Attack = -5.0f; + constexpr float Particle = -8.0f; + constexpr float Important = -8.5f; + constexpr float Inventory = -9.0f; + constexpr float Dialog = -9.3f; + constexpr float Quest = -9.5f; + constexpr float Fade = -9.7f; + constexpr float Menu = -9.8f; + constexpr float Mouse = -9.89f; + constexpr float Debug = -9.9f; + } + extern Shader worldShader; extern Shader textShader; -- cgit v1.2.3