Files
Cesarus85--mjolnir-vr/source/bitmaps/bitmaps_mipmap.h
T
Jonas VolmanandClaude Opus 5 94f7bbb80c Restore bitmap_data/bitmap_group owner types and bitmap helper prototypes; reopen five bitmap_extract parks exact
bitmap_group.h: signed depth/mipmap_count and union point2d registration_point (HCEA types, January movsx reads and whole-point copies), respelled in its four consumers. bitmaps_mipmap.h declares bitmap_get_max_mipmap_count (fixes an implicit declaration); bitmap_group_internal.h declares bitmap_group_add_bitmap (bitmap_group.h placement regressed decals by declaration count). bitmap_compress_to_mipmap takes the transparent-colour reference pointer January passes. Header renames and their consumers are one measured packet. Unparks _extract_add_bitmap, _extract_build_debug_plate, _extract_mipmaps_to_bitmap, _extract_pixels_from_mipmap, _extract_pixels_to_mipmap (+4,544 padded); re-baselines parked _bitmap_group_add_bitmap (same 992/59). Adversarially verified; 45 bitmap_group.h consumers rebuilt, 0 regressions.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 21:37:53 -07:00

48 lines
1.0 KiB
C

/*
BITMAPS_MIPMAP.H
Narrow cross-translation-unit mipmap interface owned by BITMAPS.C.
*/
#ifndef __BITMAPS_MIPMAP_H
#define __BITMAPS_MIPMAP_H
#pragma once
/* ---------- structures */
struct bitmap_data;
/* ---------- prototypes/BITMAPS.C */
void *bitmap_mipmap_address(
struct bitmap_data *bitmap,
short mipmap_index);
void *bitmap_cube_map_address(
struct bitmap_data *bitmap,
short x,
short y,
short face_index,
short mipmap_index);
short bitmap_mipmap_get_width(
struct bitmap_data *bitmap,
short mipmap_index);
short bitmap_mipmap_get_height(
struct bitmap_data *bitmap,
short mipmap_index);
short bitmap_mipmap_get_depth(
struct bitmap_data *bitmap,
short mipmap_index);
long bitmap_mipmap_get_pixel_count(
struct bitmap_data *bitmap,
short mipmap_index);
long bitmap_mipmap_get_pixel_data_size(
struct bitmap_data *bitmap,
short mipmap_index);
long bitmap_mipmap_get_row_pitch(
struct bitmap_data *bitmap,
short mipmap_index);
short bitmap_get_max_mipmap_count(
struct bitmap_data *bitmap);
#endif /* __BITMAPS_MIPMAP_H */