Commit graph

7 commits

Author SHA1 Message Date
Light
ffc29bec77 Maintenance
- Removed change log (was horrible idea D:)
- Fixed some premake mistakes
- Fixed a typo
- Enabled MultiProcessorCompile for windows builds
2021-07-23 11:22:01 +04:30
Light
0d28451010 premake5
- Moved premake5 Windows builds to BuildScripts/Windows
- Renamed premake5.lua files build.lua
2021-07-23 10:33:51 +04:30
Light
9701b08cc3 Maintenance
- ImGui ini file handling and .gitignore
- Minor maintenance
2021-07-23 10:11:20 +04:30
Light
aac2c51bd5 Input
- Added 'Input'
- Added <InputCodes>
- The 'MirrorLayer''s ImGuiWindow, "GameView" will not receive/react to
      input events if the window is not focused
2021-07-21 20:03:39 +04:30
Light
43b2f72ded Layer Improvements
- Added 'Layer::OnEvent()', 'Layer' now handles an event by itself and
      doesn't need another class to determine the event's type
- Added reverse iterators 'rend()' and 'rbegin()' to 'LayerStack'

- Removed 'LayerStack::On*()', 'LayerStack' is meant to be a data
      structure for the layers,

- 'Layer::On*Event()' are now protected and called by 'Layer::OnEvent()'

- 'Application' now handles iterating through the 'Layer's
      and calling the update/on* functions

- Fixed a typo where in 'Mirror' where the name of the 'MirrorLayer' was
      "SandboxLayer" instead of "MirrorLayer"
2021-07-21 15:14:22 +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
0b19b1aa30 Mirror
- Added Mirror:
      Mirror is the LightEngine's editor >w< (cuz it reflects light uwu)
2021-07-15 15:56:30 +04:30