Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏗️ Rendering engine architecture (EPI-70) #13

Merged
merged 25 commits into from
Oct 7, 2024

Conversation

AubaneNourry
Copy link
Collaborator

@AubaneNourry AubaneNourry commented Sep 30, 2024

This pull request includes several enhancements and additions to the graphics-related components of the project. The most important changes involve the addition of a comparison operator to IObject, the introduction of a comprehensive Graphics class, and the creation of an interface for graphics components.

Enhancements to IObject:

Introduction of Graphics class:

  • src/graphics/Graphics.hpp: Introduced a new Graphics class to handle all graphics-related operations, including initializing and managing the SDL window and renderer, rendering objects, and maintaining rendering order based on z-index.

Creation of IGraphicsComponent interface:

  • src/graphics/IGraphicsComponent.hpp: Added a new IGraphicsComponent interface to define the structure and functionality for graphics-related components, ensuring they can be properly managed and rendered.

waiting for:

  • error classes

  • SDL2 installation in CI/CD -> canceled: changed to SFML

@AubaneNourry AubaneNourry added the enhancement New feature or request label Sep 30, 2024
@AubaneNourry AubaneNourry self-assigned this Sep 30, 2024
Copy link

linear bot commented Sep 30, 2024

@AubaneNourry AubaneNourry marked this pull request as ready for review October 1, 2024 16:37
Copy link
Collaborator

@6im0n 6im0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for me !

Copy link
Collaborator

@Marius-P1 Marius-P1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Copy link
Member

@RenardFute RenardFute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me except the "initialize" stuff be I will let you check that part.
I mainly blocking this pr due to #15 not passing for now, open to debate on this.

conanfile.txt Outdated Show resolved Hide resolved
src/common/IObject.hpp Outdated Show resolved Hide resolved
src/graphics/Graphics.hpp Outdated Show resolved Hide resolved
@AubaneNourry AubaneNourry merged commit f926d65 into develop Oct 7, 2024
3 checks passed
@AubaneNourry AubaneNourry deleted the feature/epi-70-rendering-engine-architecture branch October 7, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants