Page 1 of 1
[WIP] Halo HUD
Posted: Mon Nov 18, 2013 11:15 pm
by Samuco
Re: [WIP] Halo HUD
Posted: Wed Nov 20, 2013 7:55 am
by nil
Got several of these messages when trying to host a LAN game:
Nov 20 10:47:10 server.local Halo[14636] <Error>: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API. This is a serious error and contributes to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Otherwise seems to work fine, though the health bars are a little warpy (would be solved by using GL likely).
One of these days I should look into a proper plugin bundle-based architecture (and possibly plugin-based multiplayer mods).
Re: [WIP] Halo HUD
Posted: Wed Nov 20, 2013 10:13 pm
by Samuco
I took a brief look at CFPlugin but it seems to be very convoluted. I coded up a basic plugin loader using dlopen along with a blank sample plugin.
Plugin:
http://www.samuco.net/plugin.zip
Loader:
http://www.samuco.net/loader.zip
Sample radar:
http://www.samuco.net/radar_sample.zip
(To install, add to /Application Support/HaloMD/Plugins)
Re: [WIP] Halo HUD
Posted: Thu Nov 21, 2013 8:44 am
by nil
Have you looked at NSBundle then or the such then?
Re: [WIP] Halo HUD
Posted: Thu Nov 21, 2013 2:32 pm
by Samuco_
http://www.samuco.net/plugin_ver2.zip
Uses NSBundle instead of a path NSString.
Re: [WIP] Halo HUD
Posted: Fri Jan 10, 2014 11:23 am
by Fonzeh
ermagerd yes. Hell yeah man this is awesome.