[m-dev.] Still more changes to gwars
Thomas Charles CONWAY
conway at cs.mu.oz.au
Wed Feb 19 11:16:19 AEDT 1997
> Thomas,
> Here are a couple of changes to gwars, for your reviewing.
>
> Added a "PlayerPlanetSeparation" global variable, which defines the minimum
> distance between a player and a planet.
> Changed the create_ships function, to decrease the player separation
> if gwars was having trouble fitting all the players on the screen.
> Added a "MinimumPlayerSeparation" global, so that players cant end up too
> close
>
> gwars/gwars.m:
> Added MinimumPlayerSeparation and PlayerPlanetSeparation global
> variables
>
> gwars/objects.m:
> Changed create_planets, create_intersecting, and create_ships so
> that they use the new variables
>
This change looks fine, but you added comments!
(can't be having that - documented source code, tsk tsk ;-)
Thomas
--
Thomas Conway conway at cs.mu.oz.au
AD DEUM ET VINUM Every sword has two edges.
More information about the developers
mailing list