Modifications to make the game more generic.

Included in a new modrules.xml tags.
 <cardgui>
   <background> Stores information concerning the colors </ background>
   <renderbig> Stores information to draw the card </ renderbig>
  <rendertinycrop> Stores information to draw the card </ rendertinycrop>
 </ cardgui>

 Change the variables array for vectors
This commit is contained in:
rodrigodemoura@gmail.com
2011-10-13 12:25:58 +00:00
parent dee49728aa
commit e6b199f599
30 changed files with 919 additions and 556 deletions

View File

@@ -13,4 +13,32 @@
<other>
<item displayName="Trophy Room" action="trophies" key="btn_next" />
</other>
</menu>
</menu>
<cardgui>
<background>
<card id="6" color="artifact" img="artifact.jpg" thumb="artifact_thumb.jpg" menuicon="1"/>
<card id="0" color="green" img="green.jpg" thumb="green_thumb.jpg" menuicon="1"/>
<card id="1" color="blue" img="blue.jpg" thumb="blue_thumb.jpg" menuicon="1"/>
<card id="3" color="red" img="red.jpg" thumb="red_thumb.jpg" menuicon="1"/>
<card id="2" color="black" img="black.jpg" thumb="black_thumb.jpg" menuicon="1"/>
<card id="4" color="white" img="white.jpg" thumb="white_thumb.jpg" menuicon="1"/>
<card id="5" color="land" img="land.jpg" thumb="land_thumb.jpg" menuicon="1"/>
<card id="7" color="gold" img="gold.jpg" thumb="gold_thumb.jpg" menuicon="0"/>
</background>
<renderbig>
<item name="title" posx="22" posy="25" formattedtext="" type=""/>
<item name="description" posx="22" posy="80" formattedtext="" type=""/>
<item name="powerlife" posx="158" posy="106" formattedtext="power/life" type="creature"/>
<item name="mana" posx="75" posy="-112" formattedtext="" type=""/>
<item name="types" posx="22" posy="49" formattedtext="" type=""/>
<item name="expansionrarity" posx="22" posy="113" formattedtext="expansion rarity" type=""/>
</renderbig>
<rendertinycrop>
<item name="title" posx="22" posy="25" formattedtext="" type=""/>
<item name="description" posx="22" posy="80" formattedtext="" type=""/>
<item name="powerlife" posx="158" posy="106" formattedtext="power/life" type="creature"/>
<item name="mana" posx="75" posy="-112" formattedtext="" type=""/>
<item name="types" posx="22" posy="49" formattedtext="" type=""/>
<item name="expansionrarity" posx="22" posy="113" formattedtext="expansion rarity" type=""/>
</rendertinycrop>
</cardgui>