Hi there!
I'm working on a modification for dual screen arrangements.
I was quite successful with the main interface. Everything is in the right place.
But I'm in trouble with the camera. Everytime the camera focuses a unit, a city or something, it is on the gap between both displays.
In most cases the function lookat() is used to focus an object. This function takes the coordinates of the obejct. In order to shift the object to the center of one display I would have to let the camera focus a plot somewhat right or left of the desired object.
But that seems to be tricky:
1) Every single call of lookat() has to be modified
2) The shift distance depends on the current zoom level.
Does anybody know a more simple way to let the camera always focus at a certain position of the screen?
Second question:
There are some popups I haven't found a way to move around on the screen.
It's the diplomacy screen and all those popups on the right (main menu, city build list, random events and so on).
How can I do that?
Matze
Edit: some keywords for the search: multi, monitor, resolution, panel
I'm working on a modification for dual screen arrangements.
I was quite successful with the main interface. Everything is in the right place.
But I'm in trouble with the camera. Everytime the camera focuses a unit, a city or something, it is on the gap between both displays.
In most cases the function lookat() is used to focus an object. This function takes the coordinates of the obejct. In order to shift the object to the center of one display I would have to let the camera focus a plot somewhat right or left of the desired object.
But that seems to be tricky:
1) Every single call of lookat() has to be modified
2) The shift distance depends on the current zoom level.
Does anybody know a more simple way to let the camera always focus at a certain position of the screen?
Second question:
There are some popups I haven't found a way to move around on the screen.
It's the diplomacy screen and all those popups on the right (main menu, city build list, random events and so on).
How can I do that?
Matze
Edit: some keywords for the search: multi, monitor, resolution, panel