IRC logs of Libera.Chat #BZFlag for Thursday, 2022-10-20

* Agatha ultrahacky googles engaged00:00
Agathawhat if in `doEvent(...)` you added something to the switch case for `BzfEvent::KeyDown` . . . make it something like:00:00
Agatha    case BzfEvent::KeyDown: {00:00
Agatha        doKey(event.keyDown, true);00:00
Agatha        //FIXME: hack for mousewheel ticks to make them look like a cycle of pressing+releasing a key00:00
Agatha        if (event.keyDown.button==BzfKeyEvent::WheelDown||event.keyDown.button==BzfKeyEvent::WheelUp) {00:00
Agatha            event.type = BzfEvent::KeyUp;00:00
Agatha            doEvent(disply);00:00
Agatha        }00:00
Agatha        break;00:00
Agatha    }00:00
AgathaThe idea being that immediately after you process a scroll 'key press', you process the same thing again, as a scroll 'key release'.00:00
Agatha*This doesn't actually work*, BTW . . . but I'm not sure why. It might be something to do with the configs in the config file, because the defaults (and what I've messed with them to be) are doubtless incongruous with sanity.00:00
AgathaOh derp I know why it does nothing; `event` is a local variable. But you get the idea.00:01
AgathaOkay replace   `doEvent(disply);`   in the above with   `doKey(event.keyUp, false);`   and it works.00:03
AgathaThis has got to be the simplest (and worst) way to fix^B^B^B workaround this.00:04
JunkoAkemi[m]Mousewheel is basically a macro for MG like shot firing00:47
JunkoAkemi[m]So it should have it's own gotchas to it00:47
JunkoAkemi[m]It's a feature, not a bug :p00:48
AgathaPutting aside the significant differences between MG and simply firing quickly, as well as the fact people have complained about this glitch for 1.5 decades, 'game balance' and 'bugs' are not the same thing   :P01:33
blast007I fixed it a different way.  I created a custom user event and just push that event into SDL when I process the a mouse wheel event.02:11
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 260 seconds)04:51
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)06:58
*** FastLizard4 is back08:42
*** FastLizard4 is now away: AWAY from keyboard09:05
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)09:21
blast007Anyone against SDL 1 support going away for 2.4.26?10:53
blast007SDL 2 has been the default since 2.4.8 (falling back to SDL 1 if SDL 2 wasn't available) and has been soft-required since 2.4.22 (requiring specifying --with-SDL=1 to use SDL 1)10:58
blast007kinda sick of trying to fix SDL 1 support10:58
blast007right now the viewport doesn't resize correctly when resizing a windowed client with SDL 110:58
tuponetalking about SDL, some days ago I could not stay window, everytime it maximize. Never happened before, and no time to debug when happened11:04
BZNotifybzflag: blast007 opened pull request #316 "Fix mouse wheel firing causing MG to endlessly fire" (2.4.26 - https://github.com/BZFlag-Dev/bzflag/pull/316)11:08
BZNotifybzflag: blast007 milestoned pull request #316 (2.4.26 - )11:08
BZNotifybzflag: blast007 milestoned issue #316 (2.4.26 - )11:08
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag11:29
*** Cobra_Fast is now away: vacant12:47
*** Cobra_Fast is back12:47
*** Cobra_Fast is now away: vacant13:40
*** Cobra_Fast is back14:30
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag14:59
AgathaIs there any advantage to keeping SDL 1 around?16:10
blast007not really16:17
blast007at one time, at least, BulletCatcher still needed to use SDL 1 on his system (which used some nVidia nForce chipset with I believe a 7xxx series nVidia IGP)16:18
SpringTankthat hardware is nearly two decades old...16:30
SpringTanklike, i get he nostalgia appeal, but it's time to move on!16:30
*** FastLizard4 is back17:25
*** FastLizard4 is now away: AWAY from keyboard17:35
the_mapwait until you hear what runs banking computers17:44
SpringTankno, i already know about banking computers17:57
SpringTankthat's different though. it's an older tried and true system where security takes a priority, and bankers are usually very cheap to begin with so if it ain't broke they will not replace it.17:58
flash[m]old hardware gets to run old software ... rev the deps and roll18:01
*** Flash_ is now known as Flash18:07
SpringTankyes, but on personal computers where it's not as critical you can usually get away with dosbox and emulators especially with how fast modern hardware is.18:10
SpringTanknot to say i don't keep a couple of old dos machines around and functioning, I do, it's just that sometimes you don't have access to or down want to mess around with flakey hardware that's aged and failing18:11
SpringTankfriggen autocorrect has infected my mind, i swear...18:12
SpringTankjust because you buy a new computer doesn't mean you have to throw out your old one.18:13
SpringTankand no one should let a project stagnate just because 1% of your users isn't willing to upgrade (windows XP for the longest time even though it was a great and mature OS)18:14
AgathaWhat I was getting at was, isn't extreme-backward-compatibility already part of SDL, whether 1 or 2? I.e., do there exist systems for which SDL 1 runs but SDL 2 doesn't?21:10
AgathaA quick search says the list of 'dropped' platforms is basically RISC OS, OS/2, AmigaOS, BeOS, and Mac OS 9. OS/2 code actually got only deprecated, not dropped. OS 9 might still be being used by some curmudgeons out there, but note in particular that the curmudgeons using Win XP are explicitly still supported with SDL 2. Also, SDL 2 *adds* support for some new platforms.21:10
AgathaThe last release of OS 9 was in 2001—more than 20 years ago. I think that'd be the only potentially relevant one for choosing to keeping SDL 1 around.21:10
macsformeI believe SDL 1.2 support is intended to be dropped, but there seems little point in doing so in a maintenance release21:15
blast007so we gonna fix the bugs with it, or just leave it broken?21:18
macsformeI guess I forgot (or didn't know) that it was broken... did we break it with the OBS-related (and glScissor-related) fixes?21:28
blast007the OBS stuff was reverted21:34
blast007some other recent change made it so that SDL1 in windowed mode doesn't resize the viewport correctly when the window gets resized21:34
blast007https://github.com/BZFlag-Dev/bzflag/issues/30321:36
blast007heh, and by "recent" I mean October 2020, apparently  :)21:36
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has joined #bzflag21:51
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has quit IRC (Remote host closed the connection)21:52
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has joined #bzflag21:55
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has quit IRC (Remote host closed the connection)22:09
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has joined #bzflag22:13
macsformehmmm, good memories...22:24
macsformejust think of all the good things we could have done with the time we spent fixing our windowing system and SDL :-P22:24
macsformebut yeah, I'm not really motivated to fix SDL 1.2 to work with those changes...22:26
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has quit IRC (Remote host closed the connection)22:40
*** Yukari <Yukari!~Yukari@user/yukari> has joined #bzflag23:01
*** Yukari <Yukari!~Yukari@user/yukari> has quit IRC (Remote host closed the connection)23:32
*** Yukari <Yukari!~Yukari@user/yukari> has joined #bzflag23:32

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!