Page 1 of 1
XTA and engine 0.83
Posted: 11 Jul 2011, 21:24
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
Re: XTA and engine 0.83
Posted: 12 Jul 2011, 00:55
by Jools
Why was setunitlineage removed? How do we now set the lineage to a morphed commander then?
Re: XTA and engine 0.83
Posted: 12 Jul 2011, 03:13
by zwzsg
Anyway it's not like lineage matters since game end condition is removed too....
Re: XTA and engine 0.83
Posted: 12 Jul 2011, 16:19
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()" ?
Re: XTA and engine 0.83
Posted: 12 Jul 2011, 19:23
by hoijui
yes there is. there are at least two even, and they are documented on the wiki.
Re: XTA and engine 0.83
Posted: 12 Jul 2011, 19:26
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
