| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The "--editor" flag can be passed to the program to start it in editor mode, which is currently nothing. The Renderer class was removed here, as each state basically needs to do its own rendering. However, refactoring to make this more elegant will probably occur in the future.
|
| |
|
|
|
|
| |
There aren't going to be enough entities at once for position checking to ever really be a bottleneck, I don't think. Removing the caches makes the range logic a bit more intuitive, and it removes the possibility of accidentally not updating a cache when it needs to be.
|
| |
|
|
|
|
| |
Small implementation changes in various places, biggest thing is now we're using ranges, which is experimental and will be included for real in C++20.
|
|
|
|
|
|
|
|
|
|
| |
Scheduled entities move downward every beat, although they have a speed that is twice the bpm, so essentially they move every other beat?
Broke the simulation loop such that different parts run independently -- made it horizontal rather than vertical.
Encapsulated the grid cache so that more than one position field could be cached. This is used to make sure that an entity can't move into a space that something else is already moving into.
Fixed issue where an entity could move perpendicularly into the space an entity was moving out of.
|
| |
|
| |
|
|
|