View topic - XTA and engine 0.83



All times are UTC + 1 hour


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: XTA and engine 0.83
PostPosted: 11 Jul 2011, 20:24 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
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

viewtopic.php?f=14&t=26358&p=493353 etc


Top
 Offline Profile  
 
 Post subject: Re: XTA and engine 0.83
PostPosted: 11 Jul 2011, 23:55 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
Why was setunitlineage removed? How do we now set the lineage to a morphed commander then?


Top
 Offline Profile  
 
 Post subject: Re: XTA and engine 0.83
PostPosted: 12 Jul 2011, 02:13 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Anyway it's not like lineage matters since game end condition is removed too....


Top
 Online Profile  
 
 Post subject: Re: XTA and engine 0.83
PostPosted: 12 Jul 2011, 15:19 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
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()" ?


Top
 Offline Profile  
 
 Post subject: Re: XTA and engine 0.83
PostPosted: 12 Jul 2011, 18:23 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
yes there is. there are at least two even, and they are documented on the wiki.


Top
 Offline Profile  
 
 Post subject: Re: XTA and engine 0.83
PostPosted: 12 Jul 2011, 18:26 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
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 ;)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.