Tartarus CVS: gravity2 richard
tartarus-commits-admin@lists.tartarus.org
tartarus-commits-admin@lists.tartarus.org
Mon, 10 Jan 2000 02:41:01 +0000
CVSROOT: /home/cvs
Module name: gravity2
Changes by: richard 00/01/10 02:41:01
Modified files:
src : Makefile.am game.cc graphics_ggi.cc
graphics_ggi.h item.h universe.cc universe.h
Added files:
src : coord.h
Removed files:
src : item_planet.h item_projectile.h
Log message:
Moved Coord declaration into a separate file.
Removed implementation of separate objects by subclassing: we want them
all to have mainly shared characteristics, and we can do a few more
optimisations this way (probably). May revert this at some stage, but
for now it'll keep things cleaner. Use a type field to specify type,
instead.
Added a bit of random colour to planets: just a temporary experiment.
Projectiles are launched with a bit of z velocity, so physics now occurs
in 3D: that seems to be working nicely.