Age | Commit message (Collapse) | Author |
|
|
|
* Rakefile: Add subfolders to the lib directory.
* lib/animation/discrete.rb: Create a class for discrete animations.
This class needs tests.
* lib/animation/frame_2d.rb: Create a 2D frame to be used with discrete
animations
|
|
* lib/menu.rb: Uses the new interface for Sprite.
* src/sprite.cpp (Sprite#new, Sprite#draw): By requiring a Vector4D as
an argument, sometimes the code calling a Sprite method needs to
instantiate a Vector4D and use the stance once. The functions now
require four float variables to eliminate this unnecessary
instantiation.
|
|
|
|
This is a partial refactory. Some functionalities implemented in
SDL were removed and need reimplementation.
|
|
|
|
|
|
|