Renamed to Project Engine

This commit is contained in:
2024-10-02 00:49:38 -05:00
parent 08115f90ce
commit bf8f92b885
41 changed files with 27 additions and 152 deletions

58
.vscode/settings.json vendored
View File

@@ -1,58 +0,0 @@
{
"C_Cpp.errorSquiggles": "disabled",
"files.associations": {
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"compare": "cpp",
"concepts": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"set": "cpp",
"string": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"optional": "cpp",
"random": "cpp",
"ratio": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"numbers": "cpp",
"ostream": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"cinttypes": "cpp",
"typeinfo": "cpp"
}
}

0
assets/viking_room.obj Normal file → Executable file
View File

0
assets/viking_room.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 940 KiB

After

Width:  |  Height:  |  Size: 940 KiB

0
events/event.cpp Normal file → Executable file
View File

2
events/event.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
enum class EventType {
None = 0,

0
events/eventHandler.cpp Normal file → Executable file
View File

2
events/eventHandler.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "event.h"

0
events/keyEvent.cpp Normal file → Executable file
View File

2
events/keyEvent.h Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#include "terminal.h"
#include "engine.h"
#include "event.h"
class KeyEvent : public Event {

0
events/mouseEvent.cpp Normal file → Executable file
View File

2
events/mouseEvent.h Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#include "terminal.h"
#include "engine.h"
#include "event.h"
class MouseButtonEvent : public Event {

0
events/windowEvent.cpp Normal file → Executable file
View File

2
events/windowEvent.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "event.h"

0
flake.lock generated Normal file → Executable file
View File

6
flake.nix Normal file → Executable file
View File

@@ -1,5 +1,5 @@
{
description = "Build Project Terminal";
description = "Build Project Engine";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
@@ -22,7 +22,7 @@
packages.${system}.default = pkgs.stdenv.mkDerivation {
name = "Terminal";
name = "Engine";
inherit system;
@@ -109,7 +109,7 @@
shaders = pkgs.stdenv.mkDerivation {
name = "Terminal";
name = "Engine";
inherit system;

0
imgui.ini Normal file → Executable file
View File

0
layers/baseLayer.cpp Normal file → Executable file
View File

2
layers/baseLayer.h Normal file → Executable file
View File

@@ -1,5 +1,5 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "layer.h"
#include "eventHandler.h"

0
layers/layer.cpp Normal file → Executable file
View File

2
layers/layer.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "event.h"

0
layers/layerstack.cpp Normal file → Executable file
View File

2
layers/layerstack.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "layer.h"

0
layers/overlay.cpp Normal file → Executable file
View File

2
layers/overlay.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "layer.h"

0
renderer/openglRenderer.cpp Normal file → Executable file
View File

0
renderer/openglRenderer.h Normal file → Executable file
View File

0
renderer/renderer.h Normal file → Executable file
View File

0
renderer/vulkanRenderer.cpp Normal file → Executable file
View File

2
renderer/vulkanRenderer.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "sdl2Window.h"

0
shaders/s.frag Normal file → Executable file
View File

0
shaders/s.vert Normal file → Executable file
View File

0
src/application.cpp Normal file → Executable file
View File

2
src/application.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "sdl2Window.h"
#include "vulkanRenderer.h"

View File

@@ -1,9 +0,0 @@
#include "application.h"
int main() {
App app;
app.run();
}

View File

@@ -1,58 +0,0 @@
#pragma once
//macros
#ifdef SHDR_PATH
#define STRINGIZE(x) #x
#define STRINGIZE_VALUE_OF(x) STRINGIZE(x)
#endif
#include <iostream>
#include <stdio.h> // printf, fprintf
#include <stdlib.h> // abort
#include <vector>
#include <optional>
#include <set>
#include <cstdint> // Necessary for uint32_t
#include <limits> // Necessary for std::numeric_limits
#include <algorithm> // Necessary for std::clamp
#include <fstream>
#include <array>
#include <chrono>
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <vulkan/vulkan.h>
#include <SDL.h>
#include <SDL_video.h>
#include <SDL_vulkan.h>
#include "imgui.h"
#include "imconfig.h"
#include "imgui_internal.h"
#include "imgui_impl_sdl2.h"
#include "imgui_impl_vulkan.h"
//Forward declarations
class App;
class MouseButtonEvent;
class MouseMovedEvent;
class MouseScrolledEvent;
class KeyEvent;
class KeyTypedEvent;
class WindowEvent;
class Layer;

0
window/glfwWindow.cpp Normal file → Executable file
View File

0
window/glfwWindow.h Normal file → Executable file
View File

0
window/sdl2Window.cpp Normal file → Executable file
View File

0
window/sdl2Window.h Normal file → Executable file
View File

0
window/window.cpp Normal file → Executable file
View File

2
window/window.h Normal file → Executable file
View File

@@ -1,6 +1,6 @@
#pragma once
#include "terminal.h"
#include "engine.h"
#include "event.h"
#include "mouseEvent.h"