mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-24 16:00:48 +02:00
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>
55 lines
1.3 KiB
C
55 lines
1.3 KiB
C
/*
|
|
BITMAP_UTILITIES.H
|
|
|
|
Recovered public interface additions owned by BITMAP_UTILITIES.C.
|
|
*/
|
|
|
|
#ifndef __BITMAP_UTILITIES_H
|
|
#define __BITMAP_UTILITIES_H
|
|
#pragma once
|
|
|
|
#include "bitmaps/bitmaps.h"
|
|
|
|
void bitmap_fill(
|
|
struct bitmap_data *bitmap,
|
|
pixel32 fill_color);
|
|
void bitmap_alpha_to_rgb(
|
|
struct bitmap_data *bitmap);
|
|
struct bitmap_data *bitmap_clone(
|
|
struct bitmap_data *source_bitmap);
|
|
void bitmap_fade(
|
|
struct bitmap_data *bitmap,
|
|
pixel32 fade_color,
|
|
real fade_amount);
|
|
void bitmap_smooth(
|
|
struct bitmap_data *bitmap,
|
|
real filter_size);
|
|
void bitmap_sharpen(
|
|
struct bitmap_data *bitmap,
|
|
real sharpen_amount);
|
|
struct bitmap_data *bitmap_shrink(
|
|
struct bitmap_data *source_bitmap,
|
|
short scale,
|
|
short alpha_bias,
|
|
boolean ignore_transparent_pixels);
|
|
void bitmap_alpha_bleed(
|
|
struct bitmap_data *bitmap,
|
|
short passes);
|
|
void bitmap_height_map(
|
|
struct bitmap_data *bitmap,
|
|
real bump_height);
|
|
void bitmap_compress_to_mipmap(
|
|
struct bitmap_data *source_bitmap,
|
|
struct bitmap_data *destination_bitmap,
|
|
short destination_mipmap_index,
|
|
pixel32 const *transparent_color);
|
|
void bitmap_uncompress_from_mipmap(
|
|
struct bitmap_data *source_bitmap,
|
|
struct bitmap_data *destination_bitmap,
|
|
short source_mipmap_index);
|
|
union real_rgb_color *pixel32_to_real_rgb_color(
|
|
pixel32 color,
|
|
union real_rgb_color *result);
|
|
|
|
#endif /* __BITMAP_UTILITIES_H */
|