Update of /cvsroot/netrek/client/netrekxp/include In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5643/include Modified Files: defs.h Log Message: Added headingTic functionality. A white tic is drawn at some distance from your ship, indicating your heading. A smaller tic is drawn indicating your desired heading, or in the case that you are locked onto a target, indicating the direction to that target. Previously unused p_desdir variable now being used for these calculations. This smaller tic is white, except for the case of player/planet lock, in which case the tic is green. Index: defs.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/defs.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- defs.h 15 Mar 2007 15:39:26 -0000 1.14 +++ defs.h 15 Mar 2007 20:49:33 -0000 1.15 @@ -46,6 +46,10 @@ * engage/disengage */ #define NUMRANKS 9 #define PUCKARROW_LEN 6 +#define TIC_DIST 5000 /* distance from ship to draw + * heading tic mark */ +#define TIC_LEN 20 /* for current heading */ +#define DESIRED_TIC_LEN 10 /* for desired heading */ /* These are configuration definitions */