AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2012-03-24 18:06:00 (12 years 8 months ago)
Author:nathan@daedalus
Branch:default
Commit:c6bbde29ce55
Parents: a2dd021b866c
Message:+ * - Adding properties in DrawableAxiosGameObject to turn on/off the following:

+ * - AdjustUnits
+ * - RelativeToCamera
+ * - Cleaning and sorting using statements
Changes:
Maxios.suo
Maxios/Axios_settings.cs (1 diff)
Maxios/Engine/AxiosBreakableGameObject.cs (1 diff)
Maxios/Engine/AxiosEvents.cs (1 diff)
Maxios/Engine/AxiosGameObject.cs (1 diff)
Maxios/Engine/AxiosGameScreen.cs (1 diff)
Maxios/Engine/AxiosTimer.cs (1 diff)
Maxios/Engine/Data/AxiosCSV.cs (1 diff)
Maxios/Engine/DrawableAxiosGameObject.cs (3 diffs)
Maxios/Engine/Extensions/String.cs (1 diff)
Maxios/Engine/Extensions/Texture2D.cs (1 diff)
Maxios/Engine/File/AxiosFile.cs (1 diff)
Maxios/Engine/File/AxiosIsolatedFile.cs (1 diff)
Maxios/Engine/File/AxiosRegularFile.cs (1 diff)
Maxios/Engine/File/AxiosTitleFile.cs (1 diff)
Maxios/Engine/Interfaces/IAxiosFile.cs (1 diff)
Maxios/Engine/Interfaces/IAxiosGameObject.cs (1 diff)
Maxios/Engine/Interfaces/IDrawableAxiosGameObject.cs (1 diff)
Maxios/Engine/Log/AxiosLog.cs (1 diff)
Maxios/Engine/SimpleAxiosGameObject.cs (1 diff)
Maxios/Engine/SimpleDrawableAxiosGameObject.cs (1 diff)
Maxios/Engine/Singleton.cs (1 diff)
Maxios/Engine/Structures/AxiosPoint.cs (1 diff)
Maxios/Engine/Structures/AxiosRectangle.cs (1 diff)
Maxios/Engine/UI/AxiosButton.cs (1 diff)
Maxios/Engine/UI/AxiosUIObject.cs (1 diff)

File differences

