* Agatha ultrahacky googles engaged | 00:00 | |
Agatha | what 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 key | 00: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 |
Agatha | The 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 |
Agatha | Oh derp I know why it does nothing; `event` is a local variable. But you get the idea. | 00:01 |
Agatha | Okay replace `doEvent(disply);` in the above with `doKey(event.keyUp, false);` and it works. | 00:03 |
Agatha | This 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 firing | 00:47 |
JunkoAkemi[m] | So it should have it's own gotchas to it | 00:47 |
JunkoAkemi[m] | It's a feature, not a bug :p | 00:48 |
Agatha | Putting 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 :P | 01:33 |
blast007 | I 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 back | 08:42 | |
*** FastLizard4 is now away: AWAY from keyboard | 09: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 | |
blast007 | Anyone against SDL 1 support going away for 2.4.26? | 10:53 |
blast007 | SDL 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 |
blast007 | kinda sick of trying to fix SDL 1 support | 10:58 |
blast007 | right now the viewport doesn't resize correctly when resizing a windowed client with SDL 1 | 10:58 |
tupone | talking about SDL, some days ago I could not stay window, everytime it maximize. Never happened before, and no time to debug when happened | 11:04 |
BZNotify | bzflag: 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 |
BZNotify | bzflag: blast007 milestoned pull request #316 (2.4.26 - ) | 11:08 |
BZNotify | bzflag: 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 #bzflag | 11:29 | |
*** Cobra_Fast is now away: vacant | 12:47 | |
*** Cobra_Fast is back | 12:47 | |
*** Cobra_Fast is now away: vacant | 13:40 | |
*** Cobra_Fast is back | 14:30 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 14:59 | |
Agatha | Is there any advantage to keeping SDL 1 around? | 16:10 |
blast007 | not really | 16:17 |
blast007 | at 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 |
SpringTank | that hardware is nearly two decades old... | 16:30 |
SpringTank | like, i get he nostalgia appeal, but it's time to move on! | 16:30 |
*** FastLizard4 is back | 17:25 | |
*** FastLizard4 is now away: AWAY from keyboard | 17:35 | |
the_map | wait until you hear what runs banking computers | 17:44 |
SpringTank | no, i already know about banking computers | 17:57 |
SpringTank | that'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 roll | 18:01 |
*** Flash_ is now known as Flash | 18:07 | |
SpringTank | yes, 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 |
SpringTank | not 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 failing | 18:11 |
SpringTank | friggen autocorrect has infected my mind, i swear... | 18:12 |
SpringTank | just because you buy a new computer doesn't mean you have to throw out your old one. | 18:13 |
SpringTank | and 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 |
Agatha | What 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 |
Agatha | A 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 |
Agatha | The 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 |
macsforme | I believe SDL 1.2 support is intended to be dropped, but there seems little point in doing so in a maintenance release | 21:15 |
blast007 | so we gonna fix the bugs with it, or just leave it broken? | 21:18 |
macsforme | I 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 |
blast007 | the OBS stuff was reverted | 21:34 |
blast007 | some other recent change made it so that SDL1 in windowed mode doesn't resize the viewport correctly when the window gets resized | 21:34 |
blast007 | https://github.com/BZFlag-Dev/bzflag/issues/303 | 21:36 |
blast007 | heh, and by "recent" I mean October 2020, apparently :) | 21:36 |
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has joined #bzflag | 21:51 | |
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has quit IRC (Remote host closed the connection) | 21:52 | |
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has joined #bzflag | 21:55 | |
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has quit IRC (Remote host closed the connection) | 22:09 | |
*** YukariYakumo <YukariYakumo!~Yukari@user/yukari> has joined #bzflag | 22:13 | |
macsforme | hmmm, good memories... | 22:24 |
macsforme | just think of all the good things we could have done with the time we spent fixing our windowing system and SDL :-P | 22:24 |
macsforme | but 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 #bzflag | 23:01 | |
*** Yukari <Yukari!~Yukari@user/yukari> has quit IRC (Remote host closed the connection) | 23:32 | |
*** Yukari <Yukari!~Yukari@user/yukari> has joined #bzflag | 23:32 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!