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

Feat/ecs/bullet systems #43

Merged
merged 38 commits into from
Oct 13, 2022
Merged

Feat/ecs/bullet systems #43

merged 38 commits into from
Oct 13, 2022

Conversation

aurelenc
Copy link
Member

@aurelenc aurelenc commented Oct 4, 2022

Add shoot systems

  • shoot from client and manage bullets in server
  • weapon class
  • keep shooting while the space bar is pressed

  • crossplatform paths
  • map size

Copy link
Contributor

@Cavonstavant Cavonstavant left a comment

Choose a reason for hiding this comment

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

minor changes needed. Everythings okay otherwise

CMakeLists.txt Outdated
Comment on lines 39 to 40
if (CLIENT_COMPILATION_MODE)
add_compile_definitions(CLIENT_COMPILATION_MODE)
Copy link
Contributor

Choose a reason for hiding this comment

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

For future use

Use target_compile_definition() in order to set CLIENT_MODE only for the client target

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

why not add_compile_definitions only on the client's cmakelists ? @Cavonstavant

Copy link
Member Author

Choose a reason for hiding this comment

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

demo will probably be deleted once the game is successfully networked

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@Cavonstavant Cavonstavant Oct 12, 2022

Choose a reason for hiding this comment

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

@aurelenc Yes ofc. We can use target_compile_definitions() to add a def. to specific target

src/ecs/World.hpp Outdated Show resolved Hide resolved
Copy link
Contributor

@Bootoyka Bootoyka left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@Cavonstavant Cavonstavant left a comment

Choose a reason for hiding this comment

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

Ok

Copy link
Contributor

@Bootoyka Bootoyka left a comment

Choose a reason for hiding this comment

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

lgtm

@Bootoyka
Copy link
Contributor

Good progress

@Bootoyka Bootoyka closed this Oct 13, 2022
@Bootoyka Bootoyka reopened this Oct 13, 2022
@Bootoyka Bootoyka merged commit 0aab759 into main Oct 13, 2022
@Bootoyka Bootoyka deleted the feat/ecs/bullet-systems branch October 13, 2022 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants