This commit is contained in:
tTh 2023-05-01 13:09:01 +02:00
parent 1fc4d7a05d
commit 8648d962df
3 changed files with 11 additions and 9 deletions

View File

@ -122,15 +122,15 @@ int print_bublist_desc(BBList *bbl, int opts)
{ {
fprintf(stderr, "------- bblist at %p\n", bbl); fprintf(stderr, "------- bblist at %p\n", bbl);
fprintf(stderr, "\tname \t'%s'\n", bbl->name); fprintf(stderr, "\tname\t\t'%s'\n", bbl->name);
fprintf(stderr, "\tsize\t%6d\n\tfidx\t%6d\n", bbl->size, bbl->fidx); fprintf(stderr, "\tsize/fidx\t%d %d\n", bbl->size, bbl->fidx);
if (opts & 0x01) { if (opts & 0x01) {
fprintf(stderr, "\txyz\t%f %f %f\n", fprintf(stderr, "\txyz\t\t%f %f %f\n",
bbl->position.x, bbl->position.y, bbl->position.z); bbl->position.x, bbl->position.y, bbl->position.z);
} }
fprintf(stderr, "\tflags\t0x%08lX\n", bbl->flags); fprintf(stderr, "\tflags\t\t0x%08lX\n", bbl->flags);
fprintf(stderr, "\tarray\t%p\n", bbl->bbs); fprintf(stderr, "\tarray@\t\t%p\n", bbl->bbs);
fflush(stderr); fflush(stderr);

View File

@ -4,7 +4,7 @@
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
#define LIBBB_VERSION 63 #define LIBBB_VERSION 64
#define SZ_BUBULLE_TEXT 81 /* arbitrary value */ #define SZ_BUBULLE_TEXT 81 /* arbitrary value */

8
tbb.c
View File

@ -186,7 +186,8 @@ int main(int argc, char *argv[])
{ {
int foo; int foo;
fprintf(stderr, "*** Bubulles Testing %s %s\n\n", __DATE__, __TIME__); fprintf(stderr, "***\n*** Bubulles Testing %s %s\n***\n",
__DATE__, __TIME__);
bubulles_version(0); bubulles_version(0);
@ -200,8 +201,9 @@ foo = test_peek_poke(5000);
fprintf(stderr, "test peek/poke -> %d\n", foo); fprintf(stderr, "test peek/poke -> %d\n", foo);
#endif #endif
// XXX foo = essai_des_edges_A(25);
// XXX fprintf(stderr, "test A des edges -> %d\n", foo); foo = essai_des_edges_A(25);
fprintf(stderr, "test A des edges -> %d\n", foo);
foo = essai_des_edges_B(5000); foo = essai_des_edges_B(5000);
fprintf(stderr, "test B des edges -> %d\n", foo); fprintf(stderr, "test B des edges -> %d\n", foo);