summaryrefslogtreecommitdiff
path: root/inc/resource.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-began refractoring srcmajortom6
-reduced area creatures and resources spawn -everything should be on 8 spaces now -reorganized creatures action function to make more logical sense -stripped out unused parts of geoshader and spritebatch
2017-03-07-refractoring of includesmajortom6
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-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-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-02commiting before refractoring type out of location and into entitytom
2016-05-02spring cleaningtom
2015-05-26revamped the list and creaturesTom
two bugs i can see right now -somehow when a resource has less than 0 amount it still sticks around (somewhat rare) -some creatures just bounce back and forth until they die not getting to their target
2015-05-08added removal of resources once eaten, from the L and R vectortom
creatures that done move don't die right now, we need them to wander if they dont have a priority **difficult**
2015-05-08all creatures should die now, and leave a body which is a resource.Tom Barrett
they currently don't have a way to gain health so they live short sad lives. haven't compiled or tested, so more work needs to be done
2015-05-07Some variable names changed and many comments made so I understand what the ↵dakjos
fuck is going on
2015-05-05fleshed out list, locations of all creatures and resources are now withintom
2015-05-02fixed in file namingtom
2015-05-02renamed so atom detects it is a cpp file :xtom