I need a logo.
I've gotten a user settings api fully functional, and I should be releasing a new version tomorrow.
The api basically works like this:
tpt.option("name", "description", callback(status))
callback() is called with the state the button is being changed to, and if it returns a boolean, the button's status is set to the return value.
For example, this function call:
tpt.option("Test button", "foo", function() return true end)
will allow the option to be selected, but not de-selected.
Screenshots of the new interface:
The icon:
Also,
sure, I'll make you one
EDIT: Here you go:
Yes, releases coming in about 1 hour.
EDIT: Just added another function: tpt.getOption(int option_index)
tpt.option() returns the index of the created option, which can be used to get its value at another time. For example, this code:
local num = tpt.option();
print(tpt.getOption(num));
will print "false", as the option's value won't have changed in the meantime.
Now I'm just working on setting up all the compilers to use LuaJIT.
EDIT EDIT: oh my god i just had the best idea I'll be writing an example script to allow multiplayer afk to be toggled from there. Also i'm pushing my source to github now, which I should have been doing the whole time. I am an organized and efficient human being.
EDIT 3: Linux builds are available for download, but other os builds are still out of date.
EDIT 4: Compilers should be set up soon, I might even have LuaJIT working for mac
also oH MY GOD JACOB1 ACTUALLY THOUGHT ONE OF MY FEATURES WAS COOL
The download for version 9.4 gives me version 8.5 renamed as 9.4
I know, the Linux version is the only one that's up-to-date. I'm having severe computer issues - right now, I can't boot into a graphical environment, and I managed to break sudo. I may have to wipe and reinstall ubuntu, but other builds will hopefully be available within a few days.
If anyone else can make builds (@jacob1, @wolfy1339?) that would be nice, since I'm busy trying to save my computer.
FeynmanLogomaker:
I know, the Linux version is the only one that's up-to-date. I'm having severe computer issues - right now, I can't boot into a graphical environment, and I managed to break sudo. I may have to wipe and reinstall ubuntu, but other builds will hopefully be available within a few days.
If anyone else can make builds (@jacob1, @wolfy1339?) that would be nice, since I'm busy trying to save my computer.
Compiling it cant be that hard. I think I'll have a go at doing it if nobody beats me to it. Heh, while I'm at it I might as well make myself a nice AVX2 enabled build to try to get a bit more FPS since I have an Intel Haswell refresh Core i7.
Edit: nope. This isn't simple to compile. Anyone mind telling me how to compile this? I use Code::Blocks IDE.