Author: muggenhor
Date: Mon Dec 24 14:57:19 2007
New Revision: 3152

URL: http://svn.gna.org/viewcvs/warzone?rev=3152&view=rev
Log:
 * Remove macros:
  * ROUND: replace by a static inline function (math_round) instead
  * FRACTCONST: this macro just cast both of its arguments to float and then 
divide the first by the second
  * MAKEFRACT_D: this macro would cast to FRACT_D (which was typedef'd as float 
but should have been typedef'd as double); so cast to double instead (where 
required)
  * FRACTmul_D: would cast both of its arguments to FRACT_D and multiply them
  * FRACTdiv_D: would cast both of its arguments to FRACT_D and divide the 
first by the second
  * MAKEINT & MAKEINT_D (where #defined the same); this macro would just cast 
to SDWORD (aka "int" or "signed int")

Modified:
    trunk/lib/framework/fractions.h
    trunk/src/action.c
    trunk/src/advvis.c
    trunk/src/atmos.c
    trunk/src/bucket3d.c
    trunk/src/difficulty.c
    trunk/src/difficulty.h
    trunk/src/display.c
    trunk/src/display3d.c
    trunk/src/droid.c
    trunk/src/effects.c
    trunk/src/effects.h
    trunk/src/environ.c
    trunk/src/environ.h
    trunk/src/formation.c
    trunk/src/keybind.c
    trunk/src/lighting.c
    trunk/src/mission.c
    trunk/src/move.c
    trunk/src/multiplay.c
    trunk/src/optimisepath.c
    trunk/src/optimisepath.h
    trunk/src/projectile.c
    trunk/src/raycast.c
    trunk/src/scores.c
    trunk/src/scriptfuncs.c
    trunk/src/structure.c
    trunk/src/warcam.c


_______________________________________________
Warzone-commits mailing list
Warzone-commits@gna.org
https://mail.gna.org/listinfo/warzone-commits

Reply via email to