33 Commits

Author SHA1 Message Date
waynebian01
579bc3cbd7 添加“特殊”状态分类,更新相关状态块逻辑,优化状态获取和更新功能。各职业类中新增特殊状态支持,确保状态管理更加灵活和准确。 2026-09-02 21:29:29 +08:00
Cursor Agent
0fa9112a91 物品列表改为带 index 的表项并增加索引列
Fuyutsui.itemsList 保存为 [itemId] = { index, name };编辑器增加索引列,添加时自动分配空闲序号,允许同名、禁止同 ID 与同索引。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:22:49 +00:00
Cursor Agent
78222ad022 冷却页技能表增加 spellId/名称筛选
左侧技能冷却与右侧物品冷却对齐,输入 spellId 或名称即可过滤行;上下移动会跳过被筛掉的行。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:15:57 +00:00
Cursor Agent
4a991bc85b 物品列表移到末页,允许同名并改为字符串表
将物品列表页签放到技能列表右侧;添加与校验只禁止重复 itemId;保存格式改为 [itemId] = "名称"。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:09:21 +00:00
Cursor Agent
75bf8a3518 配置页改为冷却双栏与职业级物品列表
将配置页「法术」改为「冷却」(左技能冷却、右专精物品冷却),「物品」改为职业级 Fuyutsui.itemsList 编辑;保存时缺表则在 spellsList 后插入。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 12:01:05 +00:00
waynebian01
ccd670dfb5 更新版本号至 1.2.1.19,优化 README 文档中的功能描述,增强用户对技能和物品图标数据包的理解。添加对物品 ID 的支持,改进状态管理和条件字段显示,确保用户界面信息展示更加清晰。 2026-09-01 17:05:20 +08:00
waynebian01
3a5b4e8db5 Refactor configuration for Shaman, Warlock, and Warrior classes
- Adjusted step values for various configuration options to maintain order and consistency.
- Reintroduced "治疗药水" and "治疗石" for Warlock and Shaman with updated steps and properties.
- Removed "鲁莽药水" from Warrior configuration and added it back with updated properties.
- Ensured all changes maintain the integrity of the configuration structure.
2026-09-01 16:19:20 +08:00
waynebian01
1cd4e7c084 Refactor item categories and IDs across multiple class configurations
- Removed unused skill entries and adjusted step numbers in DemonHunter.json.
- Updated item categories and added item IDs for healing items in Paladin.json, Priest.json, Shaman.json, Warlock.json, and Warrior.json.
- Ensured consistent naming for healing items across classes.
2026-09-01 14:04:03 +08:00
waynebian01
03d2d2c72e 保存配置会将当前职业的所有模块一起保存, 覆盖掉可能冲突项 2026-08-29 17:16:01 +08:00
waynebian01
51398f91f9 Refactor MainForm layout and improve SpellIconCatalog functionality
- Increased RowCount in MainForm's layout to accommodate additional elements.
- Adjusted margins for various cards in MainForm to enhance spacing.
- Removed unnecessary column span setting for spellIconPackageCard in MainForm.
- Introduced a new dictionary to map spell IDs to names in SpellIconCatalog.
- Added functionality to promote pending packages in SpellIconCatalog.
- Modified the Register method in SpellIconCatalog to allow overwriting spell names.
- Implemented ResolveSuggestionName and GetRegisteredSpellNamesSnapshot methods in SpellIconCatalog.
- Removed the SpellSuggestionPopup class as it is no longer needed.
- Updated build script to ignore the SpellIconPackage directory during the build process.
2026-08-29 15:03:08 +08:00
waynebian01
f7a7309085 feat: Update navigation and settings descriptions, enhance UI theme, and implement spell icon package download service
- Updated navigation item description in StatusForm for clarity.
- Added new item to the UI theme for customizable item foreground colors.
- Removed obsolete spell icon package building logic from the Python script.
- Updated documentation to reflect changes in spell icon handling and packaging.
- Introduced SpellIconPackageDownloadService for downloading and validating spell icon packages from GitHub.
2026-08-29 01:39:47 +08:00
waynebian01
698e19dd19 Update version to 1.2.1.13 and enhance spell suggestion functionality
- Updated version numbers in Fuyutsui.toc and Shigure.csproj to 1.2.1.13.
- Added a HashSet to track deleted spell IDs in ClassBlocksStore.
- Enhanced spell list entry updates to handle deleted spells.
- Implemented spell suggestion dropdown in ClassConfigEditorControl.
- Added methods for searching and displaying spell suggestions in SpellIconCatalog.
- Improved UI layout in ClassConfigEditorControl and ClassMacrosEditorControl.
- Introduced automatic configuration updates when the target game process is detected.
2026-08-28 18:44:11 +08:00
waynebian01
ab4a5b25b3 Refactor ComboBox to UiDropDown and enhance styling
- Replaced instances of ComboBox with a custom UiDropDown control in UnitEditorForm.
- Updated the StyleComboBox method to accept UiDropDown instead of ComboBox.
- Introduced UiDropDown class to provide a unified dark-themed dropdown control.
- Implemented custom drawing for dropdown items and buttons to improve UI consistency.
- Added functionality for handling dropdown item selection and display.
2026-08-28 17:57:50 +08:00
waynebian01
da2eeb3b39 Refactor UI components for improved theming and accessibility
- Updated UiCardPanel to use UiTheme.CardCornerRadius for consistent corner styling.
- Modified UiPillTab to enable TabStop and set AccessibleRole to PageTab, enhancing keyboard navigation.
- Implemented keyboard handling in UiPillTab for Enter and Space keys to trigger click events.
- Enhanced focus visuals in UiPillTab with focus rectangle drawing.
- Introduced new constants in UiTheme for CardPadding, PageGap, ActionButtonHeight, GridRowHeight, TabBarHeight, CardCornerRadius, and ControlCornerRadius for better layout management.
- Updated UnitEditorForm to utilize new theming constants and improved layout with UiCardPanel for better visual structure.
- Refined action button styling in UnitEditorForm for consistent button sizes and margins.
- Adjusted labeled row height in UnitEditorForm for better alignment.
2026-08-25 15:58:44 +08:00
waynebian01
c8b38ce932 feat: 添加玩家分类支持,更新条件编辑器以使用新的分类显示名称 2026-08-24 21:55:37 +08:00
waynebian01
139c6451f7 重构法术图标管理,添加只读数据包支持并更新相关资源处理逻辑 2026-08-23 20:45:29 +08:00
waynebian01
0c046c6c4e 导入了更多图标 2026-08-23 16:50:33 +08:00
waynebian01
ff218fd1c5 重建了图标库 2026-08-23 15:36:11 +08:00
waynebian01
e1bebefe06 添加列宽缓存功能,支持在多个 UI 控件中保存和恢复列宽设置 2026-08-22 15:08:37 +08:00
waynebian01
fc0ae0d433 Add new potion images for Recklessness and Silvermoon City Health Potions
- Added 'recklessness-potion.jpg' to the Assets/Spell directory.
- Added 'silvermoon-city-health-potion.png' to the Assets/Spell directory.
2026-08-22 14:30:14 +08:00
waynebian01
ca98389811 Add script to download WoW spell icons and create a catalog for local usage
- Introduced `Download-WowSpellIcons.ps1` to fetch and cache spell icons from Wowhead and Zamimg.
- Implemented `SpellIconCatalog.cs` to provide a read-only directory mapping spell names/IDs to local embedded icons.
- The catalog loads spell data from a generated manifest, ensuring offline access during editor runtime.
2026-08-22 10:00:37 +08:00
waynebian01
99300fb702 feat: Implement module dependency management and unsaved changes tracking
- Added `HasUnsavedChanges` property to `ClassConfigEditorControl` and `ClassMacrosEditorControl` to track unsaved changes.
- Introduced `ModuleDependencyService` for handling module dependencies, including capturing and importing configurations and macros.
- Implemented atomic file writing in `AtomicFile` to ensure safe file operations.
- Enhanced `MainForm` to check for unsaved changes before importing module dependencies and added feedback mechanisms for users.
- Updated `ModuleEditorControl` to support dependency capturing and module reloading.
- Created data structures for module dependency snapshots, configurations, and macros.
- Improved error handling and user notifications during module import processes.
2026-08-14 17:36:45 +08:00
waynebian01
31365c23da 更新 ClassBlocksStore 和 ClassConfigEditorControl,支持编辑 spellsList;添加增压层数字段到状态和 UI 组件 2026-08-14 15:34:28 +08:00
waynebian01
c1c4793020 新增光环组配置选项,优化组设置界面 2026-08-12 01:21:40 +08:00
waynebian01
993f596bb1 Refactor ModuleEditorControl and StatusForm for improved UI consistency and functionality
- Updated ModuleEditorControl to utilize UiCardPanel for sidebar and footer layouts, enhancing visual coherence.
- Introduced UiPillTab for tab navigation, providing a more modern and responsive design.
- Adjusted padding, margins, and background colors across various controls for a cleaner appearance.
- Implemented new methods for handling button styles and actions, including a new OpenModuleFolder method for better user experience.
- Refined StatusForm layout, integrating UiCardPanel for information display and adjusting component arrangements for clarity.
- Removed redundant graphics path creation methods, centralizing functionality in UiTheme.
- Enhanced overall code readability and maintainability through consistent styling and structure.
2026-08-11 01:53:06 +08:00
waynebian01
6df48157d3 Enhance UI Theme and Add UiCardPanel Component
- Updated color definitions in UiTheme.cs for improved UI aesthetics.
- Introduced ButtonKind enum for better button styling options.
- Added CreateButton method to streamline button creation with different styles.
- Improved item height calculations in various controls for better layout.
- Implemented ListColumn and ListColumnLayoutState for dynamic ListView column management.
- Added FitListViewColumns method to ensure ListView columns adjust properly to available space.
- Created UiCardPanel class for rounded card-like UI elements with custom painting.
2026-08-10 17:13:55 +08:00
waynebian01
bd830b8985 Add texture layout documentation for Fuyutsui in Chinese
- Introduced a new markdown file detailing the texture sorting mechanism for ClassBlocks.
- Explained the allocation of states, auras, spells, and group pixels, along with the independent layout of auxiliary bars.
- Provided a comprehensive overview of the output areas, sorting order, and pixel encoding.
- Included examples and guidelines for external reading and integration with existing systems.
2026-08-10 13:05:18 +08:00
waynebian01
5a00da85d5 Refactor and implement runtime session management
- Removed the UnitSelector class from UI and added a new UnitSelector class in Modules.
- Introduced RuntimeSessionCoordinator to manage runtime sessions, ensuring safe concurrent operations.
- Created ShigureRuntimeFactory to handle the creation of ShigureRuntime instances.
- Added WindowsTriggerKeyState and WindowsVirtualKeyMap for handling key states and virtual key mappings.
- Implemented IKeymapResolver interface for key mapping resolution.
- Established runtime dependencies with interfaces for screen scanning, state building, logic evaluation, and key output.
2026-08-06 01:17:28 +08:00
waynebian01
e0a2a2ba1b feat(UI): Enhance ClassConfigEditorControl with spellsList display and improve ModuleEditorControl UI
- Added a new DataGridView for displaying spellsList in ClassConfigEditorControl.
- Updated tab structure to include spellsList page and adjusted column counts accordingly.
- Implemented FillSpellsListGrid method to populate spellsList data.
- Modified ModuleEditorControl to include a button for fetching modules from the website.
- Improved button layout and styling for better user experience.
- Added watermark functionality in StatusForm with a transparent background for better aesthetics.
- Enhanced the About panel with additional information fields and improved layout.
2026-07-31 02:11:57 +08:00
waynebian01
3ecba771ad 优化界面 2026-07-29 17:24:46 +08:00
waynebian01
8d5de52861 Refactor class configurations for various characters
- Updated Priest.json to enhance spell mappings and reorganize configuration structure.
- Modified Rogue.json to streamline spell definitions and added new abilities.
- Revised Shaman.json to consolidate spell lists and improve clarity.
- Enhanced Warlock.json with updated spell names and improved configuration layout.
- Adjusted Warrior.json to refine spell mappings and added additional abilities.
- Cleaned up common.json by removing redundant fields related to team type and talents.
2026-07-29 10:52:49 +08:00
waynebian01
09ee3daa54 Refactor UI components in ClassConfigEditorControl and ClassMacrosEditorControl
- Updated button labels for saving configurations to be more concise.
- Adjusted layout of panels to improve UI structure and readability.
- Introduced new methods for creating DataGridView columns to reduce redundancy.
- Enhanced handling of dynamic and static macro entries, including improved row numbering and offset hints.
- Removed unnecessary UI elements and streamlined event handling for better performance.
- Improved localization support by ensuring state names are correctly categorized and hidden where necessary.
2026-07-28 23:24:00 +08:00
waynebian01
3c206fc86b 配置与宏 2026-07-28 20:31:34 +08:00