Mechanized Assault & eXploration Reloaded



#1 Oct 06, 2016 9:03 pm
mdooligan mdooligan Offline
Approved Member
Registered since: Dec 07, 2008
Posts: 36


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.
Miven Dooligan
Peace and cheer
↑  ↓

#2 Oct 14, 2016 6:45 am
nonsinn nonsinn Offline
G-Mod, Approved Member
Registered since: Apr 02, 2012
Posts: 254


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.
[15:23:19] nonsinn [..] heißt nun bug-hunter
[19:58:09] Eiko_ [..] heißt nun mother-of-bugs
[20:38:11] <bug-hunter> mother-of-bugs: ..argh..
[20:38:26] <@mother-of-bugs> want some new bugs?
↑  ↓

#3 Oct 14, 2016 4:46 pm
mdooligan mdooligan Offline
Approved Member
Registered since: Dec 07, 2008
Posts: 36


Subject: Re: Settings option suggestion: Click_to_scroll
Is that where I should put all of my code related commentary?
Miven Dooligan
Peace and cheer
↑  ↓

#4 Oct 15, 2016 4:50 am
nonsinn nonsinn Offline
G-Mod, Approved Member
Registered since: Apr 02, 2012
Posts: 254


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
[15:23:19] nonsinn [..] heißt nun bug-hunter
[19:58:09] Eiko_ [..] heißt nun mother-of-bugs
[20:38:11] <bug-hunter> mother-of-bugs: ..argh..
[20:38:26] <@mother-of-bugs> want some new bugs?
This post has been edited 1 times. Last edit on Oct 15, 2016 5:11 am by nonsinn. ↑  ↓

#5 Oct 15, 2016 10:50 am
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,279


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 :-)
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

#6 Oct 27, 2016 1:00 pm
fyzzo fyzzo Offline
Approved Member
Registered since: Sep 23, 2009
Posts: 281


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.
↑  ↓

Pages (1): 1


All times are GMT +01:00. Current time: 7:10 pm.