Restore translation-unit ownership and publish verified source corrections
Owner-authorized source migration: 31 helper-only translation units were merged into their callers or existing inline headers; both build manifests updated. Includes the preserved source payload, Lua configuration matching wowdecomp, and exact malloca expansion without diagnostic pragmas. 449 native units compiled locally and 449 staged units compiled by the pinned server toolchain. No previously byte-matched function regressed. Compiler mapping diagnostics remain recorded as needs_cleanup, not accepted or peer-confirmed. Existing independent review records are preserved. README.md is intentionally unchanged.
This commit is contained in:
parent
3c939f1cdd
commit
e168b4e4a6
326 changed files with 9538 additions and 3481 deletions
|
|
@ -6,7 +6,6 @@ CDCBitmap::CDCBitmap(int width, int height) : m_bitmap(width, height) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00545B20
|
||||
// FUNCTION: fn_01836
|
||||
CDCBitmap::~CDCBitmap() = default;
|
||||
|
||||
// OFFSET: 0x00569E90
|
||||
|
|
@ -25,7 +24,6 @@ void CDCBitmap::UploadTexture(CRenderSystemBase& system, CTexture*& texture) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00547D40
|
||||
// FUNCTION: fn_01850
|
||||
void CDCBitmap::Grow(std::uint32_t width, std::uint32_t height) {
|
||||
if (width > this->m_bitmap.width || height > this->m_bitmap.height) {
|
||||
this->m_cache.Clear();
|
||||
|
|
@ -34,31 +32,26 @@ void CDCBitmap::Grow(std::uint32_t width, std::uint32_t height) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00547D10
|
||||
// FUNCTION: fn_01848
|
||||
bool CDCBitmap::GetDC(HDC* output) {
|
||||
return this->m_bitmap.GetDC(output);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00547D30
|
||||
// FUNCTION: fn_01849
|
||||
void CDCBitmap::ReleaseDC(HDC dc) {
|
||||
this->m_bitmap.ReleaseDC(dc);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00548230
|
||||
// FUNCTION: fn_01852
|
||||
void CDCBitmap::Copy(int x, int y, int width, int height, const std::uint32_t* source, bool transparent) {
|
||||
this->m_bitmap.Copy(x, y, width, height, source, transparent);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00547D80
|
||||
// FUNCTION: fn_01851
|
||||
void CDCBitmap::ScaleCopy(int x, int y, int sourceWidth, int sourceHeight, int width, int height, const std::uint32_t* source, int option) {
|
||||
this->m_bitmap.ScaleCopy(x, y, sourceWidth, sourceHeight, width, height, source, option);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00548780
|
||||
// FUNCTION: fn_01856
|
||||
void CDCBitmap::CopyRegion(
|
||||
int x, int y, int sourceLeft, int sourceTop, int sourceRight, int sourceBottom, const std::uint32_t* source, int sourceWidth, int sourceHeight,
|
||||
bool transparent, bool alpha
|
||||
|
|
@ -67,19 +60,16 @@ void CDCBitmap::CopyRegion(
|
|||
}
|
||||
|
||||
// OFFSET: 0x00547790
|
||||
// FUNCTION: fn_01843
|
||||
void CDCBitmap::CopyFrom(int x, int y, int sourceX, int sourceY, int width, int height, const CDCBitmap& source) {
|
||||
this->m_bitmap.CopyFrom(x, y, sourceX, sourceY, width, height, source.m_bitmap);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00547840
|
||||
// FUNCTION: fn_01844
|
||||
void CDCBitmap::BlendFrom(std::uint32_t x, std::uint32_t y, int width, int height, const CDCBitmap& source) {
|
||||
this->m_bitmap.BlendFrom(x, y, width, height, source.m_bitmap, source.m_cache.m_alpha);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00545E20
|
||||
// FUNCTION: fn_01838
|
||||
void CDCBitmap::DrawRleSprite(
|
||||
int x, int y, std::span<const SpriteFrameCell> cells, const SpriteRleImage* const* const* images, const std::uint32_t* palette, int cellCount
|
||||
) {
|
||||
|
|
@ -87,7 +77,6 @@ void CDCBitmap::DrawRleSprite(
|
|||
}
|
||||
|
||||
// OFFSET: 0x005460B0
|
||||
// FUNCTION: fn_01839
|
||||
void CDCBitmap::DrawSurface(
|
||||
int x, int y, CSurface* source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, bool mirrored, int scaleX, int scaleY, int filter, int format
|
||||
) {
|
||||
|
|
@ -95,19 +84,16 @@ void CDCBitmap::DrawSurface(
|
|||
}
|
||||
|
||||
// OFFSET: 0x00547460
|
||||
// FUNCTION: fn_01841
|
||||
void CDCBitmap::Fill(const RECT* rectangle, std::uint32_t color) {
|
||||
this->m_bitmap.Fill(rectangle, color);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00547B80
|
||||
// FUNCTION: fn_01846
|
||||
void CDCBitmap::Draw(CRenderSystemBase& system, int x, int y, int width, int height, std::uint32_t color) {
|
||||
this->m_cache.Draw(this->m_bitmap, system, x, y, width, height, color);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00545C40
|
||||
// FUNCTION: fn_01837
|
||||
void CDCBitmap::DrawScaledSprite(
|
||||
int x, int y, int width, int height, std::span<const SpriteFrameCell> cells, const SpriteRleImage* const* const* images, int cellCount, int offsetX,
|
||||
int offsetY, float scale, const std::uint32_t* palette, SpriteAtlas& atlas, CRenderSystemBase& system, int serviceType, std::uint32_t reuseDelay
|
||||
|
|
@ -116,7 +102,6 @@ void CDCBitmap::DrawScaledSprite(
|
|||
}
|
||||
|
||||
// OFFSET: 0x005469E0
|
||||
// FUNCTION: fn_01840
|
||||
void CDCBitmap::DrawScaledSurface(
|
||||
int x, int y, int width, int height, CSurface* source, int sourceWidth, int sourceHeight, float scaleX, float scaleY, std::uint32_t color, bool mirrored,
|
||||
int offsetX, int offsetY, int sourceX, int sourceY, int format
|
||||
|
|
@ -127,13 +112,11 @@ void CDCBitmap::DrawScaledSurface(
|
|||
}
|
||||
|
||||
// OFFSET: 0x005489F0
|
||||
// FUNCTION: fn_01857
|
||||
void CDCBitmap::Brighten(int x, int y, int width, int height, int amount) {
|
||||
this->m_bitmap.Brighten(x, y, width, height, amount);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00548650
|
||||
// FUNCTION: fn_01855
|
||||
void CDCBitmap::Dim(int x, int y, int width, int height, int percent) {
|
||||
this->m_bitmap.Dim(x, y, width, height, percent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue