Search

Search found 4 matches

by Xytovl
23 Feb 2010, 14:21
Forum: Engine
Topic: Dualscreen / External Minimap
Replies: 12
Views: 3133

Re: Dualscreen / External Minimap

There is also the option to use an OS-specific API to get the screen geometry, and modify the engine to draw it right. I don't know how multiscreen works on Windows, but on Linux (X11) you see one big area and query for rectangles representing the physical devices. Spring uses this system now but as...
by Xytovl
16 Jan 2010, 22:40
Forum: Engine
Topic: Xinerama dualscreen in Linux
Replies: 4
Views: 1219

Re: Xinerama dualscreen in Linux

I think there are problems with the coordinate system: I managed having all the glViewport calls use the right offset so all graphics are drawn at the right place. But I can't get the mouse to work, and I don't understand where the data comes from and when it is translated from one coord system to a...
by Xytovl
15 Jan 2010, 23:52
Forum: Engine
Topic: Xinerama dualscreen in Linux
Replies: 4
Views: 1219

Re: Xinerama dualscreen in Linux

I have updated the patch, it is cleaner and should handle left/right according to xinerama position. I have also tried to see how I can get it to work with the main window on the small screen but with no success. It seems there is a huge mess with gu->viewPosY : it is said it is not used but in fact...
by Xytovl
09 Sep 2009, 14:34
Forum: Engine
Topic: Xinerama dualscreen in Linux
Replies: 4
Views: 1219

Xinerama dualscreen in Linux

This patch uses xinerama to retrieve info about screens and have the minimap on one screen and the game on the other, even if they are not the same size. There are some bugs of course : *if the minimap screen is higher than the main screen, everything is misplaced. I think this comes from viewPosY n...

Go to advanced search