version 1.2 | | version 1.3 |
---|
| | |
* Header file for stuff moved from segment.c to gameseg.c. | | * Header file for stuff moved from segment.c to gameseg.c. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.3 2000/06/25 08:34:29 sekmu |
| | * file-line for segfault info |
| | * |
* Revision 1.2 2000/01/19 04:48:37 sekmu | | * Revision 1.2 2000/01/19 04:48:37 sekmu |
* added debug info for illegal side type | | * added debug info for illegal side type |
* | | * |
| | |
| | |
//returns 3 different bitmasks with info telling if this sphere is in | | //returns 3 different bitmasks with info telling if this sphere is in |
//this segment. See segmasks structure for info on fields | | //this segment. See segmasks structure for info on fields |
segmasks get_seg_masks(vms_vector *checkp,int segnum,fix rad); | | segmasks get_seg_masks(vms_vector *checkp,int segnum,fix rad, char *calling_file, int calling_linenum); |
| | |
//this macro returns true if the segnum for an object is correct | | //this macro returns true if the segnum for an object is correct |
#define check_obj_seg(obj) (get_seg_masks(&(obj)->pos,(obj)->segnum,0).centermask == 0) | | #define check_obj_seg(obj) (get_seg_masks(&(obj)->pos,(obj)->segnum,0).centermask == 0) |