Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
61 views

Array element reference being set to partially incorrect memory address and data

I am at the point in the custom ECS I'm making where I am trying to retrieve components I've stored. The issue is when I try to access the array element as a reference it ends up having a memory ...
RataEE's user avatar
  • 1
0 votes
2 answers
111 views

Pointer to Struct Value Memory Leak

I am designing an ECS and I have a struct that holds two values: an array of integers and a double pointer. I also have another structure that holds a pointer to the previous struct. I'm able to ...
PB020's user avatar
  • 45
0 votes
0 answers
248 views

C++ make_unique() changing member attributes' values

I am developing a small game in SDL2 and am in the process of implementing a Quadtree for collision detection in the ECS I have written. The structure of my Quadtree class is similar to this one and ...
Nick Román's user avatar
0 votes
1 answer
2k views

Separating Systems from the ECS (Entity Component System) Manager in C++

I am currently making an Entity-Component-System program as a way to learn C++ (I know that's probably not the recommended way but I'm having fun). It's going well so far but I am hoping to make some ...
TheShouting's user avatar