Свойство | Тип | Описание | |
---|---|---|---|
Atlas | Microsoft.Xna.Framework.Graphics.Texture2D | ||
MASK_COLORS | uint[] | ||
RegenData | bool | ||
Shader2D | |||
ShadowRes | int | ||
ShadowsEnabled | bool | ||
m_GraphicsDevice | GraphicsDevice | ||
m_Roads | Microsoft.Xna.Framework.Graphics.Texture2D[] | ||
m_ZoomProgress | float | ||
m_Zoomed | bool |
Метод | Описание | |
---|---|---|
Add ( |
||
ClearOldData ( ) : void | ||
CreateRoadAtlas ( Microsoft.Xna.Framework.Graphics.Texture2D input, |
||
CreateTextureAtlas ( |
Creates a texture atlas with which to texture the terrain.
|
|
CreateTransparencyAtlas ( |
Creates a transparency atlas with which to texture the terrain.
|
|
DeviceReset ( GraphicsDevice Device ) : void | ||
Draw ( GraphicsDevice gfx ) : void | ||
Draw2DPoly ( ) : void | ||
DrawTooltip ( |
Draws a tooltip at the specified coordinates.
|
|
GenerateAssets ( ) : void | ||
GenerateCityMesh ( GraphicsDevice GfxDevice ) : void | ||
GetElements ( ) : List<_3DComponent> | ||
Initialize ( String CityName, |
||
LoadContent ( GraphicsDevice GfxDevice ) : void | ||
SetTimeOfDay ( double time ) : void | ||
Terrain ( GraphicsDevice Device ) : System | ||
UIMouseEvent ( String type ) : void | ||
UnloadEverything ( ) : void | ||
Update ( UpdateState state ) : void | ||
populateCityLookup ( |
||
transformSpr ( float iScale, Vector3 pos ) : Vector2 |
Метод | Описание | |
---|---|---|
BuyPropertyAlert_OnButtonClick ( |
Player selected "yes" to buy a new lot.
|
|
CalculateR ( Vector2 m ) : Vector2 | ||
Controller_OnLotCost ( |
||
Controller_OnLotPurchaseFailed ( Network e ) : void | ||
Controller_OnLotPurchaseSuccessful ( int Money ) : void | ||
Controller_OnLotUnbuildable ( ) : void | ||
ConvertToBinaryArray ( Color ColorArray ) : byte[] | ||
DrawDepth ( |
||
DrawHouses ( float HB ) : void | ||
DrawLine ( Microsoft.Xna.Framework.Graphics.Texture2D Fill, Vector2 Start, Vector2 End, |
||
DrawSpotlights ( float HB ) : void | ||
DrawSprites ( float HB, float VB ) : void | ||
DrawTileBorders ( float iScale, |
||
FixedTimeUpdate ( ) : void | ||
GetBlend ( Color TerrainTypeData, int i, int j ) : |
||
GetHoverSquare ( ) : int[] | ||
IsInsidePoly ( double Poly, double Pos ) : bool | ||
LoadTex ( Stream stream ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
LoadTex ( string Path ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
PathTile ( int x, int y, float iScale, float opacity ) : void | ||
ToBinaryString ( int Array ) : string | ||
ZeroPad ( string Str, int NumZeroes ) : string | ||
drawBorderSide ( Vector2 xy, Vector2 xy2, Vector2 xy3, Vector2 xy4, |
||
drawPartLine ( Vector2 xy, Vector2 xy2, |
||
drawTileCorner ( Vector2 xy, Vector2 xy2, Vector2 xy3, |
||
isLandBuildable ( int x, int y ) : bool | ||
m_PacketTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
populateCityLookup ( ) : void |
public Add ( |
||
item | ||
Результат | void |
public CreateRoadAtlas ( Microsoft.Xna.Framework.Graphics.Texture2D input, |
||
input | Microsoft.Xna.Framework.Graphics.Texture2D | |
spriteBatch | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public CreateTextureAtlas ( |
||
spriteBatch | A spritebatch to draw with. | |
Результат | void |
public CreateTransparencyAtlas ( |
||
spriteBatch | A spritebatch to draw with. | |
Результат | void |
public DeviceReset ( GraphicsDevice Device ) : void | ||
Device | GraphicsDevice | |
Результат | void |
public DrawTooltip ( |
||
batch | A SpriteBatch instance. | |
tooltip | string | String to be drawn. |
position | Vector2 | Position of tooltip. |
opacity | float | Tooltip's opacity. |
Результат | void |
public GenerateCityMesh ( GraphicsDevice GfxDevice ) : void | ||
GfxDevice | GraphicsDevice | |
Результат | void |
public GetElements ( ) : List<_3DComponent> | ||
Результат | List<_3DComponent> |
public Initialize ( String CityName, |
||
CityName | String | |
cityData | ||
Результат | void |
public LoadContent ( GraphicsDevice GfxDevice ) : void | ||
GfxDevice | GraphicsDevice | |
Результат | void |
public SetTimeOfDay ( double time ) : void | ||
time | double | |
Результат | void |
public Terrain ( GraphicsDevice Device ) : System | ||
Device | GraphicsDevice | |
Результат | System |
public UIMouseEvent ( String type ) : void | ||
type | String | |
Результат | void |
public Update ( UpdateState state ) : void | ||
state | FSO.Common.Rendering.Framework.Model.UpdateState | |
Результат | void |
public populateCityLookup ( |
||
TileData | ||
Результат | void |
public transformSpr ( float iScale, Vector3 pos ) : Vector2 | ||
iScale | float | |
pos | Vector3 | |
Результат | Vector2 |
public Texture2D,Microsoft.Xna.Framework.Graphics Atlas | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public Effect,Microsoft.Xna.Framework.Graphics Shader2D | ||
Результат |
public Texture2D[],Microsoft.Xna.Framework.Graphics m_Roads | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D[] |