Planning for SDL 2.0

Planning for SDL 2.0

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Planning for SDL 2.0

Post by el_matarife »

SDL 1.3 is still in progress, but has been deemed significant enough to become SDL 2.0, and it may require some changes in Spring. Here's the Icculus article covering the changes.

The most important changes to note are the new window positioning API that could fix some of the longstanding bugs where Spring in windowed mode could spawn partially off screen. There is also true multi-display and multi-window support if someone wants to work on a real Supreme Commander style multiple window interface.

Additionally, the way SDL handles the mouse wheel has been redone. Now mouse wheel up and down aren't mouse 4 and 5, and there is support for horizontal mouse wheel movement. I can see the horizontal mouse wheel movement support in Spring being used for rotating the view angle, or possibly a new bind that uses the mouse wheel for rapidly panning across the map now that up/down/left/right are usable from the mouse wheel.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

Up

I'd like to know the point of viewof developpers on this subject. Is there any future plan to use that lib ?
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Post by el_matarife »

It is worth noting that this still isn't quite out yet. I also can't figure out if they fixed that regression bug we had that made us go back a few point releases either. Still, some of the abilities in this release could allow for some really amazing features in whatever release we manage to incorporate it in.
Post Reply

Return to “Engine”