axios/Axios_settings.cs
5151
5252
5353
54
55
56
57
58
5459
5560
5661
5762
58
59
60
63
64
6165
62
63
64
65
66
67
68
69
70
7166
7267
7368
* 1.0.1.1 - 3/22/2012
* - Fixing UI collision with mouse pointer
* - Adding AxiosRectangle and AxiosPoint classes
* - Adding properties in DrawableAxiosGameObject to turn on/off the following:
* - AdjustUnits
* - RelativeToCamera
* - Cleaning and sorting using statements
*
*
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Axios.Engine.Log;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using System.Reflection;
using Axios.Engine.Extenions;
using Axios.Engine.Log;
namespace Axios
{
axios/Engine/AxiosBreakableGameObject.cs
1
2
3
4
5
6
1
72
83
94
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.Dynamics;
using System.Collections.Generic;
using Axios.Engine.Interfaces;
axios/Engine/AxiosEvents.cs
11
2
3
4
52
63
74
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.SamplesFramework;
namespace Axios.Engine
axios/Engine/AxiosGameObject.cs
1
2
3
4
5
1
2
63
74
8
95
106
117
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine.Interfaces;
using Axios.Engine.Interfaces;
using FarseerPhysics.Dynamics;
using FarseerPhysics.SamplesFramework;
using Microsoft.Xna.Framework;
using FarseerPhysics.Dynamics;
namespace Axios.Engine
{
axios/Engine/AxiosGameScreen.cs
11
22
33
4
4
5
6
7
8
9
510
6
7
8
911
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2412
2513
2614
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine.Interfaces;
using Axios.Engine.Log;
using Axios.Engine.Structures;
using Axios.Engine.UI;
using FarseerPhysics.Dynamics;
using FarseerPhysics.SamplesFramework;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Dynamics.Joints;
using FarseerPhysics.Dynamics.Contacts;
using FarseerPhysics.Factories;
using FarseerPhysics.Common;
using FarseerPhysics.SamplesFramework;
using Axios.Engine.Interfaces;
using Axios.Engine.UI;
using Axios.Engine.Log;
using Axios.Engine.File;
using System.IO;
using Axios.Engine.Structures;
namespace Axios.Engine
{
axios/Engine/AxiosTimer.cs
11
2
3
4
52
63
74
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine.Interfaces;
using Microsoft.Xna.Framework;
axios/Engine/Data/AxiosCSV.cs
1
2
3
4
5
1
62
73
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Axios.Engine.File;
namespace Axios.Engine.Data
axios/Engine/DrawableAxiosGameObject.cs
11
2
3
4
5
2
3
64
75
8
9
10
116
127
138
......
1510
1611
1712
18
19
13
2014
2115
22
23
16
17
18
19
20
21
22
23
24
25
26
27
28
29
2430
2531
2632
......
2935
3036
3137
32
33
34
35
36
37
3838
3939
40
41
42
40
4341
4442
4543
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine.Interfaces;
using FarseerPhysics.SamplesFramework;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using FarseerPhysics.Dynamics;
using FarseerPhysics.SamplesFramework;
using Axios.Engine.Interfaces;
namespace Axios.Engine
{
{
protected int _draworder;
protected Texture2D Texture;
//protected float _scale = 1f;
public Vector2 Position = new Vector2();
public Vector2 Position = new Vector2(); //set this to a property and adjust if adjustunits is true
public Vector2 Origin = new Vector2();
protected Boolean _adjustunits = true;
protected Boolean _relativetocamera = true;
protected bool _adjustunits = true;
protected bool _relativetocamera = true;
public bool AdjustUnits //if value changed - change position depending on adjusting the units
{
get { return _adjustunits; }
set { _adjustunits = value; }
}
public bool RelativeToCamera
{
get { return _relativetocamera; }
set { _relativetocamera = value; }
}
public override void LoadContent(AxiosGameScreen gameScreen)
{
}
/*public float Scale
{
get { return _scale; }
set { _scale = value; }
}*/
public virtual void Draw(AxiosGameScreen gameScreen, GameTime gameTime)
{
/*#if DEBUG
System.Diagnostics.Debugger.Break();
#endif*/
if (_relativetocamera)
gameScreen.ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, gameScreen.Camera.View);
else
axios/Engine/Extensions/String.cs
1
2
3
4
5
1
62
73
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Axios.Engine.Extenions
{
public static class AxiosExtensions_String
axios/Engine/Extensions/Texture2D.cs
1
2
3
4
5
1
2
63
7
84
95
106
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace Axios.Engine.Extenions
axios/Engine/File/AxiosFile.cs
11
2
3
4
52
63
74
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Axios.Engine.Interfaces;
axios/Engine/File/AxiosIsolatedFile.cs
1
2
3
4
1
52
6
7
83
94
105
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.IO.IsolatedStorage;
using System.IO;
using Axios.Engine.Interfaces;
namespace Axios.Engine.File
axios/Engine/File/AxiosRegularFile.cs
1
2
3
4
5
1
62
73
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.IO;
using Axios.Engine.Interfaces;
axios/Engine/File/AxiosTitleFile.cs
11
2
3
4
52
3
64
7
8
95
106
117
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Axios.Engine.Interfaces;
using Microsoft.Xna.Framework;
using Axios.Engine.File;
using Axios.Engine.Interfaces;
namespace Axios.Engine.File
{
axios/Engine/Interfaces/IAxiosFile.cs
1
2
3
4
5
1
62
73
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.IO;
namespace Axios.Engine.Interfaces
{
axios/Engine/Interfaces/IAxiosGameObject.cs
1
2
3
4
1
52
6
73
84
95
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.SamplesFramework;
using Microsoft.Xna.Framework;
using FarseerPhysics.SamplesFramework;
namespace Axios.Engine.Interfaces
axios/Engine/Interfaces/IDrawableAxiosGameObject.cs
1
2
3
4
5
1
62
73
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework;
namespace Axios.Engine.Interfaces
{
axios/Engine/Log/AxiosLog.cs
11
22
3
4
53
6
74
85
96
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine;
namespace Axios.Engine.Log
{
axios/Engine/SimpleAxiosGameObject.cs
11
2
3
4
2
53
64
75
8
9
106
117
128
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine.Log;
using FarseerPhysics.Dynamics;
using Microsoft.Xna.Framework;
using Axios.Engine.Log;
namespace Axios.Engine
{
public abstract class SimpleAxiosGameObject : AxiosGameObject
axios/Engine/SimpleDrawableAxiosGameObject.cs
11
22
3
4
3
4
5
6
7
8
9
510
611
7
8
9
10
11
12
13
1412
1513
1614
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine.Interfaces;
using FarseerPhysics.Common;
using FarseerPhysics.Common.Decomposition;
using FarseerPhysics.Common.PolygonManipulation;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using FarseerPhysics.SamplesFramework;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using FarseerPhysics.Dynamics;
using FarseerPhysics.SamplesFramework;
using Axios.Engine.Interfaces;
using FarseerPhysics.Common.Decomposition;
using FarseerPhysics.Common;
using FarseerPhysics.Factories;
using FarseerPhysics.Common.PolygonManipulation;
namespace Axios.Engine
{
axios/Engine/Singleton.cs
11
2
3
4
52
63
74
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Axios.Engine
{
axios/Engine/Structures/AxiosPoint.cs
1
2
3
4
5
1
62
73
84
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Axios.Engine.Structures
{
public class AxiosPoint
axios/Engine/Structures/AxiosRectangle.cs
11
2
3
4
52
63
74
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Axios.Engine.Structures
{
axios/Engine/UI/AxiosButton.cs
1
2
3
4
5
1
2
63
7
8
9
104
115
126
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FarseerPhysics.SamplesFramework;
using Microsoft.Xna.Framework.Graphics;
using FarseerPhysics.SamplesFramework;
using FarseerPhysics.Factories;
using FarseerPhysics.Dynamics;
namespace Axios.Engine.UI
{
axios/Engine/UI/AxiosUIObject.cs
1
2
3
4
51
6
72
83
94
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Axios.Engine;
namespace Axios.Engine.UI
{

Archive Download the corresponding diff file

Page rendered in 0.50514s using 13 queries.