Author: muggenhor
Date: Mon Feb 23 02:26:18 2009
New Revision: 6714

URL: http://svn.gna.org/viewcvs/warzone?rev=6714&view=rev
Log:
aiexperience:
 * Make functions not used outside of aiexperience.c static
 * Remove unused functions
 * Compose paths using sasprintf instead of nasty string manipulation with 
sstrcpy and sstrcat
 * Some general clean up to increase code readability
 * Move some variables into the most local scope where they where used
 * Use a for-loop instead of a while loop and put all the looping logic in the 
for () statement
 * Reduce several series (in functions CanRememberPlayer\w+Loc) of 
if-statements to a single logic statement with logical ands

Modified:
    trunk/src/aiexperience.c
    trunk/src/aiexperience.h


_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits

Reply via email to