Skip to content

Commit

Permalink
Merge branch 'master' into chris_async_networking
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-plusplus committed Mar 25, 2024
2 parents c13965e + 57ca416 commit f066ad2
Show file tree
Hide file tree
Showing 31 changed files with 344 additions and 995 deletions.
14 changes: 8 additions & 6 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class Archimedes(ConanFile):
settings = "build_type"

def requirements(self):
self.requires("glad/0.1.36")
self.requires("glfw/3.3.8")
self.requires("glm/0.9.9.8")
self.requires("assimp/5.2.2")
Expand All @@ -15,12 +14,15 @@ def requirements(self):
self.requires("stb/cci.20220909")
self.requires("draco/1.5.6", override=True)

def configure(self):
self.options["glad/0.1.36"].gl_profile = "core"
self.options["glad/0.1.36"].gl_version = "4.6"
self.options["glad/0.1.36"].spec = "gl"
self.options["glad/0.1.36"].no_loader = False
# Vulkan SDK
self.requires("volk/1.3.268.0")
self.requires("vulkan-headers/1.3.268.0", override=True)
self.requires("vulkan-memory-allocator/cci.20231120")

# SPIRV (Shader compiler)
# self.requires("shaderc/2021.1") # waiting for conan repo update

def configure(self):
if is_msvc(self, True):
self.options["spdlog/1.12.0"].use_std_fmt = True

Expand Down
7 changes: 4 additions & 3 deletions include/engine.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#ifndef ARCHIMEDES_ENGINE_H
#define ARCHIMEDES_ENGINE_H

#include <gfx/Renderer.h>
#include <gtest/gtest_prod.h>
#include <window.h>

#include <fstream>
#include <string>
#include <exceptions/config_exception.h>
#include <gtest/gtest_prod.h>


namespace arch {

Expand All @@ -33,6 +33,7 @@ class Engine {
private:
Window _window;
EngineConfig _engine_config;
gfx::Renderer _renderer;

FRIEND_TEST(EngineTest, ConfigWindowTest);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#pragma once

#include "exception.h"
#include <exception.h>

namespace arch {

class GLFWException : public Exception {
public:
GLFWException();
GLFWException();
};

}
}
17 changes: 17 additions & 0 deletions include/gfx/Renderer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#pragma once

/// @brief Temporary code

#include <volk.h>

namespace arch::gfx {

class Renderer {
public:
void init();

private:
VkInstance _instance;
};

}
94 changes: 0 additions & 94 deletions include/graphics/buffer_object.h

This file was deleted.

12 changes: 0 additions & 12 deletions include/graphics/glad_exception.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/graphics/model.h

This file was deleted.

26 changes: 0 additions & 26 deletions include/graphics/primitives.h

This file was deleted.

66 changes: 0 additions & 66 deletions include/graphics/renderer.h

This file was deleted.

Loading

0 comments on commit f066ad2

Please sign in to comment.