QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
960 stars 70 forks source link

Reimplement WAD loading in C #65

Closed Shfty closed 4 years ago

Shfty commented 4 years ago

Since WAD files are resources, they can't be loaded from outside the project at runtime.

Need to add a filename check that either loads resource WADs as-is, or invokes the WAD parser to read from a filesystem location and return a transient WAD resource for texture loading.

Shfty commented 4 years ago

I'm thinking this should be done by reimplementing the WAD parsing setup in C through a new libwad library, for the sake of minimizing the amount of work GDScript has to do. WAD loading is currently a noticeable bottleneck in the texture generation process, so it would be good to eliminate it at the same time as fixing this issue.

Shfty commented 4 years ago

Done, after a fashion.