[13:57:35] --- ttarrant_ is now known as ttarrant
[19:13:26] <Dominus> wjp, I have again a fundamental question that is most likely very obvious to you but not for me.
[19:13:27] <Dominus> On iOS and (and OS X with HighDPi enabled) the Cheat::cursor_teleport function (https://github.com/exult/exult/blob/master/cheat.cc#L839)
[19:13:27] <Dominus> doesn't work correctly as gwin->get_win()->screen_to_game(x, y, gwin->get_fastmouse(), x, y); produces only a fraction of the coordinates it should. Caused by the HighDpi which could be 2 times or three times or an odd number depending on other iOS settings.
[19:13:37] <Dominus> So, I wonder why the gwin->get_win()->screen_to_game(x, y, gwin->get_fastmouse(), x, y) is getting only a fraction of the coordinates while so far everything on iOS seems to work corectly.
[19:13:52] <Dominus> I could get the native_scale factor (?) by adding this after https://github.com/exult/exult/blob/master/imagewin/imagewin.cc#L698
[19:13:53] <Dominus> int sw;
[19:13:53] <Dominus> SDL_GetWindowSize(screen_window, &sw, 0);
[19:13:53] <Dominus> float nativescale = 1.0;
[19:13:53] <Dominus> nativescale = dw / sw;
[19:14:10] <Dominus> But I have no idea how to get the value of nativescale into cheat.cc...