Commit graph

11 commits

Author SHA1 Message Date
ragnarok-clanker
0f0bb27176 Maintenance: Remove misplaced fn_02429 annotation: 0x5708F0 is CSurfaceDX9's scalar deleting destructor (compiler generated); fn_0242
Batch #1477 by ragnarok-clanker: no function's compiled code changes; checked with 1 compiled unit(s).
2026-10-28 15:34:08 +00:00
ragnarok-clanker
6edd69f2e2 Decompile fn_02429 (CSurfaceDX9::~CSurfaceDX9)
Batch #1457 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_02429 CSurfaceDX9::~CSurfaceDX9: logic confirmed by peer review (annotation added to existing code)

Reviewed-by: ragnarok-clanker
2026-10-28 13:29:16 +00:00
ragnarok-clanker
899049e990 Decompile 14 functions in Source/Render/RendererDX7.cpp, Source/Render/RendererDX7.h, ...
Batch #1427 by Yommy: 0 byte-identical, 14 confirmed by peer review.

- fn_02113 CRendererDX7::SetClearColor: logic confirmed by peer review (annotation added to existing code)
- fn_02117 CRendererDX7::SetTextureFormat: logic confirmed by peer review (annotation added to existing code)
- fn_02487 ?Color4444@?A0xa800f118@@YAGI@Z: logic confirmed by peer review (annotation added to existing code)
- fn_02488 ?Color565@?A0xa800f118@@YAGI@Z: logic confirmed by peer review (annotation added to existing code)
- fn_17486 RenderVertexPool::Block::Append: logic confirmed by peer review (annotation added to existing code)
- fn_01953 DrawBlendedRectangle: logic confirmed by peer review (annotation added to existing code)
- fn_01954 DrawTexturedRectangle: logic confirmed by peer review (annotation added to existing code)
- fn_01955 DrawTextureRegion: logic confirmed by peer review (annotation added to existing code)
- fn_01944 DrawScreenQuad: logic confirmed by peer review (annotation added to existing code)
- fn_01951 DrawScreenLine: logic confirmed by peer review (annotation added to existing code)
- fn_02101 RhwToDepth: logic confirmed by peer review (annotation added to existing code)
- fn_10121 UIRPData::DrawStretched: logic confirmed by peer review (annotation added to existing code)
- fn_10122 UIRPData::DrawNamed: logic confirmed by peer review (annotation added to existing code)
- fn_10123 UIRPData::SetSolid: logic confirmed by peer review (annotation added to existing code)

Reviewed-by: ragnarok-clanker
2026-10-28 13:16:54 +00:00
ragnarok-clanker
471f0c1fe2 Decompile fn_02115 (CRendererDX7::SetCamera)
Batch #1430 by Yommy: 1 byte-identical, 0 confirmed by peer review.

- fn_02115 CRendererDX7::SetCamera: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Render/RendererDX7.cpp, Source/Render/ScreenRectangle.cpp, Source/Render/ScreenGeometry.cpp, Source/Render/TextureQuad.cpp, Source/Render/UIRPDataDrawing.cpp
2026-10-28 12:45:51 +00:00
ragnarok-clanker
cbbf28e4de Maintenance: Add mandatory field offset markers /* XXXX */ and assertions to Render headers (DX7, DX9, Primitives, Text, Textures)
Batch #1060 by ragnarok-clanker: no function's compiled code changes; checked with 188 compiled unit(s), including every includer of Source/Render/DX7/DeviceOwnerDX7.h, Source/Render/DX7/DirectDrawEnumeration.h, Source/Render/DX7/RenderSystemDX7.h, Source/Render/DX7/RendererFogDX7.h, Source/Render/DX7/SurfaceDX7.h, Source/Render/DX9/DeviceOwnerDX9.h, Source/Render/DX9/DeviceStateDX9.h, Source/Render/DX9/RendererFogDX9.h, Source/Render/DeviceContext/DCSurface.h, Source/Render/DisplayMode.h, Source/Render/Primitives/LightmappedPrimitive.h, Source/Render/Primitives/RenderCommandPool.h, Source/Render/Primitives/RenderPrimitive.h, Source/Render/Primitives/RenderPrimitivePool.h, Source/Render/Primitives/RenderQueues.h, Source/Render/Primitives/RenderVertexPool.h, Source/Render/Projection/RendererViewport.h, Source/Render/RenderAdapter.h, Source/Render/Renderer.h, Source/Render/RendererBackBuffer.h, Source/Render/Text/TextContext.h, Source/Render/Textures/BitmapTextureCache.h, Source/Render/Textures/SpriteAtlas.h, Source/Render/Textures/Surface.h.
2026-10-27 13:48:11 +00:00
ragnarok-clanker
ff15df90ad 📝 docs(annotations): marked inlined functions across modules 2026-10-27 10:42:13 +01:00
ragnarok-clanker
add868efe7 ♻️ refactor(source): removed unused includes and add INLINE comments 2026-10-27 10:09:10 +01:00
ragnarok-clanker
bf6a44c117 Group Utility units into subsystem folders and require OFFSET provenance
Move Lexicon*, Text (TextTokens, TextEscapes, Base64), Math/RadialGrid, Hash (MD5, XxHash32) and Cipher (Rijndael, XorBytes) into Source/Utility subfolders; update includes, guards, compile.json and CMakeLists.txt. Backfill // OFFSET: above every standalone // FUNCTION: block (89 IDs, addresses from the symbol database) and make it mandatory in CODING_RULES.md and AGENTS.md. Remove the MatchLexicon cast chain.
2026-10-26 23:41:07 +01:00
ragnarok-clanker
b2126aca53 Decompile fn_01907 (DeviceOwnerDX9Noop)
Batch #897 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_01907 DeviceOwnerDX9Noop: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-26 15:11:59 +00:00
ragnarok-clanker
e168b4e4a6 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.
2026-10-25 15:42:21 +00:00
ragnarok-clanker
a47d20f8be Reconstruct readable C++ and organize cohesive source subsystems
Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.

Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
2026-10-25 07:42:41 +00:00