Age | Commit message (Collapse) | Author |
|
-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
|
|
|
|
-creatures now randomize target better again
-thats enough for today, src is still a mess and main can be cleaned a bit
|
|
-removed unused shader
-cleaned up main and window
|
|
|
|
-made opengl and sdl folders in includes, moved various *hpps to them
|
|
our own class rectangle
-standardization of tab spaces to 8 is now in effect
-refractoring of graphicsobjects.hpp
|
|
-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
|
|
|
|
|
|
-just using = for + since there is no difference
|
|
-added speed increasing, but right now it is on arrow keys due to sdl errors with + and -, eventually the arrow keys will be used to pan the camera, and speed will be done with a graphic and the + and - keys
|
|
-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
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
need to figure out how to generate more random numbers
after - implement resource amount and ability to eat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|