Update of /cvsroot/timewarp/source/ais
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4343/source/ais
Modified Files:
c_wussie.cpp
Log Message:
debugging
Index: c_wussie.cpp
===================================================================
RCS file: /cvsroot/timewarp/source/ais/c_wussie.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** c_wussie.cpp 23 Aug 2005 22:21:16 -0000 1.25
--- c_wussie.cpp 28 Aug 2005 20:30:28 -0000 1.26
***************
*** 19,22 ****
--- 19,23 ----
OPTION_LAST // this must be the last in the line
};
+
/*
#define OPTION_UNKNOWN 0
***************
*** 68,72 ****
double d = 0;
Query q;
! q.begin (ship, OBJECT_LAYERS, ship->size.x + ship->size.y + 200);
for (; q.currento; q.next ())
{
--- 69,73 ----
double d = 0;
Query q;
! q.begin (ship, OBJECT_LAYERS, ship->size.x + ship->size.y + 200, QUERY_OBJECT);
for (; q.currento; q.next ())
{
***************
*** 147,151 ****
double collider_t = 1E6;
! for ( b.begin (¢er_check, OBJECT_LAYERS & ~bit (LAYER_CBODIES) & ~bit (LAYER_SHIPS), check_range); b.current; b.next() )
{
shot = b.currento;
--- 148,152 ----
double collider_t = 1E6;
! for ( b.begin (¢er_check, OBJECT_LAYERS & ~bit (LAYER_CBODIES) & ~bit (LAYER_SHIPS), check_range, QUERY_OBJECT); b.current; b.next() )
{
shot = b.currento;
***************
*** 314,318 ****
}
! for (ap.begin (ship, bit (LAYER_CBODIES), planet_safe[state]);
ap.current; ap.next ())
{
--- 315,319 ----
}
! for (ap.begin (ship, bit (LAYER_CBODIES), planet_safe[state], QUERY_OBJECT);
ap.current; ap.next ())
{
|