Commit graph

28 commits

Author SHA1 Message Date
ragnarok-clanker
f3ceb09e9d Merge commit '6c40a36577' 2026-10-27 10:06:35 +00:00
ragnarok-clanker
2035aa96de Decompile 2 functions in Source/Render/AlphaRectangle.cpp, Source/Client/ModeFade.cpp, ...
Batch #1027 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_01952 DrawAlphaRectangle: logic confirmed by peer review
- fn_17842 ModeFade::Draw: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Render/AlphaRectangle.cpp, Source/Client/ModeFade.cpp
2026-10-27 10:04:54 +00:00
ragnarok-clanker
e331e03f4c 📝 docs(headers): annotated inlined methods 2026-10-27 10:43:00 +01:00
ragnarok-clanker
ff15df90ad 📝 docs(annotations): marked inlined functions across modules 2026-10-27 10:42:13 +01:00
ragnarok-clanker
3dbd276311 📚 docs(inlining): marked inlined functions across modules 2026-10-27 10:21:57 +01:00
ragnarok-clanker
add868efe7 ♻️ refactor(source): removed unused includes and add INLINE comments 2026-10-27 10:09:10 +01:00
ragnarok-clanker
fba5ab8527 Merge branch 'main' of https://clank.rodecomp.online/git/clank/rodecomp 2026-10-27 10:02:57 +01:00
ragnarok-clanker
779dd40d2e 🛠️ refactor(source): annotated inlined functions and removed unused include 2026-10-27 10:01:19 +01:00
ragnarok-clanker
38defb749a 🛠️ fix(FontCache): attached STATIC 0x01311ED0 to the fallback font table 2026-10-27 10:00:45 +01:00
ragnarok-clanker
c5aea5fa76 📝 docs(models,render): added inlined comments to functions 2026-10-27 09:57:08 +01:00
ragnarok-clanker
2282078421 Decompile fn_01787 (DeviceOwnerDX7::PackColor)
Batch #970 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01787 DeviceOwnerDX7::PackColor: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-27 00:21:32 +00:00
ragnarok-clanker
35b31fdf7b Decompile 6 functions in Source/Archive/PakRegistry.h, Source/Render/DeviceContext/DCSurface.h, ...
Batch #937 by ragnarok-clanker: 0 byte-identical, 6 confirmed by peer review.

- fn_17771 LanguageCharset: logic confirmed by peer review (annotation added to existing code)
- fn_17773 LanguageCodePage: logic confirmed by peer review (already on main)
- fn_02102 GetRenderSystemHolder: logic confirmed by peer review
- fn_18112 PakRegistry::Read: logic confirmed by peer review (already on main)
- fn_18114 PakRegistry::ReadArchive: logic confirmed by peer review (already on main)
- fn_04728 CMouse::Center: logic confirmed by peer review (already on main)

