Skip to content

Untangle more dependencies#8570

Open
glebm wants to merge 1 commit into
diasurgical:masterfrom
glebm:dun-render-standalone
Open

Untangle more dependencies#8570
glebm wants to merge 1 commit into
diasurgical:masterfrom
glebm:dun-render-standalone

Conversation

@glebm

@glebm glebm commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Split several monolithic files to reduce transitive dependencies and enable the dun_render_benchmark to link without bringing in all of DevilutionX:

  • Extract dungeon tile globals and loading functions from gendung into dun_tile_data.{hpp,cpp}
  • Extract light table data and MakeLightTable from lighting into engine/light_tables.{hpp,cpp}
  • Move cursor_id and SelectionRegion to cursor_defs.hpp
  • Extract quest log rendering to panels/quest_log.{hpp,cpp}
  • Extract drlg quest setpiece logic to levels/drlg_quests.{hpp,cpp}
  • Extract quest data loading to tables/questdat.{hpp,cpp}
  • Move GameData and gbIsMultiplayer into game_mode.{hpp,cpp}
  • Add parse_sfx_id.{hpp,cpp}
  • Update CMake libraries accordingly

@glebm
glebm enabled auto-merge (rebase) May 25, 2026 02:31
@glebm
glebm marked this pull request as draft May 25, 2026 02:46
auto-merge was automatically disabled May 25, 2026 02:46

Pull request was converted to draft

@glebm
glebm force-pushed the dun-render-standalone branch from d712aac to f475348 Compare May 26, 2026 03:41
@glebm glebm changed the title Make dun_render_benchmark standalone Untangle more dependencies May 26, 2026
@glebm
glebm force-pushed the dun-render-standalone branch from f475348 to a4a9026 Compare May 26, 2026 04:19
@glebm
glebm marked this pull request as ready for review May 26, 2026 04:21
@glebm
glebm enabled auto-merge (rebase) May 26, 2026 04:21
@glebm
glebm force-pushed the dun-render-standalone branch 2 times, most recently from 06e0d91 to 866f50d Compare May 26, 2026 15:34
@glebm
glebm force-pushed the dun-render-standalone branch from 866f50d to 9f5b0d6 Compare June 10, 2026 22:40
@glebm
glebm force-pushed the dun-render-standalone branch from 9f5b0d6 to 792ee0c Compare July 4, 2026 08:48
@glebm

glebm commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased

Split several monolithic files to reduce transitive dependencies and
enable the dun_render_benchmark to link without bringing in all of
DevilutionX:

- Extract dungeon tile globals and loading functions from `gendung` into
  `dun_tile_data.{hpp,cpp}`
- Extract light table data and MakeLightTable from lighting into
  `engine/light_tables.{hpp,cpp}`
- Move cursor_id and SelectionRegion to cursor_defs.hpp
- Extract quest log rendering to `panels/quest_log.{hpp,cpp}`
- Extract drlg quest setpiece logic to `levels/drlg_quests.{hpp,cpp}`
- Extract quest data loading to `tables/questdat.{hpp,cpp}`
- Move `GameData` and `gbIsMultiplayer` into `game_mode.{hpp,cpp}`
- Add `parse_sfx_id.{hpp,cpp}`
- Update CMake libraries accordingly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@glebm
glebm force-pushed the dun-render-standalone branch from 792ee0c to 466b7e6 Compare July 16, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant