Commit graph

121 commits

Author SHA1 Message Date
Light
0c06164509 Major Changes
- Moved every resource files to the <Assets/> directory
- We now use the argc, argv, from main so the Engine responds if a scene file is
      opened by it
- Fixed relative paths <../../> problem, now we use the <Asets/> path
2021-10-08 22:59:47 +03:30
Light
102dec99e0 ltpch
- Added target_precompile_headers to CMakeLists
- Removed #include "ltpch.h" from every .cpp file
2021-10-07 14:51:17 +03:30
Light
924875d12e Fixed Serializer
- Fixed Serializer skipping entities with id 0
- EditorLayer now serializes the scene upon destruction
2021-10-07 03:26:36 +03:30
Light
8447e5dab2 UUID
- Added UUID
- Fixed SceneSerializer texture de-serialization with a temporary solution
- Added GetEntityByTag to Scene
- Added 'editorlayer.yaml' as a Scene to the Mirror project
- EditorLayer no longer generates entities, rather it loads them from 'editorlayer.yaml'
2021-10-07 01:13:18 +03:30
Light
74a6035c32 Scene Serialization
- Scenes can now be serialized and de-serialized into .yaml files
- Added yaml-cpp as Dependency
2021-10-05 13:44:32 +03:30
Light
a58d3a75d3 Marked Singleton classes 2021-10-05 06:54:08 +03:30
Light
33b28acd7b FileManager
- Added File utilities
     * 'FileManager'
     * 'BasicFileHandle'
     * 'ImageFileHandle'
- Moved 'ResourceManager' from 'GraphicsContext' to  'Application'
- Added static 'Quit' function to 'Application'
2021-10-02 08:51:54 +03:30
Light
b24c94a718 Fixed Windows 2021-09-24 17:20:19 +03:30
Light3039
c12f97feb7 Fixed Linux 2021-09-23 11:20:57 +03:30
Steve Gremory
dc3650e118 Fixed CMake issues on linux, compile to test. 2021-09-20 12:13:03 +05:30
Light
c50b37d87f Added Post Build Command
- Added post build command to Engine's CMakeLists to copy over the
     shader conductor's .dll file
2021-09-13 16:08:21 +04:30
Light
eb00566953 Implemented ShaderConductor into Shaders
- glShader now uses ShaderConductor and compiles from .hlsl files
- Added Shader::Stage enum
- Removed .glsl files
- Improvements to CMakeLists files
- Maintenance
2021-09-13 12:17:26 +04:30
Light
32341d184c Minor Changes 2021-09-11 11:29:44 +04:30
Light
ed486713d0 Converted from premake5 to CMake 2021-09-09 19:46:02 +04:30
Light
28eb805520 Added shaderc 2021-08-22 16:02:05 +04:30
Light
0080f6837c Improved Build Files 2021-08-21 15:53:36 +04:30
Light
32df2e01c6 Math
- Added Math namespace
- Added Rand functions
- Maintenance
2021-08-16 16:21:03 +04:30
Light
7ec9690f52 Maintenance
- Mirror project maintenance and tidying
- General maintenance
2021-08-14 16:17:33 +04:30
Light
e02a4850e0 UserInterface Maintenance 2021-08-11 17:40:01 +04:30
Light
73492dc415 UserInterface Style
- UserInterface is now beautiful >_<
2021-08-10 17:10:16 +04:30
Light
1afc1a00a5 OpenSans
- Added OpenSans font as default ImGui font
2021-08-10 11:46:13 +04:30
Light
b39518c74c DrawComponeent, RemoveComponent
- Added DrawComponent to PropertiesPanel
- Added RemoveComponet to Entity

- Maintenance
2021-08-10 11:45:35 +04:30
Light
0f9a8ff95e Update TransformComponent
- TransformComponent now holds translation, rotation and scale instead of transform
2021-08-07 19:04:38 +04:30
Light
0e31de13b9 Update glGraphicsContext.cpp
- OpenGL debug messages now ignore source: api, type: other, id: 131185
2021-08-07 19:03:03 +04:30
Light
68ef93bd9a Force use Dedicated Graphics
- Windows builds now use dedicated graphics
2021-08-07 16:39:42 +04:30
Light
6c630a269a Fixed FlushScene
- Fixed FlushScene defaulting the frame buffer by calling EndScene
2021-08-06 08:05:06 +04:30
Light
cc41ce24d5 Fixed glVertexBuffer
- Fixed glVertexBuffer multiplying count by size of float instead of stride
      * = Fixed TintedTexture for OpenGL
