AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2012-08-02 20:59:00 (12 years 4 months ago)
Author:Natalie Adams
Branch:default
Commit:821e630e3e35
Parents: e14c3e870754
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:
Maxios/Axios_WP7.csproj (1 diff)
Maxios/Axios_Windows.csproj (1 diff)
Maxios/Axios_Xbox_360.csproj (1 diff)
Maxios/Axios_settings.cs (1 diff)
Maxios/Engine/Extensions/Texture2D.cs (1 diff)
Maxios/Properties/AssemblyInfo.cs (1 diff)
Maxios/ScreenSystem/ScreenManager.cs (1 diff)

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

Page rendered in 0.44153s using 14 queries.