Cre8or
Cre8or
Hmm... I'll admit I hadn't considered using interfaces, and looking at it now it seems like an elegant solution. My only concern is how strict the interface definition should be...
> And you'd create an array of `Image_Data` from an `array of access constant Image'Class` in the wrapper. I noticed an issue with this approach. Glfw expects the caller to...
I reworked the wrapper according to your feedback. The caller now has to fill out one (or more) object(s) of type `Image`, which can be passed to the `Set_Icon` primitive...
> Can you make `Images` of the imported function be `Image_Data_Array` since that's possible and safer than declaring it to be an address? Well, this would require the API to...
Ah, you're right - I forgot that unit bodies are compiled after their specs. No circular dependencies here, as you stated. > Concerning the `_Ref` type, I am not entirely...
Why would this be necessary? Wiremod has lots of ways of achieving this. If the server you play on doesn't allow you to use guided missiles, or any targetting devices,...
The matter of the fact is that the process of targetting an entity is not our area of responsibility - this is where Wiremod comes into play, and where you...
Torpedos would need a completely new physics system, because they have to float while in the water. Also, I'm not sure whether making an entity float at a specific depth...
I'll be honest with you, development has slowed down a lot the last couple of weeks, mostly because of me taking my exams. I'll get back into it this week-end...
This is already possible within Wiremod. The missile racks have an entity output that holds the most recent missile entity, allowing you to parent a cam controller to that using,...