View topic - What's going on with mapinfo.lua?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 21 Apr 2011, 01:44 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Apparently things are changing, I am pretty much the only guy who works with this stuff and I am still unpacking but If you guys could let me know what is going on it would be awesome.


Top
 Offline Profile  
 
PostPosted: 21 Apr 2011, 02:13 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Additionally, a pastebin of current mapinfo (I know jk has been working with this) would be lovely :-)


Top
 Offline Profile  
 
PostPosted: 21 Apr 2011, 02:15 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
I don't really care about the process, I just want the details on what was broken, what is fixed, what changed and what I will need to update.

ESP if this is coming soon and DOUBLE ESPECIALLY IF it breaks anything.


Top
 Offline Profile  
 
PostPosted: 21 Apr 2011, 14:35 
Moderator

Joined: 19 May 2009, 20:10
smoth wrote:
Apparently things are changing

active developers => changes
Quote:
I am pretty much the only guy who works with this stuff

No.
smoth wrote:
I don't really care about the process

The process doesn't really care about you.
Quote:
, I just want the details on what was broken, what is fixed, what changed and what I will need to update.

Current mapinfo.lua works with master (0.82.3-1742-ge7c93ab).
So I don't see something that is generally broken, so no need for updates.
Without further information I assume fixes for counter cases or code refactoring.


Top
 Offline Profile  
 
PostPosted: 21 Apr 2011, 15:32 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
"no" oh? Who else?

Process misses me but she is a bitch so *forget* her

Dunno Mav I was told there was some major refactor coming.


Top
 Offline Profile  
 
PostPosted: 21 Apr 2011, 23:50 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
k

Before there were 2 mapinfo.lua's one in the basedir (loaded by the ArchiveScanner) and a 2nd in maphelper/ (used by MapInfo). So the first contained archive related data and the other one startpos, lighting, ...
But having 2 files with the same name is extremely confusing and a source of new bugs.
So I decided to drop the maphelper one and to move everything to the basedir one. But for backward compatibility it still checks the maphelper one if the basedir one doesn't exists, so as long as your map didn't had a basedir one yet everything is fine. And because it seems Forb is the first one who wanted to play with map dependencies, no map should be broken. For ppl who want to make usage of it before 0.83 should just create the basedir one and a redirection lua in the maphelper (for an example how to do that, wait for my example map container).

So because I did a few changes to the sound system I wanted to make available via the mapinfo.lua. I already had the wish to write a clean implementation of mapinfo/mapoptions all mappers can use in the future. So you just have to put in your smf+smt, edit the default configs and fine is.
I will create a new thread for it when it's ready.


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 1 guest


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.