summaryrefslogtreecommitdiff
path: root/inc/entity.hpp
AgeCommit message (Collapse)Author
2017-03-07-REMOVED ENTITY, RESOURCE, AND CREATURE !majortom6
-replaced them all with one class, organism (always subject to change) -the dna type now is what differs creatures and resources -removed dead constants -may be a rogue segfault -also weird artifacts start showing if running long
2017-03-07-refractoring of includesmajortom6
2017-03-07-removed glm library, its in the debian reposmajortom6
-made opengl and sdl folders in includes, moved various *hpps to them
2017-03-07-removed all references to sdl_rect and location and now everything now uses ↵majortom6
our own class rectangle -standardization of tab spaces to 8 is now in effect -refractoring of graphicsobjects.hpp
2017-03-07-quadtree and opengl rendering are now in the master branch !iamn1ck
-using sdl_rect for location and size ended up being not so great due to it not having floats, so we reverted back to using location -much, much refractoring is now needed
2017-02-18general refractoringmajortom6
2017-02-12-added DNA combining, currently it just takes the average of the mother and ↵tom
father -there maybe a random segfault, further investigation is needed
2017-01-21-took basic math functions and put it into functions.hpptom
-spaced various lines -reorganized variables by datatype -implemented reproduction -reorganized pathing so once a target is set, the creature checks if that same target is near every cycle
2017-01-19-added entity growingtom
-added bite functionality for creature/resource -added gender (next largest feature is reproduction) -refractored creature setTarget function to make more sense -added constants for starting size of entity and max size of entity -refractored list to make make much more sense -added constants for types
2017-01-14completly remove location structure and replaced it with sdl_recttom
2017-01-11-removed all magic numbers and placed them in a constants headertom
-removed unused libraries and redid all header files
2017-01-10-Replaced images with colored rectanglestom
-Removed various functions and variables pertaining to such images -Started migrating all uses of Location to SDL_Rect (I would preferably completly remove Location.hpp) -Scaled down resolution to 1080x640 (I would like to make these global constants)
2016-05-02implementing better modularity, came into bad bug. All creatures seem to ↵tom
have same near vector.
2016-05-02done refractoring typetom
2016-05-02commiting before refractoring type out of location and into entitytom
2016-05-02implemented the location fully into entitytom
2016-05-02spring cleaningtom
2015-05-07Some variable names changed and many comments made so I understand what the ↵dakjos
fuck is going on
2015-05-02fixed in file namingtom
2015-05-02renamed so atom detects it is a cpp file :xtom