summary refs log tree commit diff stats
path: root/src/entity_manager.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactored rendererKelly Rauchenberger2018-02-161-1/+1
| | | | | | Renderer is basically now more C++'y, as it makes more use of classes (a lot of GL types have been wrapped), and the renderer itself is now a class. The monitor mesh is also now indexed. Tweaked the NTSC artifacting after inadvertently fixing a bug with the way the image was loaded.
* Implemented map rendering and basic collisionKelly Rauchenberger2018-02-111-3/+17
| | | | Only wall and platform collision currently works, and map edges are not currently implemented.
* Changed EntityManager to dense vectorKelly Rauchenberger2018-02-071-95/+140
| | | | | | | | This should improve speed, because entity lookup will be O(1) instead of O(log n). Deletion is also O(1). Insert stays at potentially O(n), but still should be overall faster than the previous method. Also replaced some asserts with exceptions. Also made Component polymorphic so that deletion actually works properly.
* Whitespace changesKelly Rauchenberger2018-02-051-32/+32
|
* Now displaying player characterKelly Rauchenberger2015-06-181-148/+21
|
* Wrote EntityManagerKelly Rauchenberger2015-06-111-0/+279