XTA and engine 0.83

XTA and engine 0.83

Hearken back to the days of yore and enjoy the first major Spring module!

Moderators: Moderators, Content Developer

Post Reply
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

XTA and engine 0.83

Post by knorke »

y u no work!!
SetUnitLineage must be removed, it is used in several places and ie after the commander can not move anymore after upgrading due to lua errors

http://springrts.com/phpbb/viewtopic.ph ... 8&p=493353 etc
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA and engine 0.83

Post by Jools »

Why was setunitlineage removed? How do we now set the lineage to a morphed commander then?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: XTA and engine 0.83

Post by zwzsg »

Anyway it's not like lineage matters since game end condition is removed too....
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA and engine 0.83

Post by Jools »

Ok, that's a good explanation.

Do we need to make all widgets backwards compatible? I believe 0.83 has a new function that is called "Spring.PlaySoundStream()", which I believe isn't supported in previous versions. How do I check for a spring version, is there a function such as "Spring.getVersion()" ?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: XTA and engine 0.83

Post by hoijui »

yes there is. there are at least two even, and they are documented on the wiki.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA and engine 0.83

Post by Jools »

Okay, but it turned out the PlaySoundStream works already, it's just that it doesn't work with a mono vorbis file (needs stereo), whereas PlaySoundFile does work with that.

That's not documented in the wiki and took me some time to sort out ;)
Post Reply

Return to “XTA”