Reviewed-by: ragnarok-clanker
2026-10-26 23:29:56 +00: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
caea0f2937 Decompile fn_01842 (ApplyPixelFilter)
Batch #911 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01842 ApplyPixelFilter: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 22:07:53 +00:00
ragnarok-clanker
b3b7fd0281 Decompile 2 functions in Source/Render/ViewportProjection.cpp, Source/Render/Renderer.h
Batch #836 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_02104 CRenderer::ProjectViewport: logic confirmed by peer review
- fn_02105 CRenderer::ProjectViewportCentered: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Render/ViewportProjection.cpp
2026-10-26 21:50:07 +00:00
ragnarok-clanker
e2351a9e3a Decompile fn_01845 (CDCBitmap::Create)
Batch #833 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01845 CDCBitmap::Create: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:49:25 +00:00
ragnarok-clanker
f575258340 Maintenance: Define every global once in its owner unit; session members replace member globals
Batch #906 by ragnarok-clanker: no function's compiled code changes; checked with 9 compiled unit(s), including every includer of Source/Client/Session.h, Source/Client/Registry.h, Source/Client/Application/LaunchInfo.h, Source/Client/Application/Launcher.h, Source/Client/Mode/ActiveGameMode.h, Source/Render/DeviceSelection.h.
Adds to the build: Source/Client/Session.cpp, Source/Client/Registry.cpp, Source/Client/Application/LaunchInfo.cpp, Source/Render/DeviceSelection.cpp
2026-10-26 18:34:25 +00:00
ragnarok-clanker
1dccbfbae5 Maintenance: Annotate globals on their definitions only; drop annotations from header externs
Batch #904 by ragnarok-clanker: no function's compiled code changes; checked with 3 compiled unit(s), including every includer of Source/Contents/MessageTable.h, Source/Contents/Async/AsyncWorkMgr.h, Source/Contents/Emblems/EmblemDataMgr.h, Source/Contents/Hotkeys/UserHotkeyMgr.h, Source/Contents/Messenger/WhisperBlockMgr.h, Source/Contents/Party/AdventurerAgencyMgr.h, Source/Contents/UserData/AccountLinkedUserDataMgr.h, Source/Contents/UserData/CharacterLinkedUserDataMgr.h, Source/Network/TextEncoding.h, Source/Network/Http/CURLMgr.h, Source/Render/Textures/Texture.h, Source/UI/Layout/SnapMgr.h, Source/UI/Party/UIRequestJoinPartyMgr.h, Source/UI/Window/FrameFocus.h, Source/UI/Window/UIWindow.h, Source/Utility/Async/NMessageMgr.h.
2026-10-26 18:25:54 +00: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
ragnarok-clanker
35d2a8cb36 Decompile fn_01906 (DeviceOwnerDX9::DeviceOwnerDX9)
Batch #155 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_01906 DeviceOwnerDX9::DeviceOwnerDX9: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 20:59:54 +00:00
ragnarok-clanker
d60b669197 Decompile fn_02472 (CTexture::Release)
Batch #140 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_02472 CTexture::Release: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 19:25:08 +00:00
ragnarok-clanker
bb8ac68b8e Decompile 11 functions in Source/Render/DCSurface.cpp, Source/Render/DCSurface.h
Batch #136 by ragnarok-clanker: 11 byte-identical, 0 confirmed by peer review.

- fn_02274 RenderSystemHolder::CreateRenderer: byte-identical
- fn_02278 RenderSystemHolder::Close: byte-identical
- fn_02280 RenderSystemHolder::UpdateOption: byte-identical
- fn_02281 RenderSystemHolder::RestoreDisplayMode: byte-identical
- fn_02282 RenderSystemHolder::PrepareErrorDialog: byte-identical
- fn_02285 RenderSystemHolder::Backend: byte-identical
- fn_02287 RenderSystemHolder::BackBufferTexture: byte-identical
- fn_02288 RenderSystemHolder::Height: byte-identical
- fn_02292 RenderSystemHolder::Width: byte-identical
- fn_02294 RenderSystemHolder::IsWindowed: byte-identical
- fn_02295 RenderSystemHolder::TestDevice: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 18:58:32 +00:00
ragnarok-clanker
b31bc5ec1f Decompile 11 functions in Source/Render/SurfaceDX7.cpp, Source/Render/DeviceOwnerDX7.h
Batch #118 by ragnarok-clanker: 11 byte-identical, 0 confirmed by peer review.

- fn_01788 DeviceOwnerDX7::BlueMask: byte-identical
- fn_01789 DeviceOwnerDX7::BlueExpansion: byte-identical
- fn_01790 DeviceOwnerDX7::BlueShift: byte-identical
- fn_01792 DeviceOwnerDX7::DirectDraw: byte-identical
- fn_01793 DeviceOwnerDX7::GreenMask: byte-identical
- fn_01794 DeviceOwnerDX7::GreenExpansion: byte-identical
- fn_01795 DeviceOwnerDX7::GreenShift: byte-identical
- fn_01797 DeviceOwnerDX7::RedMask: byte-identical
- fn_01798 DeviceOwnerDX7::RedExpansion: byte-identical
- fn_01799 DeviceOwnerDX7::RedShift: byte-identical
- fn_01800 DeviceOwnerDX7::RenderTarget: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 17:53:08 +00:00
ragnarok-clanker
56a8b6f167 Decompile fn_02243 (CRendererDX9::UnlockBackBuffer)
Batch #86 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_02243 CRendererDX9::UnlockBackBuffer: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 14:02:37 +00:00
ragnarok-clanker
57a754c75b Decompile fn_02251 (RenderVertex::Reset)
Batch #4 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_02251 RenderVertex::Reset: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 01:38:32 +00:00
ragnarok-clanker
d456e8f64a Initial rodecomp source snapshot 2026-10-24 00:35:19 +00:00