Files
pmd-sky/include/main_02028284.h
cecilarmitais f85044d37f Drop 49 unneeded util.h includes from generated headers
The landing script added `#include "util.h"` to every header it generated,
across this whole branch. That was never necessary for most of them: u8/u32/s32
and the rest of the base types are typedef'd in lib/include/nitro/types.h, which
every translation unit already has through `-prefix global.mch`. 283 of the 460
headers in the tree that name u32 do not include util.h and build fine.

util.h owns bool8, bool32, fx32_8, ufx32_8 and struct fixed_point/rgba/vec2_16 --
a header naming any of those genuinely needs it, and 61 of the 110 do. The other
49 carried it for nothing and are cleaned up here.

Removal is .c-aware: util.h is kept wherever the header's paired source names a
util.h-owned symbol and does not include util.h itself, so nothing loses it
transitively. No functional change; verified byte-identical.

Authored by Claude (Opus 5) under human direction. Confirmed by a matching build:
build/pmdsky.us/pmdsky.us.nds: OK.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-20 01:30:22 -07:00

20 lines
377 B
C

#ifndef PMDSKY_MAIN_02028284_H
#define PMDSKY_MAIN_02028284_H
#include "window.h"
void sub_0202825C(s32 index, u16 value);
u16 sub_02028270(s32 index);
struct unk_02028284 {
s32 field_0x0;
s32 field_0x4;
s32 field_0x8;
s32 field_0xC;
};
void GetWindowRectangle(s32 window_id, struct unk_02028284* out);
void sub_020282C8(s32 window_id, Point* out);
#endif