summaryrefslogtreecommitdiffstats
path: root/src/bones.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bones.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bones.cpp b/src/bones.cpp
index 787af1b..0df13f2 100644
--- a/src/bones.cpp
+++ b/src/bones.cpp
@@ -265,22 +265,22 @@ static void build_core_mask(BoneEntry *e) {
265 265
266static void dump_hitboxes(const BoneEntry *e) { 266static void dump_hitboxes(const BoneEntry *e) {
267 const StudioHdr *h = e->hdr; 267 const StudioHdr *h = e->hdr;
268 logf("hitbox dump: idx=%d sets=%d setidx=%d", e->idx, h->numhitboxsets, 268 logd("hitbox dump: idx=%d sets=%d setidx=%d", e->idx, h->numhitboxsets,
269 h->hitboxsetindex); 269 h->hitboxsetindex);
270 const HitboxSet *s = hitbox_set0(h); 270 const HitboxSet *s = hitbox_set0(h);
271 if (!s) { 271 if (!s) {
272 logf("hitbox dump: no usable hitbox set"); 272 logd("hitbox dump: no usable hitbox set");
273 return; 273 return;
274 } 274 }
275 const Hitbox *hb = hitboxes(s); 275 const Hitbox *hb = hitboxes(s);
276 logf("hitbox dump: set0 n=%d hitboxindex=%d", s->numhitboxes, 276 logd("hitbox dump: set0 n=%d hitboxindex=%d", s->numhitboxes,
277 s->hitboxindex); 277 s->hitboxindex);
278 int n = s->numhitboxes < 24 ? s->numhitboxes : 24; 278 int n = s->numhitboxes < 24 ? s->numhitboxes : 24;
279 for (int i = 0; i < n; i++) { 279 for (int i = 0; i < n; i++) {
280 const char *bn = (hb[i].bone >= 0 && hb[i].bone < e->count) 280 const char *bn = (hb[i].bone >= 0 && hb[i].bone < e->count)
281 ? bone_name_raw(h, hb[i].bone) 281 ? bone_name_raw(h, hb[i].bone)
282 : nullptr; 282 : nullptr;
283 logf(" hb %d name='%s' bone=%d(%s) bb=(%.1f %.1f %.1f)-(%.1f %.1f %.1f)", 283 logd(" hb %d name='%s' bone=%d(%s) bb=(%.1f %.1f %.1f)-(%.1f %.1f %.1f)",
284 i, hitbox_name(hb[i]), hb[i].bone, bn ? bn : "?", hb[i].bbmin.x, 284 i, hitbox_name(hb[i]), hb[i].bone, bn ? bn : "?", hb[i].bbmin.x,
285 hb[i].bbmin.y, hb[i].bbmin.z, hb[i].bbmax.x, hb[i].bbmax.y, 285 hb[i].bbmin.y, hb[i].bbmin.z, hb[i].bbmax.x, hb[i].bbmax.y,
286 hb[i].bbmax.z); 286 hb[i].bbmax.z);
@@ -370,7 +370,7 @@ bool bones_update(int idx, void *ent) {
370 e->stamp = now; 370 e->stamp = now;
371 if (g_logged < 4) { 371 if (g_logged < 4) {
372 g_logged++; 372 g_logged++;
373 logf("bones: idx=%d count=%d invalid=%d bone0=%s", idx, e->count, 373 logd("bones: idx=%d count=%d invalid=%d bone0=%s", idx, e->count,
374 invalid_bones, 374 invalid_bones,
375 bone_name_raw(hdr, 0) ? bone_name_raw(hdr, 0) : "?"); 375 bone_name_raw(hdr, 0) ? bone_name_raw(hdr, 0) : "?");
376 } 376 }