axiosengine 

axiosengine Commit Details


Date:2012-08-02 20:59:41 (12 years 2 months ago)
Author:Natalie Adams
Branch:master
Commit:4c7c9e6d6186217a7233be39293d44369d2c84c4
Parents: 9bab7985ee8c836a0cb1ba90b06a394b7921a91f
Message:* - Adding Factory for Texture2D to create from a list (ie lay a list of texture2D row by row) * - Adding AddScreen method to ScreenManager to make the PlayerIndex optional (default of PlayerIndex.One)

Changes:

File differences

axios/Axios_WP7.csproj
173173
174174
175175
176
176177
177178
178179
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\Factories\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />
<Compile Include="Engine\File\AxiosIsolatedFile.cs" />
<Compile Include="Engine\File\AxiosRegularFile.cs" />
axios/Axios_Windows.csproj
216216
217217
218218
219
219220
220221
221222
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\Factories\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />
<Compile Include="Engine\File\AxiosIsolatedFile.cs" />
<Compile Include="Engine\File\AxiosRegularFile.cs" />
axios/Axios_Xbox_360.csproj
166166
167167
168168
169
169170
170171
171172
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\Factories\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />
<Compile Include="Engine\File\AxiosIsolatedFile.cs" />
<Compile Include="Engine\File\AxiosRegularFile.cs" />
axios/Axios_settings.cs
112112
113113
114114
115
116
117
118
115119
116120
117121
* - Passing Layer to Items in Glee2D library
* - Adding public virtual bool LoadTextureItem(TextureItem textureitem) to AxiosGameScreen
*
* 1.0.1.7 - 7/22/2012
* - Adding Factory for Texture2D to create from a list (ie lay a list of texture2D row by row)
* - Adding AddScreen method to ScreenManager to make the PlayerIndex optional (default of PlayerIndex.One)
*
*/
#endregion
axios/Engine/Extensions/Texture2D.cs
1
1
22
33
44

using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
axios/Properties/AssemblyInfo.cs
3131
3232
3333
34
34
3535
3636
3737
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.1.6")]
[assembly: AssemblyVersion("1.0.1.7")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
axios/ScreenSystem/ScreenManager.cs
289289
290290
291291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
292313
293314
294315
TouchPanel.EnabledGestures = screen.EnabledGestures;
}
/// <summary>
/// Adds a new screen to the screen manager with a default PlayerIndex of one
/// </summary>
public void AddScreen(GameScreen screen)
{
screen.ControllingPlayer = PlayerIndex.One;
screen.ScreenManager = this;
screen.IsExiting = false;
// If we have a graphics device, tell the screen to load content.
if (isInitialized)
{
screen.Activate(false);
}
screens.Add(screen);
// update the TouchPanel to respond to gestures this screen is interested in
TouchPanel.EnabledGestures = screen.EnabledGestures;
}
/// <summary>
/// Removes a screen from the screen manager. You should normally

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.19417s using 14 queries.