[19:37:06] Dominus: Marzo: I have a logic problem for some reason :)
[19:37:09] Dominus: in https://github.com/exult/exult/blob/master/gamewin.cc#L380
[19:38:01] Dominus: when I don't have the cfg tag scroll_with_mouse: and then start exult on ios the setting should be no. But instead it is always yes
[19:38:14] Dominus: I'm stumped again :)
[19:38:43] Marzo: You want to have the default depend on whether or not it is for iphoneos?
[19:39:24] Dominus: and I thought this was done via the string default_scroll_with_mouse = "no"; that is ifdefed iphoneos
[19:39:45] Dominus: like it is done for the other options right there
[19:39:52] Marzo: Hm, that code makes no sense
[19:40:44] Marzo: Swap it around for this:
[19:40:46] Marzo: #ifdef __IPHONEOS__
[19:40:46] Marzo: string default_scroll_with_mouse = "no";
[19:40:46] Marzo: #else
[19:40:46] Marzo: string default_scroll_with_mouse = "yes";
[19:40:46] Marzo: #endif
[19:40:47] Marzo: config->value("config/gameplay/scroll_with_mouse", str, default_scroll_with_mouse);
[19:40:49] Marzo: scroll_with_mouse = str == "yes";
[19:40:51] Marzo: config->set("config/gameplay/scroll_with_mouse",
[19:40:53] Marzo: scroll_with_mouse ? "yes" : "no", false);
[19:44:27] Dominus: yes, that's it. Thank you
[19:45:48] Dominus: but I need to commit stuff first
[20:51:27] Marzo: By the way, I can now run Exult on Windows and on Linux through WSL, and they both work fine
[20:51:50] Marzo: On Windows, highdpi is even working, but cannot be toggled on/off
[21:04:31] Dominus: WSL? need to look what that is :)
[21:04:46] Dominus: ah
[21:15:27] Dominus: 10 commits away from 8k commits... just saying...
[21:24:01] github-actions: exult/refs/heads/master 73275967cd13dd1b95f4a80577a1cc6adf07d8cd https://github.com/exult/exult/actions/runs/1478181689 The Windows build succeeded.
[21:29:18] github-actions: exult/refs/heads/master 73275967cd13dd1b95f4a80577a1cc6adf07d8cd https://github.com/exult/exult/actions/runs/1478181688 The Linux build succeeded.
[21:32:27] github-actions: exult/refs/heads/master 73275967cd13dd1b95f4a80577a1cc6adf07d8cd https://github.com/exult/exult/actions/runs/1478181692 The Mac OSX build succeeded.