Semphriss

Results 172 comments of Semphriss

Can you try with testdialog? I've tried with that on my device, and it consistently takes about 1 second to open, regardless of whether the window is maximized or 50x50....

There are 43 cannons in this level (23 on the right and another 20 divided in sub-sections on the left), each of them firing at a rate of one enemy...

> Perhaps each object is compared to all other objects somewhere in the code (which leads to quadratic run time). You reminded me of something: src/video/canvas.cpp, lines 51 to 61:...

I had to change a few more things in the code for the builds to pass. I changed it to the best of my abilities, but some involve design choices,...

@HybridDog It's something I've been thinking about, whether or not to enable them by default. They're not really relevant during development, only when making releases, which is IMO the preferred...

PCH and IPO are now only enabled on Release|RelWithDebInfo builds.

#9406 was meant to fix this; I'll give it a try on my Windows whenever I can.

What build of SDL are you using? I've tried with the latest on main, and it seems to keep the same working directory with all three dialogs functions. To test...

Leaving a comment here to remind myself to fix this as well, for some reason I hadn't received the notifications.

So, I have some bad news... It turns out that the dialog will always change the current directory while it is being used; the `OFN_NOCHANGEDIR` option only makes it restore...