mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[PR #669] [CLOSED] Codex/rename classes #4863
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/669
Author: @Ddemon26
Created: 6/30/2025
Status: ❌ Closed
Base:
master← Head:codex/rename-classes📝 Commits (10+)
e2ce83dHandle UTF-8 BOM in config loader and update .gitignore6f245c9Remove version field from docker-compose.ymla9b2d61Add AGENTS.md with automated agent ruleset2387b4bConvert rule lists in AGENTS.md to bullet points9e77ea8Update agent rules for offline Maven builds and renaminga83f8ccUpdate renaming protocol for batch class refactors51030baAdd PR template for RuneBot contributions221c336Add exception for large class renames in agent rules86e246aUpdate build/test requirements for Maven-based PRs0e1f8cc[BOT] refactor(rename): music control methods📊 Changes
39 files changed (+1651 additions, -1332 deletions)
View changed files
➕
.github/PULL_REQUEST_TEMPLATE/bot.md(+61 -0)📝
.gitignore(+1 -0)➕
2006Scape Client/src/main/java/AnimFrame.java(+142 -0)📝
2006Scape Client/src/main/java/Animable.java(+1 -1)📝
2006Scape Client/src/main/java/Animable_Sub3.java(+1 -1)📝
2006Scape Client/src/main/java/Animable_Sub4.java(+1 -1)📝
2006Scape Client/src/main/java/Animation.java(+6 -6)➖
2006Scape Client/src/main/java/Class18.java(+0 -28)➖
2006Scape Client/src/main/java/Class21.java(+0 -27)➖
2006Scape Client/src/main/java/Class29.java(+0 -64)➖
2006Scape Client/src/main/java/Class36.java(+0 -142)➖
2006Scape Client/src/main/java/Class39.java(+0 -117)➖
2006Scape Client/src/main/java/Class43.java(+0 -25)📝
2006Scape Client/src/main/java/Class56.java(+14 -14)📝
2006Scape Client/src/main/java/Class56_Sub1_Sub1.java(+9 -9)📝
2006Scape Client/src/main/java/Class56_Sub1_Sub2.java(+8 -8)➖
2006Scape Client/src/main/java/Class6.java(+0 -305)📝
2006Scape Client/src/main/java/Decompressor.java(+13 -13)📝
2006Scape Client/src/main/java/EntityDef.java(+2 -2)➕
2006Scape Client/src/main/java/FrameBase.java(+26 -0)...and 19 more files
📄 Description
This pull request introduces several changes across multiple files in the
2006Scape Clientproject, focusing on refactoring, cleanup, and replacing deprecated classes. Key updates include the removal of unused or outdated classes, the introduction of a newAnimFrameclass to replaceClass36, and renaming methods inClass56for improved clarity.Refactoring and Cleanup:
Removed unused classes: Deprecated classes such as
Class18,Class21,Class29,Class36,Class39, andClass43were removed to streamline the codebase. These classes were no longer necessary due to the introduction ofAnimFrame. [1] [2] [3] [4] [5] [6]Replaced
Class36withAnimFrame: The newAnimFrameclass encapsulates animation frame logic and replaces the functionality previously handled byClass36. This includes methods for loading, clearing, and accessing animation frames.Code Consistency and Clarity:
Method renaming in
Class56: Abstract methods inClass56were renamed for clarity, such asmethod827→playMidi,method833→stopMidi, andmethod831→setVolume. These changes improve readability and better describe the methods' functionality. [1] [2] [3] [4]Updated references to
AnimFrame: Replaced calls toClass36methods with the correspondingAnimFramemethods in related files, such asAnimable_Sub3,Animable_Sub4, andAnimation. For example,Class36.method532()was replaced withAnimFrame.isNullFrame(). [1] [2] [3]Other Changes:
.github/PULL_REQUEST_TEMPLATE/bot.md. This template includes a checklist, rename-specific fields, and rollback plans to ensure quality and consistency in automated PRs.These changes simplify the codebase, improve maintainability, and enhance clarity for developers working on the project.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.