Author: devurandom
Date: Thu Jun 12 14:20:20 2008
New Revision: 5244

URL: http://svn.gna.org/viewcvs/warzone?rev=5244&view=rev
Log:
Cleanup raycasting

Make parameter to RAY_CALLBACK void* instead of PROPULSION_TYPE.
- Often it was not interpreted anyway, and in the single case where it is used 
a PROPULSION_TYPE* is now passed.
- Allows more generic raycasting with less globals to keep state. (Not used 
currently, all globals remain in use.)
Cleanup rayPointsToAngle and add Vector3f wrapper.
Fix an occasion where magic 360 was used instead of NUM_RAYS.

Modified:
    trunk/src/astar.c
    trunk/src/fpath.c
    trunk/src/raycast.c
    trunk/src/raycast.h
    trunk/src/visibility.c
    trunk/src/visibility.h


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

Reply via email to