Author: muggenhor
Date: Tue Oct 14 22:25:41 2008
New Revision: 6157
URL: http://svn.gna.org/viewcvs/warzone?rev=6157&view=rev
Log:
dirtyHypot() cleanup:
* Implement hypot() and hypotf() on non-C99 systems
* Wherever the parameters to dirtyHypot() are signed: use hypotf() instead
* Move some variables in to a more local scope
* Merge the conditions of some nested if-statements
* Get rid of some stupidly named variables (tempx and tempy are ''not'' good
variable names, the names should indicate ''what'' the variables contain, not
for how long)
* Remove some unnecessary casting between float and [SU]DWORD
Modified:
trunk/lib/framework/math-help.h
trunk/src/aiexperience.c
trunk/src/scriptfuncs.c
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits