Author: muggenhor Date: Wed Apr 16 02:01:41 2008 New Revision: 4652 URL: http://svn.gna.org/viewcvs/warzone?rev=4652&view=rev Log: * Formations work purely, and only with DROIDs, so rather than casting back and forth to BASE_OBJECT* pointers, just stick to using DROID* pointers only * Huge simplification due to not needing to handle other derivatives of BASE_OBJECT than DROID anymore (also a huge reduction in the amount of casting) * Don't check whether a DROID has -> type == OBJ_DROID anymore (fpath.c left-over)
Modified: trunk/src/action.c trunk/src/droid.c trunk/src/formation.c trunk/src/formation.h trunk/src/formationdef.h trunk/src/fpath.c trunk/src/game.c trunk/src/move.c trunk/src/order.c _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits