From: <cl...@us...> - 2007-06-18 12:24:20
|
Revision: 4 http://fortress.svn.sourceforge.net/fortress/?rev=4&view=rev Author: clrg Date: 2007-06-18 05:24:21 -0700 (Mon, 18 Jun 2007) Log Message: ----------- Add initial Fortress vexi prototype, currently just tiled grass Added Paths: ----------- trunk/Prototype/doc/ trunk/Prototype/doc/empty.t trunk/Prototype/src/ trunk/Prototype/src/main.t trunk/Prototype/src/net/ trunk/Prototype/src/net/sourceforge/ trunk/Prototype/src/net/sourceforge/fortress/ trunk/Prototype/src/net/sourceforge/fortress/app.t trunk/Prototype/src/net/sourceforge/fortress/image/ trunk/Prototype/src/net/sourceforge/fortress/image/grass0.png trunk/Prototype/src/net/sourceforge/fortress/image/grass1.png trunk/Prototype/src/net/sourceforge/fortress/image/grass2.png trunk/Prototype/src/net/sourceforge/fortress/image/grass3.png trunk/Prototype/src/net/sourceforge/fortress/image/grass4.png trunk/Prototype/src/net/sourceforge/fortress/image/grass5.png trunk/Prototype/src/net/sourceforge/fortress/image/grass6.png trunk/Prototype/src/net/sourceforge/fortress/image/grass7.png trunk/Prototype/src/net/sourceforge/fortress/image/grass8.png trunk/Prototype/src/net/sourceforge/fortress/image/grass9.png trunk/Prototype/src/net/sourceforge/fortress/map.t trunk/Prototype/src/net/sourceforge/fortress/maptile.t trunk/Prototype/xcf/ trunk/Prototype/xcf/grasstile.xcf Added: trunk/Prototype/doc/empty.t =================================================================== --- trunk/Prototype/doc/empty.t (rev 0) +++ trunk/Prototype/doc/empty.t 2007-06-18 12:24:21 UTC (rev 4) @@ -0,0 +1,7 @@ +<!-- Copyright 2007 licensed under GPL v3 --> + +<vexi xmlns:ui="vexi://ui" xmlns="net.sourceforge.fortress"> + <ui:box> + + </ui:box> +</vexi> Added: trunk/Prototype/src/main.t =================================================================== --- trunk/Prototype/src/main.t (rev 0) +++ trunk/Prototype/src/main.t 2007-06-18 12:24:21 UTC (rev 4) @@ -0,0 +1,5 @@ +<!-- Copyright 2007 licensed under GPL v3 --> + +<vexi xmlns:ui="vexi://ui" xmlns="net.sourceforge.fortress"> + <app /> +</vexi> Added: trunk/Prototype/src/net/sourceforge/fortress/app.t =================================================================== --- trunk/Prototype/src/net/sourceforge/fortress/app.t (rev 0) +++ trunk/Prototype/src/net/sourceforge/fortress/app.t 2007-06-18 12:24:21 UTC (rev 4) @@ -0,0 +1,10 @@ +<!-- Copyright 2007 licensed under GPL v3 --> + +<vexi xmlns:ui="vexi://ui" xmlns="net.sourceforge.fortress"> + <ui:box> + <map packed="false" /> + + vexi.ui.frame = thisbox; + + </ui:box> +</vexi> \ No newline at end of file Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass0.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass0.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass1.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass1.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass2.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass3.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass3.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass4.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass4.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass5.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass5.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass6.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass6.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass7.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass7.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass8.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass8.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/image/grass9.png =================================================================== (Binary files differ) Property changes on: trunk/Prototype/src/net/sourceforge/fortress/image/grass9.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/Prototype/src/net/sourceforge/fortress/map.t =================================================================== --- trunk/Prototype/src/net/sourceforge/fortress/map.t (rev 0) +++ trunk/Prototype/src/net/sourceforge/fortress/map.t 2007-06-18 12:24:21 UTC (rev 4) @@ -0,0 +1,12 @@ +<!-- Copyright 2007 licensed under GPL v3 --> + +<vexi xmlns:ui="vexi://ui" xmlns="net.sourceforge.fortress"> + <ui:box cols="50" shrink="true"> + + for (var i=0; 2500>i; i++) + { + thisbox[i] = .maptile(vexi.box); + } + + </ui:box> +</vexi> \ No newline at end of file Added: trunk/Prototype/src/net/sourceforge/fortress/maptile.t =================================================================== --- trunk/Prototype/src/net/sourceforge/fortress/maptile.t (rev 0) +++ trunk/Prototype/src/net/sourceforge/fortress/maptile.t 2007-06-18 12:24:21 UTC (rev 4) @@ -0,0 +1,12 @@ +<!-- Copyright 2007 licensed under GPL v3 --> + +<vexi xmlns:ui="vexi://ui" xmlns="net.sourceforge.fortress"> + <ui:box shrink="true"> + + var type = "grass"; + var seed = vexi.math.floor(vexi.math.random()*10); + + fill = .image[type+seed]; + + </ui:box> +</vexi> \ No newline at end of file Added: trunk/Prototype/xcf/grasstile.xcf =================================================================== (Binary files differ) Property changes on: trunk/Prototype/xcf/grasstile.xcf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |