設計地圖編輯器 - #3
Merged
Hidden character warning
The head ref may contain hidden characters: "\u8a2d\u8a08\u5730\u5716\u7de8\u8f2f\u5668"
Merged
Conversation
抽出共用核心程式碼至 Shared 專案,新增 AgainstRomeMapEditor WinForms 編輯器,主程式加入地圖管理分頁並可啟動編輯器。地圖結構、複製、標記、材質編輯等皆以新 Maps 命名空間實作,並補齊 xUnit 測試。同步補充地圖格式與安全規範文件,移除硬編碼地圖數,確保自製圖完整納入流程。
將 src.MapEditor 與 src.Shared 專案設定為在 Debug 組態下不自動建置,並調整專案引用順序,優化解決方案建置流程。
- 新增 floortex.dat 真實地表材質離線渲染,支援縮放、平移、格線、場景物件顯示 - 解析 SDL 檔案,於地圖上標示建築/單位/物件,並顯示統計 - 新增 GameMapCatalog,地圖自動分組(劇情/歷史/教學/多人/無盡/自製) - 支援從任意地圖複製為自製 ENDL 地圖,並可安全刪除自製地圖(含 manifest 回滾) - UI 強化:筆刷大小、格線、物件顯示、地表還原、Ctrl+S/Z/Y 快捷鍵、水面顏色選擇器 - 地圖概覽(minimap)獨立顯示,編輯僅限自製地圖 - 增加多項單元測試,確保地圖管理與渲染正確 - 文件補充遊戲資源格式與安全規範
- 將2x速度、3x射程、全地圖施法等移出實驗性分組,並移除UI與本地化的「(實驗性)」標記 - 單位移動速度倍率完全與自訂屬性平衡解耦,修正2x/4x疊加錯誤 - 修正BalancedUnitStats基礎速度,還原為3.2/2.6,避免平衡時誤增 - 平民速度補丁僅在啟用2x速度時生效 - PatchUnit僅在數值變動時寫入,避免浮點誤差與偵測誤判 - 偵測邏輯動態比對基準值,提升自訂模板相容性 - 偵測平衡時排除祭司視野,避免全地圖施法誤判 - 新增107項回歸測試,驗證所有組合下偵測與補丁正確
將「拋射彈道增高」倍率由1.5倍提升為2倍,並完成10倍倍率實機驗證,正式值採2倍。同步更新說明、UI顯示、patcher參數、測試案例與文件,並將此功能移至「資源與戰鬥升級」分組,調整UI卡片高度及一鍵全開行為,確保新分組開關正確啟用,測試預期值亦已修正。
- SpellDamage5x 正式納入資源與戰鬥升級群組,UI 開關移至 Switches 卡片,並於一鍵全開預設自動勾選 - 主控台改為四欄瀑布流自動分配卡片,支援視窗捲動,提升群組排列彈性 - 統一設定卡片底色,強化群組邊界辨識 - 調整 Switches/Experimental 卡片高度 - README 與 reverse-engineering 文件同步更新,補充 SpellDamage5x 驗證證據與現狀
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.