dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

remove `DFSDL.h` dependency from `Graphic.h`

Open ab9rf opened this issue 1 year ago • 0 comments

this significantly reduces the number of compilation units that depend on DFSDL.h

this allows us to include more content into DFSDL.h without as much compile-time loading; Graphic.h is included by Core.h which is included by many many things, but only a handful of compilation units include DFSDL.h directly

the only module that needed to be adjusted was LuaApi.cpp

ab9rf avatar Oct 22 '24 04:10 ab9rf