Adding new DaggerfallUIMesssges

Discuss coding questions, pull requests, and implementation details.
Post Reply
Alth
Posts: 28
Joined: Wed Feb 20, 2019 9:59 pm
Location: New Zealand

Adding new DaggerfallUIMesssges

Post by Alth »

Need some insight into how I would go about adding new messages or how to handle closing open windows without access to the window directly. For instance I was wanting to add a "dfuiCloseInventoryWindow" message but I can't figure out where these are parsed or how functionality is bound to them.

Alth
Posts: 28
Joined: Wed Feb 20, 2019 9:59 pm
Location: New Zealand

Re: Adding new DaggerfallUIMesssges

Post by Alth »

Found WindowMessages.wmCloseWindow that will close the top window but now I need to know what window is open. Not sure how to do that with interfaces unless I add a name to each window and just check that against the top window.

Post Reply