The 2024 Wheel Reinvention Jam is in 16 days. September 23-29, 2024. More info

Milton 1.2.7

Sergio González
It should have anti-aliasing on many more machines now! (Paging gingerBill and mrmixer)

Linky

Hope it works well.
Thanks, there is anti-aliasing in this build. But it doesn't look as good as in 1.2.5. I don't know if it's expected from the switch to the new renderer. Maybe a way to configure the AA level (2x, 4x, 8x) would help? Here are some exports.
The anti-aliasing works now! I actually prefer this version as it is crisper than the older style.
mrmixer: Yeah.. It's expected to look different. If you don't mind recompiling, you can change the MSAA_NUM_SAMPLES define from 4 to 8 (or something else?) in src/milton_configuration.h. But IMO, while 8x looks better than 4x, it's not going to make a difference if you don't prefer the new AA.

gingerBill: \o/

Thanks for the help! Glad to hear it's working.
What is the status on Linux support/level of effort required to implement?

I'm interested in using Milton for whiteboard sessions on my stream, but it would need to be available on Linux first. I might be interested in helping port it to Linux depending on what all needs to be done/if you are open to help
Just to see the difference I tried to compile Milton. But since I'm still using VS2012 it needed some fixes (doesn't support C99):
- CTime, the problem in this thread;
- Removing all initializer lists;
- roundf not available;
- warnings in stb libraries: "unreferenced local function has been removed" /wd4505

When all that is fixed it compiles but I get a run time error: R6002 - floating point support not loaded.
Any idea what is causing that ?
This error happens because of mismatched SDL library. If you compile with VS2012, then you need to use static SDL library that is also compiled with VS2012. Either compile SDL from sources, or get dynamic SDL library from SDL website. Dynamic SDL library should work with any VS version regardless of what VS was used to compile SDL.
I got a message on twitch from user249 or something like that. I have seen that person before but I can't remember their handle (sorry!). They compiled Milton on Linux with some small changes but it wasn't linking yet. Link to the diff here. It should be a matter of implementing a set of platform functions - functions for showing dialogs and so on. And ironing out bugs that may show up after Milton is running.
Thanks mmozeiko, I compiled SDL2 from the source and it worked.