Skip to content

The great refactor - #5

Draft
shreyaspranav wants to merge 19 commits into
XenodeStudio:devfrom
shreyaspranav:the-great-refactor
Draft

shreyaspranav wants to merge 19 commits into
XenodeStudio:devfrom
shreyaspranav:the-great-refactor

Conversation

@shreyaspranav

Copy link
Copy Markdown
Collaborator

Pull Request Title

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Documentation update
  • Other (please specify):

Changes Made

  • Change 1
  • Change 2
  • Change 3

Screenshots (if applicable)

How to Test

  1. Step 1
  2. Step 2
  3. Step 3

Checklist

  • I have tested the changes locally.
  • I have added/updated relevant documentation.
  • I have reviewed my code and it follows the project’s coding standards.
  • I have included unit tests, if applicable.
  • I have tested the functionality with edge cases, if applicable.

Additional Notes

Added issue templates for Bug Report and Feature Request
…lays the assets properly)

The Basic Working of the Asset System along with the content browser panel is almost done with few touches
remaining such as the drag drop thing for the content browser panel and support for other asset types.
…mpiler implementation

- The shaders are now compiled in shaderc and then cross compiled to graphics api specific binary
- The shaders are assets, and will be loaded by the asset manager
…d generate thumbnails in the Content Browser Panel

- Added functionality to import scenes as assets.
- Generates the preview of the scene as the thumbnail and displays in the Content Browser Panel.
	- Implemented a function to copy a texture from one texture object to another for this feature.
… physics colliders during startup

- Fixed a memory leak of the userData member in AssetMetadata
- Addressed a few 'not all code paths return a value' warnings
- Disabled the 'visualize physics colliders' option during startup
…for textures

- The texture assets are downsampled and copied to be used as a thumbnail
- Removed the old ScreenRenderer implementation and replaced with Renderer2D::RenderTextureToFramebuffer(...)
…ing asset metadata registries

When assets gets imported for the first time, the engine imports it and the asset's metadata are serialized, when the asset
is imported again, it looks for the asset handle in the serialized file and uses that instead. Therefore an asset once imported
will have the same handle throughout its life.
…and scenes are now drag droppable

- Scenes hold asset handles for textures instead of relative file paths
- Textures and scenes can be dragged and dropped to the viewport from the Content Browser Panel
…isc changes based on the architecture improvement
- Added premake as a submodule and the binary is built using a batch script
- Added batch scripts to build premake, the project and other helper stuff
- Implemented vscode premake action to generate tasks.json and launch.json and clean premake task to
clean binary files and generated project files
- The debugging and build experience in VSCode is fairly good:
	- Uses clangd as the LSP
	- premake generates compile_commands.json which clangd uses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant