Complete Bone Quest high-resolution anatomy quiz

This commit is contained in:
Brian Holman committed 2026-11-11 23:43:09 -07:00
1 parent 3cc37be5fb
commit 2ceb44a48c
62 files changed
+3204 -1301

No files matched your search

+17 -11
View File
@@ -1,17 +1,23 @@
#ifndef BONE_MAP_DATA_H
#define BONE_MAP_DATA_H
#define BONE_MAP_WIDTH 64
#define BONE_MAP_HEIGHT 149
#define BONE_MAP_WIDTH 159
#define BONE_MAP_HEIGHT 184
#define BONE_VIEW_COUNT 6
/* Spans are (y,x,length) triples. Offsets index bytes, 26 entries per view.
bone_boxes is [25][4]: xmin,ymin,width,height in overview pixels.
View IDs: 0 overview,1 head/neck,2 hand,3 foot,4 lower spine/pelvis,5 chest.
A zero detail-view selector asks the UI to magnify the current overview crop. */
extern const unsigned char bone_spans[];
extern const unsigned bone_offsets[26];
extern const unsigned char bone_boxes[25][4];
extern const unsigned char bone_detail_view[25];
#define BONE_CONTEXT_INDEX 28
#define BONE_INK_INDEX 29
#define BONE_DRAW_COUNT 30
/* Each nonempty owner block starts y,x; then (skip,length) pairs. Skip255
escapes 16-bit big-endian skip. Gaps are row-major from the previous run end.
Offsets index bytes within each view,31 entries perview.
View bytes live in external BONES.DAT, starting at bone_view_data_offsets.
Native 640x225 pixels have1:2 width:height aspect; source masks are fitted accordingly. Context is neutral; ink is black.
The black canvas supplies exterior contours; stored ink preserves internal lines.
Boxes: xmin,ymin,width,height in overview pixels. View0=overview,1=head,
2=hand,3=foot,4=pelvis/lowerback,5=chest. Selector 0 uses an overview crop. */
extern const unsigned char bone_boxes[28][4];
extern const unsigned char bone_detail_view[28];
extern const unsigned char bone_view_widths[6],bone_view_heights[6];
extern const unsigned char * const bone_view_spans[BONE_VIEW_COUNT];
extern const unsigned bone_view_data_offsets[BONE_VIEW_COUNT];
extern const unsigned bone_asset_size, bone_asset_checksum;
extern const unsigned * const bone_view_offsets[BONE_VIEW_COUNT];
#endif