changing yardmaps (possibly backward compatibility breaking) - Page 3

changing yardmaps (possibly backward compatibility breaking)

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

Moderator: Moderators

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: changing yardmaps (possibly backward compatibility breaking)

Post by FLOZi »

jK wrote:
Jools wrote:
Forboding Angel wrote:With zero descriptions. You see a yardmap tag. You understand that yardmaps are blocking maps. You know nothing of what the letters mean.
They are not letters. You see a yardmap code, if you raytrace it you see what's blocking and what's not. Simple.
Sure they are not letters, but then you assume they correspondent to all pen & paper games!
I've never even heard of this correspondence to pen and paper games. :?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: changing yardmaps (possibly backward compatibility breaking)

Post by Forboding Angel »

jK wrote:
Jools wrote:
Forboding Angel wrote:With zero descriptions. You see a yardmap tag. You understand that yardmaps are blocking maps. You know nothing of what the letters mean.
They are not letters. You see a yardmap code, if you raytrace it you see what's blocking and what's not. Simple.
Sure they are not letters, but then you assume they correspondent to all pen & paper games!
^^ this.
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: changing yardmaps (possibly backward compatibility breaking)

Post by Deadnight Warrior »

Forboding Angel wrote:With zero descriptions. You see a yardmap tag. You understand that yardmaps are blocking maps. You know nothing of what the letters mean.
If you interested in making game content for Spring and encounter something you don't recognize, you consult with the docs.
The most commonly used syntax in programming languageges for assigning an expression to a variable is res=exp; which is completely against math rules when used in a=a+1; If this confuses you because you're a mathemathician, you look at the docs.
Just because some syntax might be more intuitive to P&P players or musicians or someone else, it doesn't mean it's better than any other syntax.
zwzsg wrote:If it is just switching the characters around their role so they make more sense to you, then DO NOT DO IT!
This is a direct result of:
zwzsg wrote:I know how you all enjoy pretending Spring has nothing to do with TA
I've been looking in the Spring source related to the yardmaps and a inverted "c" cell (let's call it "i" as jk suggested) should be very simple to add and wellcome. The bugs I've encountered is in the closeYard() part where all units must leave the entire yardmap and not only "c" cells, so even if a unit is standing on "y" factory won't close. Also, while under construction all yardmap cells seem to be treated as "o" since I can't place an overlaping building until the first one finishes.
Post Reply

Return to “Engine”