├── .gitignore ├── .gitmodules ├── .travis.yml ├── CHANGELOG.md ├── CMakeLists.txt ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── cmake └── Modules │ ├── FindSFML.cmake │ └── Findanax.cmake ├── doc └── Doxyfile.in ├── examples ├── 1 Rendering │ ├── Game.cpp │ ├── Game.hpp │ ├── README.md │ ├── main.cpp │ └── screenshot.png ├── 2 Animation │ ├── CMakeLists.txt │ ├── Game.cpp │ ├── Game.hpp │ ├── README.md │ ├── animation.gif │ └── main.cpp ├── 3 Movement │ ├── Game.cpp │ ├── Game.hpp │ ├── README.md │ ├── main.cpp │ └── movement.gif ├── 4 Collision │ ├── Game.cpp │ ├── Game.hpp │ └── main.cpp ├── CMakeLists.txt ├── README.md ├── common │ ├── README.md │ ├── include │ │ ├── BaseGame.hpp │ │ ├── Components │ │ │ ├── AnimationComponent.hpp │ │ │ ├── CollisionComponent.hpp │ │ │ ├── PlayerComponent.hpp │ │ │ ├── SpriteComponent.hpp │ │ │ ├── TransformComponent.hpp │ │ │ └── VelocityComponent.hpp │ │ ├── RunGame.hpp │ │ └── Systems │ │ │ ├── AnimationSystem.hpp │ │ │ ├── CollisionSystem.hpp │ │ │ ├── MovementSystem.hpp │ │ │ ├── PlayerInputSystem.hpp │ │ │ └── SpriteRenderingSystem.hpp │ └── src │ │ ├── Components │ │ └── AnimationComponent.cpp │ │ └── Systems │ │ ├── AnimationSystem.cpp │ │ ├── CollisionSystem.cpp │ │ ├── MovementSystem.cpp │ │ ├── PlayerInputSystem.cpp │ │ └── SpriteRenderingSystem.cpp └── resources │ ├── meta │ └── playerSpriteSheetFrames.txt │ └── textures │ ├── playerSpriteSheet.png │ └── wall.png ├── include └── anax │ ├── Component.hpp │ ├── Config.hpp.inl │ ├── Entity.hpp │ ├── FilterOptions.hpp │ ├── System.hpp │ ├── World.hpp │ ├── anax.hpp │ ├── detail │ ├── AnaxAssert.hpp │ ├── BaseSystem.hpp │ ├── ClassTypeId.hpp │ ├── ComponentTypeList.hpp │ ├── EntityComponentStorage.hpp │ ├── EntityIdPool.hpp │ └── Filter.hpp │ └── util │ └── ContainerUtils.hpp ├── src └── anax │ ├── Entity.cpp │ ├── World.cpp │ └── detail │ ├── BaseSystem.cpp │ ├── EntityComponentStorage.cpp │ ├── EntityIdPool.cpp │ └── Filter.cpp └── tests ├── CMakeLists.txt ├── Components.hpp ├── Systems.hpp ├── Test_ClassTypeId.cpp ├── Test_ComponentFilter.cpp ├── Test_Entities.cpp └── Test_Systems.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | include/anax/config.hpp 3 | build/* 4 | *swp 5 | .ycm_extra_conf* 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/README.md -------------------------------------------------------------------------------- /cmake/Modules/FindSFML.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/cmake/Modules/FindSFML.cmake -------------------------------------------------------------------------------- /cmake/Modules/Findanax.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/cmake/Modules/Findanax.cmake -------------------------------------------------------------------------------- /doc/Doxyfile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/doc/Doxyfile.in -------------------------------------------------------------------------------- /examples/1 Rendering/Game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/1 Rendering/Game.cpp -------------------------------------------------------------------------------- /examples/1 Rendering/Game.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/1 Rendering/Game.hpp -------------------------------------------------------------------------------- /examples/1 Rendering/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/1 Rendering/README.md -------------------------------------------------------------------------------- /examples/1 Rendering/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/1 Rendering/main.cpp -------------------------------------------------------------------------------- /examples/1 Rendering/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/1 Rendering/screenshot.png -------------------------------------------------------------------------------- /examples/2 Animation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/2 Animation/Game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/2 Animation/Game.cpp -------------------------------------------------------------------------------- /examples/2 Animation/Game.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/2 Animation/Game.hpp -------------------------------------------------------------------------------- /examples/2 Animation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/2 Animation/README.md -------------------------------------------------------------------------------- /examples/2 Animation/animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/2 Animation/animation.gif -------------------------------------------------------------------------------- /examples/2 Animation/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/2 Animation/main.cpp -------------------------------------------------------------------------------- /examples/3 Movement/Game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/3 Movement/Game.cpp -------------------------------------------------------------------------------- /examples/3 Movement/Game.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/3 Movement/Game.hpp -------------------------------------------------------------------------------- /examples/3 Movement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/3 Movement/README.md -------------------------------------------------------------------------------- /examples/3 Movement/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/3 Movement/main.cpp -------------------------------------------------------------------------------- /examples/3 Movement/movement.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/3 Movement/movement.gif -------------------------------------------------------------------------------- /examples/4 Collision/Game.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/4 Collision/Game.cpp -------------------------------------------------------------------------------- /examples/4 Collision/Game.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/4 Collision/Game.hpp -------------------------------------------------------------------------------- /examples/4 Collision/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/4 Collision/main.cpp -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/common/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/README.md -------------------------------------------------------------------------------- /examples/common/include/BaseGame.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/BaseGame.hpp -------------------------------------------------------------------------------- /examples/common/include/Components/AnimationComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Components/AnimationComponent.hpp -------------------------------------------------------------------------------- /examples/common/include/Components/CollisionComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Components/CollisionComponent.hpp -------------------------------------------------------------------------------- /examples/common/include/Components/PlayerComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Components/PlayerComponent.hpp -------------------------------------------------------------------------------- /examples/common/include/Components/SpriteComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Components/SpriteComponent.hpp -------------------------------------------------------------------------------- /examples/common/include/Components/TransformComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Components/TransformComponent.hpp -------------------------------------------------------------------------------- /examples/common/include/Components/VelocityComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Components/VelocityComponent.hpp -------------------------------------------------------------------------------- /examples/common/include/RunGame.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/RunGame.hpp -------------------------------------------------------------------------------- /examples/common/include/Systems/AnimationSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Systems/AnimationSystem.hpp -------------------------------------------------------------------------------- /examples/common/include/Systems/CollisionSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Systems/CollisionSystem.hpp -------------------------------------------------------------------------------- /examples/common/include/Systems/MovementSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Systems/MovementSystem.hpp -------------------------------------------------------------------------------- /examples/common/include/Systems/PlayerInputSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Systems/PlayerInputSystem.hpp -------------------------------------------------------------------------------- /examples/common/include/Systems/SpriteRenderingSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/include/Systems/SpriteRenderingSystem.hpp -------------------------------------------------------------------------------- /examples/common/src/Components/AnimationComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/src/Components/AnimationComponent.cpp -------------------------------------------------------------------------------- /examples/common/src/Systems/AnimationSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/src/Systems/AnimationSystem.cpp -------------------------------------------------------------------------------- /examples/common/src/Systems/CollisionSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/src/Systems/CollisionSystem.cpp -------------------------------------------------------------------------------- /examples/common/src/Systems/MovementSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/src/Systems/MovementSystem.cpp -------------------------------------------------------------------------------- /examples/common/src/Systems/PlayerInputSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/src/Systems/PlayerInputSystem.cpp -------------------------------------------------------------------------------- /examples/common/src/Systems/SpriteRenderingSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/common/src/Systems/SpriteRenderingSystem.cpp -------------------------------------------------------------------------------- /examples/resources/meta/playerSpriteSheetFrames.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/resources/meta/playerSpriteSheetFrames.txt -------------------------------------------------------------------------------- /examples/resources/textures/playerSpriteSheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/resources/textures/playerSpriteSheet.png -------------------------------------------------------------------------------- /examples/resources/textures/wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/examples/resources/textures/wall.png -------------------------------------------------------------------------------- /include/anax/Component.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/Component.hpp -------------------------------------------------------------------------------- /include/anax/Config.hpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/Config.hpp.inl -------------------------------------------------------------------------------- /include/anax/Entity.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/Entity.hpp -------------------------------------------------------------------------------- /include/anax/FilterOptions.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/FilterOptions.hpp -------------------------------------------------------------------------------- /include/anax/System.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/System.hpp -------------------------------------------------------------------------------- /include/anax/World.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/World.hpp -------------------------------------------------------------------------------- /include/anax/anax.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/anax.hpp -------------------------------------------------------------------------------- /include/anax/detail/AnaxAssert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/AnaxAssert.hpp -------------------------------------------------------------------------------- /include/anax/detail/BaseSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/BaseSystem.hpp -------------------------------------------------------------------------------- /include/anax/detail/ClassTypeId.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/ClassTypeId.hpp -------------------------------------------------------------------------------- /include/anax/detail/ComponentTypeList.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/ComponentTypeList.hpp -------------------------------------------------------------------------------- /include/anax/detail/EntityComponentStorage.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/EntityComponentStorage.hpp -------------------------------------------------------------------------------- /include/anax/detail/EntityIdPool.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/EntityIdPool.hpp -------------------------------------------------------------------------------- /include/anax/detail/Filter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/detail/Filter.hpp -------------------------------------------------------------------------------- /include/anax/util/ContainerUtils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/include/anax/util/ContainerUtils.hpp -------------------------------------------------------------------------------- /src/anax/Entity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/src/anax/Entity.cpp -------------------------------------------------------------------------------- /src/anax/World.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/src/anax/World.cpp -------------------------------------------------------------------------------- /src/anax/detail/BaseSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/src/anax/detail/BaseSystem.cpp -------------------------------------------------------------------------------- /src/anax/detail/EntityComponentStorage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/src/anax/detail/EntityComponentStorage.cpp -------------------------------------------------------------------------------- /src/anax/detail/EntityIdPool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/src/anax/detail/EntityIdPool.cpp -------------------------------------------------------------------------------- /src/anax/detail/Filter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/src/anax/detail/Filter.cpp -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/Components.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/Components.hpp -------------------------------------------------------------------------------- /tests/Systems.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/Systems.hpp -------------------------------------------------------------------------------- /tests/Test_ClassTypeId.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/Test_ClassTypeId.cpp -------------------------------------------------------------------------------- /tests/Test_ComponentFilter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/Test_ComponentFilter.cpp -------------------------------------------------------------------------------- /tests/Test_Entities.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/Test_Entities.cpp -------------------------------------------------------------------------------- /tests/Test_Systems.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miguelmartin75/anax/HEAD/tests/Test_Systems.cpp --------------------------------------------------------------------------------