#exult@irc.freenode.net logs for 26 Nov 2016 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:32:44] <-- Marzo has left IRC (Ping timeout: 240 seconds)
[02:08:11] <-- Dominus has left IRC (Ping timeout: 256 seconds)
[02:09:08] --> Dominus has joined #exult
[02:09:08] <-- Dominus has left IRC (Changing host)
[02:09:08] --> Dominus has joined #exult
[02:09:08] --- ChanServ gives channel operator status to Dominus
[08:33:24] <-- Lightkey has left IRC (Ping timeout: 240 seconds)
[08:46:27] --> Lightkey has joined #exult
[09:11:44] <-- Rottingbeef has left IRC ()
[12:46:17] --> Marzo has joined #exult
[15:24:51] --> Rottingbeef has joined #exult
[16:21:15] <-- Marzo has left IRC (Disconnected by services)
[16:21:19] --> tmeevmekqlohouez has joined #exult
[16:21:21] --- tmeevmekqlohouez is now known as byqjxymcgcnqioqj
[16:21:25] --- byqjxymcgcnqioqj is now known as Marzo
[16:39:36] * Dominus is puzzled...
[16:40:12] <Dominus> *suddenly* the SDL 2.0.4/5 code works in iOS with just *one* tiny change
[16:40:23] <Dominus> I don't understand...
[16:52:17] <Dominus> Hmm, it *might* be due to an ancient iOS version target before
[17:30:47] <Dominus> If THAT is the reason I'm going to cry thinking of the time I wasted trying to get it to work
[18:18:18] <Dominus> ok, it is *not* quite right *BUT* at specific resolutions it works
[18:34:04] <Dominus> hmm, I'll need to grab the resolution that is output by "Checking rendering support" and use scale 2 or 3 depending on the x size
[21:17:42] <Dominus> Marzo: maybe you have an idea what is going wrong on iOS. The screen and mouse coordinates are mostly off
[21:18:35] <Dominus> For example at 1024x768 (the max size according to Exult) mouse coordinates and screen render match at scale factor 3
[21:19:34] <Dominus> When you go lower the mouse coordinates are at a smaller rectangle starting from the left-top edge
[21:20:32] <Dominus> Litchie made some heavy changes to SDL itself to workaround this but I always have the feeling that Exult should do that
[21:23:40] <Dominus> https://github.com/litchie/exult-ios/commit/f167ef113bba7ab06f1683b3961b5959b74582aa that's ,
[21:24:06] <Dominus> Most of the changes he did to SDL to make it work without hassle
[21:24:56] <Dominus> But that was for SDL2.03 and not really portable to newer SDL versions
[23:14:35] <Marzo> Dominus: I know that Retina devices (and similar high pixel density non-iOS other devices) have an internal scale factor between the "real" (physical) resolution and the "logical" (software) resolution
[23:15:44] <Marzo> For example, many websites insist on detecting my tablet as, well, a phone because while its physical resolution is high (2560x1600), it reports the resolution as 1280x800
[23:16:11] <Marzo> I seem to recall having read that SDL had issues with this, so this may be why you are having these issues
[23:16:19] <Marzo> Hm
[23:59:52] <Marzo> Huh. ScummVM has the same buffer overflow in XMIDI loops as Exult