major update? damn gruntspud
This commit is contained in:
parent
7081c96372
commit
03691c11ab
40
photon.mm
40
photon.mm
@ -18,11 +18,19 @@
|
|||||||
<node ID="Freemind_Link_385334177" TEXT="Image">
|
<node ID="Freemind_Link_385334177" TEXT="Image">
|
||||||
<icon BUILTIN="button_ok"/>
|
<icon BUILTIN="button_ok"/>
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_561271163" TEXT="Font"/>
|
<node ID="Freemind_Link_561271163" TEXT="Font">
|
||||||
|
<icon BUILTIN="desktop_new"/>
|
||||||
|
</node>
|
||||||
|
</node>
|
||||||
|
<node ID="Freemind_Link_1851655735" TEXT="Music">
|
||||||
|
<icon BUILTIN="help"/>
|
||||||
|
</node>
|
||||||
|
<node ID="Freemind_Link_1045379727" TEXT="Sound">
|
||||||
|
<icon BUILTIN="help"/>
|
||||||
|
</node>
|
||||||
|
<node ID="Freemind_Link_107267630" TEXT=""Engine"">
|
||||||
|
<icon BUILTIN="help"/>
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_1851655735" TEXT="Music"/>
|
|
||||||
<node ID="Freemind_Link_1045379727" TEXT="Sound"/>
|
|
||||||
<node ID="Freemind_Link_107267630" TEXT=""Engine""/>
|
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_188779968" TEXT="Test Suite">
|
<node ID="Freemind_Link_188779968" TEXT="Test Suite">
|
||||||
<node ID="Freemind_Link_1570884553" TEXT="port test-suite to Saturn core">
|
<node ID="Freemind_Link_1570884553" TEXT="port test-suite to Saturn core">
|
||||||
@ -35,7 +43,9 @@
|
|||||||
<icon BUILTIN="button_ok"/>
|
<icon BUILTIN="button_ok"/>
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_279976301" TEXT="Pen"/>
|
<node ID="Freemind_Link_279976301" TEXT="Pen"/>
|
||||||
<node ID="Freemind_Link_609153459" TEXT="Image"/>
|
<node ID="Freemind_Link_609153459" TEXT="Image">
|
||||||
|
<icon BUILTIN="button_ok"/>
|
||||||
|
</node>
|
||||||
<node ID="Freemind_Link_25725154" TEXT="Sound/Music"/>
|
<node ID="Freemind_Link_25725154" TEXT="Sound/Music"/>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
@ -43,32 +53,22 @@
|
|||||||
<node ID="Freemind_Link_714736465" TEXT="Drawing Program?"/>
|
<node ID="Freemind_Link_714736465" TEXT="Drawing Program?"/>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
<node FOLDED="true" ID="Freemind_Link_486829238" POSITION="right" TEXT="0.2 Release">
|
<node ID="Freemind_Link_486829238" POSITION="right" TEXT="0.2 Release">
|
||||||
<node ID="Freemind_Link_216021234" TEXT="Sprite System">
|
<node ID="Freemind_Link_216021234" TEXT="Sprite System">
|
||||||
<font NAME="SansSerif" SIZE="12"/>
|
<font NAME="SansSerif" SIZE="12"/>
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_1497432478" TEXT="Particle System"/>
|
<node ID="Freemind_Link_1497432478" TEXT="Particle System"/>
|
||||||
|
<node ID="Freemind_Link_1339011485" TEXT="Tilemap System"/>
|
||||||
|
<node ID="Freemind_Link_1070201117" TEXT="Transitions"/>
|
||||||
<node ID="Freemind_Link_654490435" TEXT="Second Example Game"/>
|
<node ID="Freemind_Link_654490435" TEXT="Second Example Game"/>
|
||||||
</node>
|
</node>
|
||||||
<node FOLDED="true" ID="Freemind_Link_1046282376" POSITION="left" TEXT="What is the Saturn Core?">
|
<node ID="Freemind_Link_351891371" POSITION="left" TEXT="General Mateinance">
|
||||||
<font NAME="SansSerif" SIZE="12"/>
|
|
||||||
<node ID="Freemind_Link_1988477058" TEXT="New Core System"/>
|
|
||||||
<node ID="Freemind_Link_375964485" TEXT="Core/Task/Kernel design"/>
|
|
||||||
<node ID="Freemind_Link_1501464831" TEXT="Tasks are "rings" in that they are fundamental to 
the Cores which they are associated with."/>
|
|
||||||
<node FOLDED="true" ID="Freemind_Link_953342417" TEXT="Also the 6th design from ZEngine">
|
|
||||||
<node ID="Freemind_Link_1672529041" TEXT="Mercury - Original ZEngine"/>
|
|
||||||
<node ID="Freemind_Link_1954983922" TEXT="Venus - Second ZEngine (0.7/0.8)"/>
|
|
||||||
<node ID="Freemind_Link_1420862156" TEXT="Earth - Nova"/>
|
|
||||||
<node ID="Freemind_Link_1279393892" TEXT="Mars - Photon/Amph"/>
|
|
||||||
<node ID="Freemind_Link_1083205841" TEXT="Jupiter - Initial rewrite of Photon"/>
|
|
||||||
</node>
|
|
||||||
</node>
|
|
||||||
<node FOLDED="true" ID="Freemind_Link_351891371" POSITION="left" TEXT="General Mateinance">
|
|
||||||
<font BOLD="true" NAME="SansSerif" SIZE="12"/>
|
<font BOLD="true" NAME="SansSerif" SIZE="12"/>
|
||||||
<node ID="Freemind_Link_1978849189" TEXT="Clean up CVS">
|
<node ID="Freemind_Link_1978849189" TEXT="Clean up CVS">
|
||||||
<font NAME="SansSerif" SIZE="12"/>
|
<font NAME="SansSerif" SIZE="12"/>
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_1642641448" TEXT="Ensure compilation succeeds on Win/Linux simultaneously"/>
|
<node ID="Freemind_Link_1642641448" TEXT="Ensure compilation succeeds on Win/Linux simultaneously"/>
|
||||||
|
<node ID="Freemind_Link_330674889" TEXT="Find an OSX user to test"/>
|
||||||
</node>
|
</node>
|
||||||
<node ID="Freemind_Link_682620075" POSITION="left" TEXT="Current Problems">
|
<node ID="Freemind_Link_682620075" POSITION="left" TEXT="Current Problems">
|
||||||
<font BOLD="true" NAME="SansSerif" SIZE="12"/>
|
<font BOLD="true" NAME="SansSerif" SIZE="12"/>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// James Turk (jpt2433@rit.edu)
|
// James Turk (jpt2433@rit.edu)
|
||||||
//
|
//
|
||||||
// Version:
|
// Version:
|
||||||
// $Id: Image_test.cpp,v 1.1 2005/06/27 04:27:49 cozman Exp $
|
// $Id: Image_test.cpp,v 1.2 2005/06/29 00:02:51 cozman Exp $
|
||||||
|
|
||||||
#include "photon.hpp"
|
#include "photon.hpp"
|
||||||
using namespace photon;
|
using namespace photon;
|
||||||
@ -33,10 +33,14 @@ public:
|
|||||||
video::Image::addResource("data/test.png");
|
video::Image::addResource("data/test.png");
|
||||||
video::Texture::addResource("test2","data/test2.png");
|
video::Texture::addResource("test2","data/test2.png");
|
||||||
|
|
||||||
img[0].open("data/test.png");
|
img[0].open("test2");
|
||||||
img[0].resize(100,100);
|
img[0].setAlpha(128);
|
||||||
img[1].open("test2");
|
img[0].resize(100,200);
|
||||||
img[2] = img[1];
|
|
||||||
|
img[1].open("data/test.png");
|
||||||
|
|
||||||
|
img[2] = img[0];
|
||||||
|
img[2].flip(true,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void update()
|
void update()
|
||||||
@ -58,7 +62,7 @@ public:
|
|||||||
|
|
||||||
if(img[2])
|
if(img[2])
|
||||||
{
|
{
|
||||||
img[2].draw(100,500);
|
img[2].draw(100,400);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user