Method | Description | |
---|---|---|
CreateDynamicVertexBuffer ( |
||
CreateEffect ( ) : |
||
CreateIndexBuffer ( IndexElementSize id, int s, BufferUsage usage = BufferUsage.WriteOnly ) : IndexBuffer | ||
CreateRenderTarget2D ( int w, int h, SurfaceFormat sf = SurfaceFormat.Color, DepthFormat df = DepthFormat.Depth24Stencil8, RenderTargetUsage usage = RenderTargetUsage.DiscardContents, int msc = 1, bool mipmap = false ) : |
||
CreateTexture2D ( int w, int h, SurfaceFormat format = SurfaceFormat.Color, bool mipmap = false ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
CreateVertexBuffer ( |
||
CreateVoxGeos ( |
||
Dispose ( ) : void | ||
Draw ( |
||
DrawHealth ( ) : void | ||
DrawMap ( Matrix mV, Matrix mP ) : void | ||
HookToGame ( |
||
LoadEffect ( string file ) : |
||
LoadFont ( string file ) : |
||
LoadTexture2D ( Stream s ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
LoadTexture2D ( string file ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
RTSRenderer ( GraphicsDeviceManager gdm, Microsoft.Xna.Framework.Content.ContentManager cm, |
||
Update ( |
||
UpdateAnimations ( |
||
UpdateSelections ( Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture &verts, int &inds ) : void | ||
UpdateVisible ( CollisionGrid cg ) : void |
Method | Description | |
---|---|---|
DrawBuildings ( ) : void | ||
DrawParticles ( float t ) : void | ||
DrawSelectionBox ( ) : void | ||
DrawSelectionCircles ( Vector3 c ) : void | ||
DrawUnits ( ) : void | ||
LoadTeamVisuals ( |
||
OnFOWChange ( int x, int y, int p, FogOfWar f ) : void | ||
OnMouseMove ( Vector2 p, Vector2 d ) : void | ||
OnMousePress ( Vector2 p, MouseButton b ) : void | ||
OnMouseRelease ( Vector2 p, MouseButton b ) : void |
public CreateDynamicVertexBuffer ( |
||
vd | ||
s | int | |
usage | BufferUsage | |
return | DynamicVertexBuffer |
public CreateEffect ( ) : |
||
return |
public CreateIndexBuffer ( IndexElementSize id, int s, BufferUsage usage = BufferUsage.WriteOnly ) : IndexBuffer | ||
id | IndexElementSize | |
s | int | |
usage | BufferUsage | |
return | IndexBuffer |
public CreateRenderTarget2D ( int w, int h, SurfaceFormat sf = SurfaceFormat.Color, DepthFormat df = DepthFormat.Depth24Stencil8, RenderTargetUsage usage = RenderTargetUsage.DiscardContents, int msc = 1, bool mipmap = false ) : |
||
w | int | |
h | int | |
sf | SurfaceFormat | |
df | DepthFormat | |
usage | RenderTargetUsage | |
msc | int | |
mipmap | bool | |
return |
public CreateTexture2D ( int w, int h, SurfaceFormat format = SurfaceFormat.Color, bool mipmap = false ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
w | int | |
h | int | |
format | SurfaceFormat | |
mipmap | bool | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public CreateVertexBuffer ( |
||
vd | ||
s | int | |
usage | BufferUsage | |
return | VertexBuffer |
public CreateVoxGeos ( |
||
atlas | ||
return | void |
public Draw ( |
||
s | ||
dt | float | |
return | void |
public DrawMap ( Matrix mV, Matrix mP ) : void | ||
mV | Matrix | |
mP | Matrix | |
return | void |
public HookToGame ( |
||
state | ||
ti | int | |
camera | ||
return | void |
public LoadEffect ( string file ) : |
||
file | string | |
return |
public LoadFont ( string file ) : |
||
file | string | |
return |
public LoadTexture2D ( Stream s ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
s | Stream | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public LoadTexture2D ( string file ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
file | string | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public RTSRenderer ( GraphicsDeviceManager gdm, Microsoft.Xna.Framework.Content.ContentManager cm, |
||
gdm | GraphicsDeviceManager | |
cm | Microsoft.Xna.Framework.Content.ContentManager | |
ria | ||
w | ||
return | System |
public Update ( |
||
state | ||
return | void |
public UpdateAnimations ( |
||
s | ||
dt | float | |
return | void |
public UpdateSelections ( Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture &verts, int &inds ) : void | ||
verts | Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture | |
inds | int | |
return | void |
public UpdateVisible ( CollisionGrid cg ) : void | ||
cg | CollisionGrid | |
return | void |