mdooligan Oct 06, 2016 10:03 pm
Subject: Settings option suggestion: Click_to_scroll

The first hack I did to 0.2.9 was to comment out src/ui/graphical/game/gamegui.cpp:195
DownloadSource code (Text):
  1.         signalConnectionManager.connect (animationTimer->triggered10msCatchUp, [&]()
  2.         {
  3.                 if (mouseScrollDirection != cPosition (0, 0))
  4.                 {
  5.                 //      gameMap->scroll (mouseScrollDirection);
  6.                 }
  7.         });
because I like to scroll with arrow keys and I don't like it when the map moves because my hand jiggled near the window edge. I think the interplay original had a "Click to scroll" option that disabled automatic map scrolling when the cursor gets near the edge.

nonsinn Oct 14, 2016 7:45 am
Subject: Re: Settings option suggestion: Click_to_scroll

Well I guess meanwhile most player may use the rightclick-scroll and therefore moving the slider for the scrollspeed to the very left position.

But anyways it's not original so plz feel free to open an issue on git else-wise it won't get "fixed" — thx.

mdooligan Oct 14, 2016 5:46 pm
Subject: Re: Settings option suggestion: Click_to_scroll

Is that where I should put all of my code related commentary?

nonsinn Oct 15, 2016 5:50 am
Subject: Re: Settings option suggestion: Click_to_scroll

That's the idea behind open-source and git, isn't it?

But you can also visit the IRC (Forum -> Chat) and see if you can meet one of the "real" coders (eh not me -.-) there. Keep in mind they are most likely from Europe and have some wired stuff like "work" to do which keeps them anyhow busy… so just drop by and hang out there… it's fine and you're welcome Grinning

Hint: currently are a lot of changes in the code ongoing… so yeh I fear talking/chatting/issuing is may better than real coding until the refactoring is done — we got a bad timing on this sorry guys you all popped up to help and then it's the worst time to do so Sad

beko Oct 15, 2016 11:50 am
Subject: Re: Settings option suggestion: Click_to_scroll

Quote by mdooligan:
Is that where I should put all of my code related commentary?
Feel free to simply fork maxr on git.maxr.org. There's a button for this that will simply create and populate your own git repository of maxr .Here you can fiddle with the source and show it to others. You may also create merge requests for bugfixes.

It's like Github but only for us :-)

fyzzo Oct 27, 2016 2:00 pm
Subject: Re: Settings option suggestion: Click_to_scroll

You could look like how other games do it. Some have different sliders for mouse-scroll and arrow-scroll. Also some might prefer to scroll with WASD, not sure if thats implemented.