2021-08-06 07:44:48 +04:30
Light
367bce3596 TintedTextureRendererProgram
- I want to die, please just kill me and end my fucking suffering....
2021-08-05 21:24:20 +04:30
Light3039
f46cf23550 Linux fix 2021-08-03 17:34:45 +04:30
Light
06c728644f SceneCamera Properties
- PropertiesPanel now support SceneCamera component
- Added perspective support to SceneCamera
2021-08-02 12:18:00 +04:30
Light
54c195dae0 PropertiesPanel
- Added PropertiesPanel
2021-08-01 16:55:26 +04:30
Light
0c8b26360a New Events, Fixes
- Added SetCharEvent
- Added KeyRepeatEVent
- Fixed ImGui not picking keys from io.KeyMap because it gets assigned to VK_**
      keys from windows after ImGui_ImplWin32_Init call, had to re-assign them back
      to Key::** (glfw key codes)...
- Removed UserInterface::OnInput
- Maintenance
2021-08-01 16:43:59 +04:30
Light
42f26ac59e Maintenance
- Added LIGHT_OPENGL_ENABLE_SHADER_INFO_LOG to config.h
- Some maintenance
2021-08-01 11:57:51 +04:30
Light
fb4ba5c8bc SceneHierarchyPanel
- Added Panel
- Added SceneHierarchyPanel
2021-07-31 11:03:31 +04:30
Light
8367150145 TagComponent
- Added TagComponent
2021-07-31 11:02:59 +04:30
Light
c846e48c71 NativeScript, NativeScriptComponent
- Added NativeScript
- Added NativeScriptComponent
- Minor changes to clearing back buffer's color
2021-07-31 09:37:09 +04:30
Light
aab0c7b958 CameraComponent, SceneCamera
- Added CameraComponent
- Added SceneCamera
- Renamed the previous Camera to OrthographicCamera
- Added Camera
- Renderer now takes a Camera* for projection and mat4& for view
- Scene::OnRender now takes in an optional Framebuffer to render to
- Minor tidying
2021-07-30 14:40:34 +04:30
Light
98184d358f DrawQuad Transform
- DraqQuadImpl functions now call a non-static DrawQuadFinal function with a mat4
      transform matrix
2021-07-30 12:49:48 +04:30
Light
931a3a168c Components Folder
- Created a header file for each component inside a Components folder
- Fixed entt::entity's default value being entt::entity() to entt::null
- Minor tidying for DebugTrap
2021-07-30 11:20:52 +04:30
Light
9033ceffa1 Major changes
- Major maintenance
2021-07-29 17:12:13 +04:30
Light
ec8669d3fe VertexLayout
- Added Byte and UByte types to VertexLayout
- Changed sizeof(int/float...) to sizeof(GLint, GLfloat...) in glVertexLayout
2021-07-29 09:16:30 +04:30
Light
40355ebfc2 Minor changes
- Minor fixes
- Minor maintenance
2021-07-27 11:32:01 +04:30
Light
c34f5e03f0 KeyCodes, MouseCodes
- Added nameless enums for KeyCodes and MouseCodes
- Removed InputCodes
2021-07-26 12:34:35 +04:30
Light
55869f6106 Ref, Scope
- Changed all std::unique_ptr/shared_ptr stuff to use Ref/Scope
- Fixed the Logger.h include in Base.h problem
2021-07-26 11:43:37 +04:30
Light
0360d094d2 Ref. Scope
- Added Ref<T> and Scope<T> types to replace the std::shared_ptr<T> and
      std::unique_ptr<T>, currently it is being used as an alias
2021-07-26 10:00:29 +04:30
Light
8287b89fad Scene System
- Added Scene
- Added Entity
- Added Components
      * TransformComponent
      * SpriteRendererComponent

- Minor fixes
2021-07-25 17:50:08 +04:30
Light
b54afb6046 Added EnTT
- Added EnTT
- Minor maintenance and fixes
2021-07-24 13:54:50 +04:30
Light
4abde46290 Camera ClearColor
- Camera now has a clear color
- The backbuffer is now cleared using the currently bound camera's
      clear color
2021-07-24 10:00:15 +04:30
Light
2121e0ea16 stb_image Project
- stb_image is now built inside a project as a static library
2021-07-23 15:03:47 +04:30
Light
42d58089d9 Removed ddxgidebug.dll 2021-07-23 12:51:39 +04:30