summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2020-10-15 14:49:37 -0400
committerAndrew Opalach <andrew@akon.city> 2020-10-15 14:49:37 -0400
commit26ceced8a3ba2a3a0d5ae8a63018741252fe354c (patch)
treed6e535de554ee6b3c871fc63c144a3959a6a2afb /src
parentf7d79bd4e21c9a6210c2256fe0f6e560127236c1 (diff)
downloadmauri-26ceced8a3ba2a3a0d5ae8a63018741252fe354c.tar.gz
mauri-26ceced8a3ba2a3a0d5ae8a63018741252fe354c.tar.bz2
mauri-26ceced8a3ba2a3a0d5ae8a63018741252fe354c.zip
add json subproject
Diffstat (limited to 'src')
-rw-r--r--src/assets.h1
-rw-r--r--src/mauri.cc4
-rw-r--r--src/objects/effect.cc2
-rw-r--r--src/objects/material.cc2
-rw-r--r--src/objects/model.cc2
-rw-r--r--src/objects/object.cc1
-rw-r--r--src/objects/object.h1
-rw-r--r--src/objects/pass.cc1
-rw-r--r--src/objects/pass.h1
9 files changed, 2 insertions, 13 deletions
diff --git a/src/assets.h b/src/assets.h
index 2f7677f..72fd58b 100644
--- a/src/assets.h
+++ b/src/assets.h
@@ -5,7 +5,6 @@
#include <iostream>
#include <sstream>
#include <vector>
-#include <jsoncpp/json/json.h>
#include "util.h"
diff --git a/src/mauri.cc b/src/mauri.cc
index 83b7655..3ff975a 100644
--- a/src/mauri.cc
+++ b/src/mauri.cc
@@ -33,8 +33,8 @@ s32 main(s32 argc, char *argv[])
//Context *context = new ContextX11(2560, 1440, "mauri", true);
//Context *context = new ContextGLFW(720, 1280, "mauri", false);
- //Context *context = new ContextGLFW(1280, 720, "mauri", false);
- Context *context = new ContextX11(1920, 1080, "mauri", false);
+ Context *context = new ContextGLFW(1280, 720, "mauri", false);
+ //Context *context = new ContextX11(1920, 1080, "mauri", false);
//Context *context = new ContextNull(1920, 1080, "mauri", false);
if (argc == 2)
diff --git a/src/objects/effect.cc b/src/objects/effect.cc
index 6fbf71b..bee93e0 100644
--- a/src/objects/effect.cc
+++ b/src/objects/effect.cc
@@ -8,8 +8,6 @@
#include "objects/pass.h"
-#include <jsoncpp/json/reader.h>
-
#include <glm/fwd.hpp>
using namespace Mauri;
diff --git a/src/objects/material.cc b/src/objects/material.cc
index b91a26a..6efa2d0 100644
--- a/src/objects/material.cc
+++ b/src/objects/material.cc
@@ -1,5 +1,3 @@
-#include <jsoncpp/json/json.h>
-
#include "assets.h"
#include "engine.h"
#include "json.h"
diff --git a/src/objects/model.cc b/src/objects/model.cc
index 1ec7424..68aa04b 100644
--- a/src/objects/model.cc
+++ b/src/objects/model.cc
@@ -1,5 +1,3 @@
-#include <jsoncpp/json/json.h>
-
#include "assets.h"
#include "json.h"
#include "log.h"
diff --git a/src/objects/object.cc b/src/objects/object.cc
index 8613b2a..44b1092 100644
--- a/src/objects/object.cc
+++ b/src/objects/object.cc
@@ -1,6 +1,5 @@
#include <glm/fwd.hpp>
#include <glm/trigonometric.hpp>
-#include <jsoncpp/json/json.h>
#include <glm/ext/matrix_transform.hpp>
#include <glm/glm.hpp>
diff --git a/src/objects/object.h b/src/objects/object.h
index 24796e5..00cfe86 100644
--- a/src/objects/object.h
+++ b/src/objects/object.h
@@ -2,7 +2,6 @@
#define _OBJECT_H
#include <glm/glm.hpp>
-#include <jsoncpp/json/json.h>
#include "../engine.h"
diff --git a/src/objects/pass.cc b/src/objects/pass.cc
index 04eb8e3..eeaf732 100644
--- a/src/objects/pass.cc
+++ b/src/objects/pass.cc
@@ -1,7 +1,6 @@
#include <cstdio>
#include <glm/fwd.hpp>
#include <glm/gtc/type_ptr.hpp>
-#include <jsoncpp/json/value.h>
#include <stdint.h>
#include <thread>
#include <type_traits>
diff --git a/src/objects/pass.h b/src/objects/pass.h
index 3e722b8..c5318fb 100644
--- a/src/objects/pass.h
+++ b/src/objects/pass.h
@@ -2,7 +2,6 @@
#define _PASS_H
#include <glm/glm.hpp>
-#include <jsoncpp/json/json.h>
#include "json.h"
#include "context.h"