Commit graph

14 commits

Author SHA1 Message Date
Light
dcedb1799c Style: Rename LT_* Log macros to LOG 2022-03-07 21:57:00 +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
ed486713d0 Converted from premake5 to CMake 2021-09-09 19:46:02 +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
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
9033ceffa1 Major changes
- Major maintenance
2021-07-29 17:12:13 +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
9701b08cc3 Maintenance
- ImGui ini file handling and .gitignore
- Minor maintenance
2021-07-23 10:11:20 +04:30
Light
2061abadd8 Framebuffer resizing
- Added 'Camera::OnResize()' for keeping the aspect ratio updated to
      prevent streching/squashing the scene

- Added 'FrameBuffe::Resize()'

- Enabled ImGui docking and viewport

- 'MirrorLayer::m_Camera' & 'MirrorLayer::m_Framebuffer' now adjust their properties
      when ImGui's available region changes
2021-07-16 19:59:14 +04:30
Light
2ab97d3863 Major Maintenance
- Major tidying
- Moved 'RendererProgram' classes out of the 'Renderer' class
- Moved 'RenderCommand' member variable out of 'GraphicsContext' and into
       the 'Renderer' class as a unique_ptr. results in 'Renderer' taking a
       windowHandle for construction
- Defined new macros for max quads in 'Renderer.h'
- Added the 'Stringifier' to 'Base.h'
- Added the 'ResourceManager' to the 'LightEngine.h'
- Application now logs the current file directory
- Fixed the forward declaration in GraphicsContext
- Fixed the debug break in Base.h
- Fixed 'dxShader' not logging compile errors
- 'glVertexLayout' now takes in a shared_ptr for 'VertexBuffer'
- 'glShader' now logs the shader compilation errors properly
- 'dxVertexLayout' now takes in a shared_ptr for 'Shader"
- Modified 'dxSharedContext' members to be private and made getters for them
- 'dxRenderCommand::SwapBuffers' now throws dxException for
       DXGI_ERROR_DEVICE_REMOD error
2021-07-01 19:25:46 +04:30
Light
fcfe73923d Major changes
- Major tidying
- Some fixes
-
2021-06-19 15:12:42 +04:30
Light3039
2f560239cb DirectX 2021-06-02 17:20:15 +04:30