You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
(40) |
Jun
(6) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(1) |
Feb
(48) |
Mar
(2) |
Apr
(15) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(13) |
Sep
|
Oct
|
Nov
(61) |
Dec
|
| 2010 |
Jan
|
Feb
(22) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(30) |
Dec
(4) |
| 2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <je...@us...> - 2007-05-21 06:53:24
|
Revision: 1385
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1385&view=rev
Author: jendave
Date: 2007-05-20 23:53:22 -0700 (Sun, 20 May 2007)
Log Message:
-----------
Some fxcop changes
Modified Paths:
--------------
trunk/scsharp/src/SCSharpLib/MpqLib/BinElement.cs
trunk/scsharp/src/SCSharpLib/MpqLib/BitStream.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Got.cs
trunk/scsharp/src/SCSharpLib/MpqLib/ImagesDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/LinkedNode.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MapDataDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Mpq.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqArchive.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqDirectory.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqHash.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqHuffman.cs
trunk/scsharp/src/SCSharpLib/MpqLib/SfxDataDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/SpritesDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Trigger.cs
trunk/scsharp/src/SCSharpLib/MpqLib/UnitsDat.cs
trunk/scsharp/src/SCSharpLib/UI/Cinematic.cs
trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/CursorAnimator.cs
trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/EndMissionDialog.cs
trunk/scsharp/src/SCSharpLib/UI/EntryDialog.cs
trunk/scsharp/src/SCSharpLib/UI/ExitConfirmationDialog.cs
trunk/scsharp/src/SCSharpLib/UI/Game.cs
trunk/scsharp/src/SCSharpLib/UI/GameMenuDialog.cs
trunk/scsharp/src/SCSharpLib/UI/GameModeDialog.cs
trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs
trunk/scsharp/src/SCSharpLib/UI/GlobalResources.cs
trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs
trunk/scsharp/src/SCSharpLib/UI/HelpDialog.cs
trunk/scsharp/src/SCSharpLib/UI/KeystrokeDialog.cs
trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/MainMenu.cs
trunk/scsharp/src/SCSharpLib/UI/MapRenderer.cs
trunk/scsharp/src/SCSharpLib/UI/NetworkDialog.cs
trunk/scsharp/src/SCSharpLib/UI/ObjectivesDialog.cs
trunk/scsharp/src/SCSharpLib/UI/OkCancelDialog.cs
trunk/scsharp/src/SCSharpLib/UI/OkDialog.cs
trunk/scsharp/src/SCSharpLib/UI/OptionsDialog.cs
trunk/scsharp/src/SCSharpLib/UI/PlayCustomScreen.cs
trunk/scsharp/src/SCSharpLib/UI/QuitMissionDialog.cs
trunk/scsharp/src/SCSharpLib/UI/RestartConfirmationDialog.cs
trunk/scsharp/src/SCSharpLib/UI/SmackerPlayer.cs
trunk/scsharp/src/SCSharpLib/UI/SoundDialog.cs
trunk/scsharp/src/SCSharpLib/UI/SpeedDialog.cs
trunk/scsharp/src/SCSharpLib/UI/Sprite.cs
trunk/scsharp/src/SCSharpLib/UI/TitleScreen.cs
trunk/scsharp/src/SCSharpLib/UI/UIDialog.cs
trunk/scsharp/src/SCSharpLib/UI/UIElement.cs
trunk/scsharp/src/SCSharpLib/UI/UIScreen.cs
trunk/scsharp/src/SCSharpLib/UI/VideoDialog.cs
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/BinElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/BinElement.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/BinElement.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -376,6 +376,10 @@
[CLSCompliant(false)]
public BinElement(byte[] buf, int position, uint streamLength)
{
+ if (buf == null)
+ {
+ throw new ArgumentException("buf");
+ }
x1 = Utilities.ReadWord(buf, position + 4);
y1 = Utilities.ReadWord(buf, position + 6);
x2 = Utilities.ReadWord(buf, position + 8);
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/BitStream.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/BitStream.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/BitStream.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -52,16 +52,16 @@
mStream = sourceStream;
}
- /// <summary>
- ///
- /// </summary>
- public Stream BaseStream
- {
- get
- {
- return mStream;
- }
- }
+ ///// <summary>
+ /////
+ ///// </summary>
+ //public Stream BaseStream
+ //{
+ // get
+ // {
+ // return mStream;
+ // }
+ //}
/// <summary>
///
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/Got.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/Got.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/Got.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,6 +91,10 @@
/// <param name="stream"></param>
public void ReadFromStream(Stream stream)
{
+ if (stream == null)
+ {
+ throw new ArgumentException("stream");
+ }
contents = new byte[stream.Length];
stream.Read(contents, 0, (int)stream.Length);
}
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/ImagesDat.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/ImagesDat.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/ImagesDat.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -61,6 +61,10 @@
/// <param name="stream"></param>
public void ReadFromStream(Stream stream)
{
+ if (stream == null)
+ {
+ throw new ArgumentException("stream");
+ }
buf = new byte[NUM_RECORDS * NUM_FIELDS * 4];
stream.Read(buf, 0, buf.Length);
}
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/LinkedNode.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/LinkedNode.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/LinkedNode.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -130,6 +130,10 @@
/// <returns></returns>
public LinkedNode Insert(LinkedNode other)
{
+ if (other == null)
+ {
+ throw new ArgumentException("other");
+ }
// 'Next' should have a lower weight
// we should return the lower weight
if (other.weight <= weight)
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/MapDataDat.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/MapDataDat.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/MapDataDat.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -55,6 +55,10 @@
/// <param name="stream"></param>
public void ReadFromStream(Stream stream)
{
+ if (stream == null)
+ {
+ throw new ArgumentException("stream");
+ }
buf = new byte[stream.Length];
stream.Read(buf, 0, buf.Length);
}
@@ -73,7 +77,7 @@
/// <summary>
///
/// </summary>
- public int NumIndices
+ public int NumIndexes
{
get { return buf.Length / 4; }
}
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/Mpq.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/Mpq.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/Mpq.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -62,8 +62,12 @@
/// </summary>
/// <param name="path"></param>
/// <returns></returns>
- protected Type GetTypeFromResourcePath(string path)
+ protected static Type GetTypeFromResourcePath(string path)
{
+ if (path == null)
+ {
+ throw new ArgumentException("path");
+ }
string ext = Path.GetExtension(path);
if (ext.ToLower() == ".tbl")
{
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/MpqArchive.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/MpqArchive.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/MpqArchive.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -58,11 +58,11 @@
/// <summary>
///
/// </summary>
- /// <param name="filename"></param>
- public MpqArchive(string filename)
+ /// <param name="fileName"></param>
+ public MpqArchive(string fileName)
{
//mFilename = filename;
- mStream = File.Open(filename, FileMode.Open, FileAccess.Read);
+ mStream = File.Open(fileName, FileMode.Open, FileAccess.Read);
Init();
}
@@ -144,19 +144,19 @@
/// <summary>
///
/// </summary>
- /// <param name="filename"></param>
+ /// <param name="fileName"></param>
/// <returns></returns>
- public MpqStream OpenFile(string filename)
+ public MpqStream OpenFile(string fileName)
{
MpqHash hash;
MpqBlock block;
- hash = GetHashEntry(filename);
+ hash = GetHashEntry(fileName);
uint blockindex = hash.BlockIndex;
if (blockindex == uint.MaxValue)
{
- throw new FileNotFoundException("File not found: " + filename);
+ throw new FileNotFoundException("File not found: " + fileName);
}
block = mBlocks[blockindex];
@@ -167,11 +167,11 @@
/// <summary>
///
/// </summary>
- /// <param name="filename"></param>
+ /// <param name="fileName"></param>
/// <returns></returns>
- public bool FileExists(string filename)
+ public bool FileExists(string fileName)
{
- MpqHash hash = GetHashEntry(filename);
+ MpqHash hash = GetHashEntry(fileName);
return (hash.BlockIndex != uint.MaxValue);
}
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/MpqDirectory.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/MpqDirectory.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/MpqDirectory.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -54,7 +54,7 @@
RecurseDirectoryTree(mpqDirPath);
}
- string ConvertBackSlashes(string path)
+ static string ConvertBackSlashes(string path)
{
while (path.IndexOf('\\') != -1)
path = path.Replace('\\', Path.DirectorySeparatorChar);
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/MpqHash.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/MpqHash.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/MpqHash.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -50,12 +50,12 @@
BlockIndex = br.ReadUInt32();
}
- public bool IsValid
- {
- get
- {
- return Name1 != uint.MaxValue && Name2 != uint.MaxValue;
- }
- }
+ //public bool IsValid
+ //{
+ // get
+ // {
+ // return Name1 != uint.MaxValue && Name2 != uint.MaxValue;
+ // }
+ //}
}
}
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/MpqHuffman.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/MpqHuffman.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/MpqHuffman.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -179,6 +179,10 @@
/// <returns></returns>
public static byte[] Decompress(Stream data)
{
+ if (data == null)
+ {
+ throw new ArgumentException("data");
+ }
int comptype = data.ReadByte();
if (comptype == 0)
@@ -223,7 +227,7 @@
int bit = input.ReadBits(1);
if (bit == -1)
{
- throw new Exception("Unexpected end of file");
+ throw new EndOfStreamException("Unexpected end of file");
}
node = bit == 0 ? node.Child0 : node.Child1;
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/SfxDataDat.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/SfxDataDat.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/SfxDataDat.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -60,6 +60,10 @@
/// <param name="stream"></param>
public void ReadFromStream(Stream stream)
{
+ if (stream == null)
+ {
+ throw new ArgumentException("stream");
+ }
buf = new byte[NUM_RECORDS * NUM_FIELDS * 4];
stream.Read(buf, 0, buf.Length);
}
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/SpritesDat.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/SpritesDat.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/SpritesDat.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -82,6 +82,10 @@
/// <param name="stream"></param>
public void ReadFromStream(Stream stream)
{
+ if (stream == null)
+ {
+ throw new ArgumentException("stream");
+ }
int size = 0;
for (int i = 0; i < NUM_FIELDS; i++)
{
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/Trigger.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/Trigger.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/Trigger.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -50,6 +50,10 @@
/// <param name="offset"></param>
public void Parse(byte[] data, ref int offset)
{
+ if (data == null)
+ {
+ throw new ArgumentException("data");
+ }
int i;
for (i = 0; i < conditions.Length; i++)
{
Modified: trunk/scsharp/src/SCSharpLib/MpqLib/UnitsDat.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/MpqLib/UnitsDat.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/MpqLib/UnitsDat.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -88,6 +88,10 @@
/// <param name="stream"></param>
public void ReadFromStream(Stream stream)
{
+ if (stream == null)
+ {
+ throw new ArgumentException("stream");
+ }
buf = new byte[(int)stream.Length];
stream.Read(buf, 0, buf.Length);
Modified: trunk/scsharp/src/SCSharpLib/UI/Cinematic.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/Cinematic.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/Cinematic.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -96,7 +96,7 @@
/// <summary>
///
/// </summary>
- public event PlayerEvent Finished;
+ public event PlayerEventHandler Finished;
void PlayerFinished()
{
Modified: trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -257,12 +257,12 @@
/// <summary>
///
/// </summary>
- public event ComboBoxSelectionChanged SelectionChanged;
+ public event ComboBoxSelectionChangedEventHandler SelectionChanged;
}
/// <summary>
///
/// </summary>
/// <param name="selectedIndex"></param>
- public delegate void ComboBoxSelectionChanged(int selectedIndex);
+ public delegate void ComboBoxSelectionChangedEventHandler(int selectedIndex);
}
Modified: trunk/scsharp/src/SCSharpLib/UI/CursorAnimator.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/CursorAnimator.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/CursorAnimator.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -76,7 +76,7 @@
/// <param name="hotX"></param>
/// <param name="hotY"></param>
[CLSCompliant(false)]
- public void SetHotSpot(uint hotX, uint hotY)
+ public void SetHotspot(uint hotX, uint hotY)
{
this.hotX = hotX;
this.hotY = hotY;
Modified: trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -68,7 +68,7 @@
const int TILE_B = 7;
const int TILE_BL = 6;
- void TileRow(Surface surf, Grp grp, byte[] pal, int l, int c, int r, int y)
+ static void TileRow(Surface surf, Grp grp, byte[] pal, int l, int c, int r, int y)
{
Surface lsurf = GuiUtil.CreateSurfaceFromBitmap(grp.GetFrame(l),
grp.Width, grp.Height,
Modified: trunk/scsharp/src/SCSharpLib/UI/EndMissionDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/EndMissionDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/EndMissionDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -108,6 +108,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Previous;
+ public event DialogEventHandler Previous;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/EntryDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/EntryDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/EntryDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -130,11 +130,11 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/ExitConfirmationDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ExitConfirmationDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/ExitConfirmationDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,10 +91,10 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Exit;
+ public event DialogEventHandler Exit;
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/Game.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/Game.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/Game.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -227,7 +227,7 @@
this.rootDir = starcraftDir;
}
- Mpq GetMpq(string path)
+ static Mpq GetMpq(string path)
{
if (Directory.Exists(path))
{
@@ -317,7 +317,7 @@
/// <summary>
///
/// </summary>
- public void Quit()
+ public static void Quit()
{
Events.QuitApplication();
}
@@ -342,7 +342,7 @@
void UserEvent(object sender, UserEventArgs args)
{
- ReadyDelegate d = (ReadyDelegate)args.UserEvent;
+ ReadyEventHandler d = (ReadyEventHandler)args.UserEvent;
d();
}
Modified: trunk/scsharp/src/SCSharpLib/UI/GameMenuDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GameMenuDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/GameMenuDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -136,6 +136,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent ReturnToGame;
+ public event DialogEventHandler ReturnToGame;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/GameModeDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GameModeDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/GameModeDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -99,16 +99,16 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
/// <summary>
///
/// </summary>
- public event GameModeActivateDelegate Activate;
+ public event GameModeActivateEventHandler Activate;
}
/// <summary>
///
/// </summary>
/// <param name="expansion"></param>
- public delegate void GameModeActivateDelegate(bool expansion);
+ public delegate void GameModeActivateEventHandler(bool expansion);
}
Modified: trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -332,7 +332,7 @@
{
ScrollCursors[i] = new CursorAnimator((Grp)this.Mpq.GetResource(cursornames[i]),
Effectpal.Palette);
- ScrollCursors[i].SetHotSpot(60, 60);
+ ScrollCursors[i].SetHotspot(60, 60);
}
// load the mag cursors
@@ -346,7 +346,7 @@
{
MagCursors[i] = new CursorAnimator((Grp)this.Mpq.GetResource(magcursornames[i]),
Effectpal.Palette);
- MagCursors[i].SetHotSpot(60, 60);
+ MagCursors[i].SetHotspot(60, 60);
}
// load the targeting cursors
@@ -360,7 +360,7 @@
{
TargetCursors[i] = new CursorAnimator((Grp)this.Mpq.GetResource(targetcursornames[i]),
Effectpal.Palette);
- TargetCursors[i].SetHotSpot(60, 60);
+ TargetCursors[i].SetHotspot(60, 60);
}
PlaceInitialUnits();
Modified: trunk/scsharp/src/SCSharpLib/UI/GlobalResources.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GlobalResources.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/GlobalResources.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -248,12 +248,12 @@
}
// notify we're ready to roll
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(FinishedLoading)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(FinishedLoading)));
}
catch (SdlException e)
{
Console.WriteLine("Global Resource loader failed: {0}", e);
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(Events.QuitApplication)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(Events.QuitApplication)));
}
}
@@ -268,6 +268,6 @@
/// <summary>
///
/// </summary>
- public event ReadyDelegate Ready;
+ public event ReadyEventHandler Ready;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -49,7 +49,7 @@
/// <summary>
///
/// </summary>
- public delegate void ReadyDelegate();
+ public delegate void ReadyEventHandler();
/// <summary>
///
@@ -133,7 +133,7 @@
}
}
- return CreateSurfaceFromRGBAData(buf, (ushort)g.Width, (ushort)g.Height, 32, g.Width * 4);
+ return CreateSurfaceFromRgbaData(buf, (ushort)g.Width, (ushort)g.Height, 32, g.Width * 4);
}
/// <summary>
@@ -369,7 +369,7 @@
/// <param name="stride"></param>
/// <returns></returns>
[CLSCompliant(false)]
- public static Surface CreateSurfaceFromRGBAData(byte[] data, ushort width, ushort height, int depth, int stride)
+ public static Surface CreateSurfaceFromRgbaData(byte[] data, ushort width, ushort height, int depth, int stride)
{
return CreateSurface(data, width, height, depth, stride,
/* XXX this needs addressing in Tao.Sdl - these arguments should be uints */
@@ -389,7 +389,7 @@
/// <param name="stride"></param>
/// <returns></returns>
[CLSCompliant(false)]
- public static Surface CreateSurfaceFromRGBData(byte[] data, ushort width, ushort height, int depth, int stride)
+ public static Surface CreateSurfaceFromRgbData(byte[] data, ushort width, ushort height, int depth, int stride)
{
return CreateSurface(data, width, height, depth, stride,
(int)0x00ff0000,
@@ -455,7 +455,7 @@
{
byte[] buf = GetBitmapData(grid, width, height, palette, withAlpha);
- return CreateSurfaceFromRGBAData(buf, width, height, withAlpha ? 32 : 24, width * (3 + (withAlpha ? 1 : 0)));
+ return CreateSurfaceFromRgbaData(buf, width, height, withAlpha ? 32 : 24, width * (3 + (withAlpha ? 1 : 0)));
}
/// <summary>
@@ -473,7 +473,7 @@
{
byte[] buf = GetBitmapData(grid, width, height, palette, translucentIndex, transparentIndex);
- return CreateSurfaceFromRGBAData(buf, width, height, 32, width * 4);
+ return CreateSurfaceFromRgbaData(buf, width, height, 32, width * 4);
}
/// <summary>
@@ -506,7 +506,7 @@
{
Pcx pcx = new Pcx();
pcx.ReadFromStream(stream, translucentIndex, transparentIndex);
- return CreateSurfaceFromRGBAData(pcx.RgbaData, pcx.Width, pcx.Height, pcx.Depth, pcx.Stride);
+ return CreateSurfaceFromRgbaData(pcx.RgbaData, pcx.Width, pcx.Height, pcx.Depth, pcx.Stride);
}
/// <summary>
Modified: trunk/scsharp/src/SCSharpLib/UI/HelpDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/HelpDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/HelpDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -92,6 +92,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Previous;
+ public event DialogEventHandler Previous;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/KeystrokeDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/KeystrokeDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/KeystrokeDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -90,6 +90,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -326,12 +326,12 @@
/// <summary>
///
/// </summary>
- public event ListBoxSelectionChanged SelectionChanged;
+ public event ListBoxSelectionChangedEventHandler SelectionChanged;
}
/// <summary>
///
/// </summary>
/// <param name="selectedIndex"></param>
- public delegate void ListBoxSelectionChanged(int selectedIndex);
+ public delegate void ListBoxSelectionChangedEventHandler(int selectedIndex);
}
Modified: trunk/scsharp/src/SCSharpLib/UI/MainMenu.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/MainMenu.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/MainMenu.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -151,7 +151,7 @@
Elements[EXIT_ELEMENT_INDEX].Activate +=
delegate()
{
- Game.Instance.Quit();
+ Game.Quit();
};
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/MapRenderer.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/MapRenderer.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/MapRenderer.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -53,7 +53,7 @@
byte[] bitmap = RenderToBitmap(mpq, chk, out pixel_width, out pixel_height);
- return GuiUtil.CreateSurfaceFromRGBAData(bitmap, pixel_width, pixel_height, 32, pixel_width * 4);
+ return GuiUtil.CreateSurfaceFromRgbaData(bitmap, pixel_width, pixel_height, 32, pixel_width * 4);
}
/// <summary>
Modified: trunk/scsharp/src/SCSharpLib/UI/NetworkDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/NetworkDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/NetworkDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,11 +91,11 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/ObjectivesDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ObjectivesDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/ObjectivesDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -80,6 +80,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Previous;
+ public event DialogEventHandler Previous;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/OkCancelDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/OkCancelDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/OkCancelDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -89,11 +89,11 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/OkDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/OkDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/OkDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -83,6 +83,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/OptionsDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/OptionsDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/OptionsDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -124,6 +124,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Previous;
+ public event DialogEventHandler Previous;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/PlayCustomScreen.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/PlayCustomScreen.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/PlayCustomScreen.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,7 +91,7 @@
ListBoxElement file_listbox;
ComboBoxElement gametype_combo;
- void InitializeRaceCombo(ComboBoxElement combo)
+ static void InitializeRaceCombo(ComboBoxElement combo)
{
combo.AddItem("Zerg"); /* XXX these should all come from some string constant table someplace */
combo.AddItem("Terran");
@@ -99,7 +99,7 @@
combo.AddItem("Random", true);
}
- void InitializePlayerCombo(ComboBoxElement combo)
+ static void InitializePlayerCombo(ComboBoxElement combo)
{
combo.AddItem(GlobalResources.Instance.GluAllTbl.Strings[130]); /* Closed */
combo.AddItem(GlobalResources.Instance.GluAllTbl.Strings[128], true); /* Computer */
Modified: trunk/scsharp/src/SCSharpLib/UI/QuitMissionDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/QuitMissionDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/QuitMissionDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -86,6 +86,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/RestartConfirmationDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/RestartConfirmationDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/RestartConfirmationDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -78,6 +78,6 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/SmackerPlayer.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/SmackerPlayer.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/SmackerPlayer.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -62,15 +62,15 @@
/// <summary>
///
/// </summary>
- /// <param name="filename"></param>
+ /// <param name="fileName"></param>
/// <param name="smkStream"></param>
/// <param name="width"></param>
/// <param name="height"></param>
- public SmackerPlayer(string filename,
+ public SmackerPlayer(string fileName,
Stream smkStream,
int width, int height)
{
- this.filename = filename;
+ this.filename = fileName;
this.width = width;
this.height = height;
@@ -204,7 +204,7 @@
}
finally
{
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(EmitFinished)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(EmitFinished)));
}
}
@@ -212,7 +212,7 @@
/// <summary>
///
/// </summary>
- public event PlayerEvent Finished;
+ public event PlayerEventHandler Finished;
void EmitFinished()
{
@@ -226,5 +226,5 @@
/// <summary>
///
/// </summary>
- public delegate void PlayerEvent();
+ public delegate void PlayerEventHandler();
}
Modified: trunk/scsharp/src/SCSharpLib/UI/SoundDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/SoundDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/SoundDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,11 +91,11 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/SpeedDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/SpeedDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/SpeedDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,11 +91,11 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/Sprite.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/Sprite.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/Sprite.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -713,7 +713,7 @@
/// <summary>
///
/// </summary>
- LiftOff,
+ Liftoff,
/// <summary>
///
/// </summary>
Modified: trunk/scsharp/src/SCSharpLib/UI/TitleScreen.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/TitleScreen.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/TitleScreen.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -60,7 +60,7 @@
base.ResourceLoader();
Cursor = null; /* clear out the cursor */
- Elements[1].Text = "Copyright © 2006 Chris Toshok. All rights reserved.";
+ Elements[1].Text = "Copyright © 2006-2007 Chris Toshok, David Hudson. All rights reserved.";
Elements[2].Text = "Game assets Copyright © 1998 Blizzard Entertainment. All rights reserved.";
Elements[3].Text = "";
Modified: trunk/scsharp/src/SCSharpLib/UI/UIDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/UIDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/UIDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -226,5 +226,5 @@
///
/// </summary>
//public delegate void DialogEvent(object sender, EventArgs args);
- public delegate void DialogEvent();
+ public delegate void DialogEventHandler();
}
Modified: trunk/scsharp/src/SCSharpLib/UI/UIElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/UIElement.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/UIElement.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -270,7 +270,7 @@
/// <summary>
///
/// </summary>
- public event ElementEvent Activate;
+ public event ElementEventHandler Activate;
/// <summary>
///
@@ -286,7 +286,7 @@
/// <summary>
///
/// </summary>
- public event ElementEvent MouseEnterEvent;
+ public event ElementEventHandler MouseEnterEvent;
/// <summary>
///
@@ -300,7 +300,7 @@
/// <summary>
///
/// </summary>
- public event ElementEvent MouseLeaveEvent;
+ public event ElementEventHandler MouseLeaveEvent;
/// <summary>
///
@@ -436,5 +436,5 @@
/// <summary>
///
/// </summary>
- public delegate void ElementEvent();
+ public delegate void ElementEventHandler();
}
Modified: trunk/scsharp/src/SCSharpLib/UI/UIScreen.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/UIScreen.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/UIScreen.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -294,12 +294,12 @@
try
{
Console.WriteLine("swooshing in");
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(RaiseDoneSwooshing)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(RaiseDoneSwooshing)));
}
catch (SdlException e)
{
Console.WriteLine("failed pushing UIScreen.RiseDoneSwooshing: {0}", e);
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(Events.QuitApplication)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(Events.QuitApplication)));
}
}
@@ -311,12 +311,12 @@
try
{
Console.WriteLine("swooshing out");
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(RaiseDoneSwooshing)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(RaiseDoneSwooshing)));
}
catch (SdlException e)
{
Console.WriteLine("failed pushing UIScreen.RiseDoneSwooshing: {0}", e);
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(Events.QuitApplication)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(Events.QuitApplication)));
}
}
@@ -690,17 +690,17 @@
/// <summary>
///
/// </summary>
- public event ReadyDelegate FirstPainted;
+ public event ReadyEventHandler FirstPainted;
/// <summary>
///
/// </summary>
- public event ReadyDelegate DoneSwooshing;
+ public event ReadyEventHandler DoneSwooshing;
/// <summary>
///
/// </summary>
- public event ReadyDelegate Ready;
+ public event ReadyEventHandler Ready;
bool loaded;
@@ -790,7 +790,7 @@
if (arrowgrp != null)
{
cursor = new CursorAnimator(arrowgrp, effectpal.Palette);
- cursor.SetHotSpot(64, 64);
+ cursor.SetHotspot(64, 64);
}
}
}
@@ -868,7 +868,7 @@
void LoadResources()
{
ResourceLoader();
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(FinishedLoading)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(FinishedLoading)));
}
/// <summary>
@@ -878,14 +878,14 @@
{
if (loaded)
{
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(RaiseReadyEvent)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(RaiseReadyEvent)));
}
else
{
#if MULTI_THREADED
ThreadPool.QueueUserWorkItem (delegate (object state) { LoadResources (); })
#else
- Events.PushUserEvent(new UserEventArgs(new ReadyDelegate(LoadResources)));
+ Events.PushUserEvent(new UserEventArgs(new ReadyEventHandler(LoadResources)));
#endif
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/VideoDialog.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/VideoDialog.cs 2007-05-21 06:21:34 UTC (rev 1384)
+++ trunk/scsharp/src/SCSharpLib/UI/VideoDialog.cs 2007-05-21 06:53:22 UTC (rev 1385)
@@ -91,11 +91,11 @@
/// <summary>
///
/// </summary>
- public event DialogEvent Ok;
+ public event DialogEventHandler Ok;
/// <summary>
///
/// </summary>
- public event DialogEvent Cancel;
+ public event DialogEventHandler Cancel;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-21 06:21:35
|
Revision: 1384
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1384&view=rev
Author: jendave
Date: 2007-05-20 23:21:34 -0700 (Sun, 20 May 2007)
Log Message:
-----------
apply some bug fixes. bump version number
Modified Paths:
--------------
trunk/SdlDotNet/package.xml
trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi
trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi
trunk/SdlDotNet/src/Input/Keyboard.cs
trunk/SdlDotNet/src/Input/KeyboardEventArgs.cs
trunk/SdlDotNet/src/Windows/SurfaceControl.cs
Modified: trunk/SdlDotNet/package.xml
===================================================================
--- trunk/SdlDotNet/package.xml 2007-05-18 21:37:04 UTC (rev 1383)
+++ trunk/SdlDotNet/package.xml 2007-05-21 06:21:34 UTC (rev 1384)
@@ -10,7 +10,7 @@
<!-- global project settings -->
<property name="project.config" value="Release" />
- <property name="project.version" value="6.0.0" />
+ <property name="project.version" value="6.0.1" />
<property name="src.dir" value="src" />
<property name="examples.dir" value="examples" />
<property name="extras.dir" value="extras" />
Modified: trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi
===================================================================
--- trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi 2007-05-18 21:37:04 UTC (rev 1383)
+++ trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi 2007-05-21 06:21:34 UTC (rev 1384)
@@ -2,7 +2,7 @@
!define PRODUCT_NAME "SDL.NET Runtime"
!define PRODUCT_TYPE "runtime"
-!define PRODUCT_VERSION "6.0.0"
+!define PRODUCT_VERSION "6.0.1"
!define PRODUCT_PUBLISHER "SDL.NET"
!define PRODUCT_PACKAGE "sdldotnet"
!define PRODUCT_WEB_SITE "http://cs-sdl.sourceforge.net"
Modified: trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi
===================================================================
--- trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi 2007-05-18 21:37:04 UTC (rev 1383)
+++ trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi 2007-05-21 06:21:34 UTC (rev 1384)
@@ -2,7 +2,7 @@
!define PRODUCT_NAME "SDL.NET SDK"
!define PRODUCT_TYPE "sdk"
-!define PRODUCT_VERSION "6.0.0"
+!define PRODUCT_VERSION "6.0.1"
!define PRODUCT_PUBLISHER "SDL.NET"
!define PRODUCT_PACKAGE "sdldotnet"
!define PRODUCT_WEB_SITE "http://cs-sdl.sourceforge.net"
Modified: trunk/SdlDotNet/src/Input/Keyboard.cs
===================================================================
--- trunk/SdlDotNet/src/Input/Keyboard.cs 2007-05-18 21:37:04 UTC (rev 1383)
+++ trunk/SdlDotNet/src/Input/Keyboard.cs 2007-05-21 06:21:34 UTC (rev 1384)
@@ -1246,30 +1246,12 @@
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
+ [Obsolete("Instead, consider just casting your System.Int16 to System.Char, or using System.Char.ConvertFromUtf32()", false)]
public static string UnicodeCharacter(short input)
{
- Encoding unicode;
- unicode = Encoding.Unicode;
- string hexString = Convert.ToString(input, 16);
- string finalString = "";
- if (hexString.Length >= 2)
- {
- finalString = Regex.Unescape(@"\x" + hexString);
- }
+ return new string((char)input, 1);
+ }
- byte[] codes;
- char[] chars = new char[0];
- codes = unicode.GetBytes(finalString);
- chars = unicode.GetChars(codes);
- if (chars.Length > 0)
- {
- return chars[0].ToString();
- }
- else
- {
- return "";
- }
- }
/// <summary>
/// Checks key state
Modified: trunk/SdlDotNet/src/Input/KeyboardEventArgs.cs
===================================================================
--- trunk/SdlDotNet/src/Input/KeyboardEventArgs.cs 2007-05-18 21:37:04 UTC (rev 1383)
+++ trunk/SdlDotNet/src/Input/KeyboardEventArgs.cs 2007-05-21 06:21:34 UTC (rev 1384)
@@ -155,11 +155,11 @@
/// <summary>
/// Unicode Character
/// </summary>
- public string UnicodeCharacter
+ public char UnicodeCharacter
{
get
{
- return Keyboard.UnicodeCharacter(this.EventStruct.key.keysym.unicode);
+ return (char)this.EventStruct.key.keysym.unicode;
}
}
Modified: trunk/SdlDotNet/src/Windows/SurfaceControl.cs
===================================================================
--- trunk/SdlDotNet/src/Windows/SurfaceControl.cs 2007-05-18 21:37:04 UTC (rev 1383)
+++ trunk/SdlDotNet/src/Windows/SurfaceControl.cs 2007-05-21 06:21:34 UTC (rev 1384)
@@ -199,10 +199,10 @@
{
if (!this.DesignMode)
{
- if (e.Button != MouseButtons.None)
- {
- SdlDotNet.Core.Events.Add(new MouseMotionEventArgs(true, SurfaceControl.ConvertMouseButtons(e), (short)e.X, (short)e.Y, (short)(e.X - lastX), (short)(e.Y - lastY)));
- }
+ //if (e.Button != MouseButtons.None)
+ //{
+ SdlDotNet.Core.Events.Add(new MouseMotionEventArgs(true, SurfaceControl.ConvertMouseButtons(e), (short)e.X, (short)e.Y, (short)(e.X - lastX), (short)(e.Y - lastY)));
+ //}
lastX = e.X;
lastY = e.Y;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-18 21:37:07
|
Revision: 1383
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1383&view=rev
Author: jendave
Date: 2007-05-18 14:37:04 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Fix credits
Modified Paths:
--------------
trunk/scsharp/src/SCSharpLib/UI/CreditsScreen.cs
Added Paths:
-----------
trunk/scsharp/src/SCSharpLib/UI/Credits.txt
Removed Paths:
-------------
trunk/scsharp/credits.txt
Deleted: trunk/scsharp/credits.txt
===================================================================
--- trunk/scsharp/credits.txt 2007-05-18 21:06:19 UTC (rev 1382)
+++ trunk/scsharp/credits.txt 2007-05-18 21:37:04 UTC (rev 1383)
@@ -1,47 +0,0 @@
-</COMMENT credits for SCSharp>
-</FADESPEED 100>
-
-</COMMENT #############################################################>
-</BACKGROUND glue\palmm\backgnd.pcx>
-</FONTCOLOR glue\palmm\tfont.pcx>
-</SCREENCENTER>
-SCSharp Programming
-
-Chris Toshok
-David Hudson
-</PAGE>
-
-</COMMENT #############################################################>
-</BACKGROUND glue\palzv\backgnd.pcx>
-</FONTCOLOR glue\palmm\tfont.pcx>
-
-</SCREENLEFT>
-Special Thanks To
-
-Justin Olbrantz
-Ladislav Zezula
-</PAGE>
-
-</SCREENLEFT>
-Special Thanks To
-
-The folks at Campaign Creations
-</PAGE>
-
-</SCREENLEFT>
-Thanks To
-
-The Starcraft Modding Community.
-</PAGE>
-
-</SCREENLEFT>
-Thanks To
-
-The Mono Project
-The SDL Project
-The SdlDotNet Project
-</PAGE>
-
-</SCREENCENTER>
-Credits for Starcraft Brood War
-</PAGE>
Added: trunk/scsharp/src/SCSharpLib/UI/Credits.txt
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/Credits.txt (rev 0)
+++ trunk/scsharp/src/SCSharpLib/UI/Credits.txt 2007-05-18 21:37:04 UTC (rev 1383)
@@ -0,0 +1,47 @@
+</COMMENT credits for SCSharp>
+</FADESPEED 100>
+
+</COMMENT #############################################################>
+</BACKGROUND glue\palmm\backgnd.pcx>
+</FONTCOLOR glue\palmm\tfont.pcx>
+</SCREENCENTER>
+SCSharp Programming
+
+Chris Toshok
+David Hudson
+</PAGE>
+
+</COMMENT #############################################################>
+</BACKGROUND glue\palzv\backgnd.pcx>
+</FONTCOLOR glue\palmm\tfont.pcx>
+
+</SCREENLEFT>
+Special Thanks To
+
+Justin Olbrantz
+Ladislav Zezula
+</PAGE>
+
+</SCREENLEFT>
+Special Thanks To
+
+The folks at Campaign Creations
+</PAGE>
+
+</SCREENLEFT>
+Thanks To
+
+The Starcraft Modding Community.
+</PAGE>
+
+</SCREENLEFT>
+Thanks To
+
+The Mono Project
+The SDL Project
+The SdlDotNet Project
+</PAGE>
+
+</SCREENCENTER>
+Credits for Starcraft Brood War
+</PAGE>
Property changes on: trunk/scsharp/src/SCSharpLib/UI/Credits.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/scsharp/src/SCSharpLib/UI/CreditsScreen.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/CreditsScreen.cs 2007-05-18 21:06:19 UTC (rev 1382)
+++ trunk/scsharp/src/SCSharpLib/UI/CreditsScreen.cs 2007-05-18 21:37:04 UTC (rev 1383)
@@ -59,7 +59,7 @@
/// </summary>
protected override void LoadMarkup()
{
- AddMarkup(Assembly.GetExecutingAssembly().GetManifestResourceStream("credits.txt"));
+ AddMarkup(Assembly.GetExecutingAssembly().GetManifestResourceStream("SCSharp.UI.Credits.txt"));
/* broodwar credits */
if (Game.Instance.IsBroodWar)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-18 21:06:20
|
Revision: 1382
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1382&view=rev
Author: jendave
Date: 2007-05-18 14:06:19 -0700 (Fri, 18 May 2007)
Log Message:
-----------
fix build order issue for NAnt build. NAnt build still needs work. Prebuild is broken
Modified Paths:
--------------
trunk/scsharp/prebuild.xml
Property Changed:
----------------
trunk/scsharp/
Property changes on: trunk/scsharp
___________________________________________________________________
Name: svn:ignore
- SCSharp.build
SCSharp.mds
SCSharp.sln
SCSharp.suo
+ SCSharp.build
SCSharp.mds
SCSharp.sln
SCSharp.suo
*.swp
Modified: trunk/scsharp/prebuild.xml
===================================================================
--- trunk/scsharp/prebuild.xml 2007-05-18 20:58:30 UTC (rev 1381)
+++ trunk/scsharp/prebuild.xml 2007-05-18 21:06:19 UTC (rev 1382)
@@ -26,7 +26,7 @@
<Files>
<File buildAction="Content">prebuild.xml</File>
</Files>
- <Project name="SCSharp" path="src/SCSharp" language="C#" type="WinExe" assemblyName="scsharp" rootNamespace="SCSharp" designerFolder="Properties" icon="App.ico">
+ <Project name="SCSharpLib" path="src/SCSharpLib" language="C#" type="Library" assemblyName="SCSharpLib" rootNamespace="SCSharp" designerFolder="Properties">
<Configuration name="Debug">
<Options>
<CompilerDefines>DEBUG;TRACE;CODE_ANALYSIS</CompilerDefines>
@@ -34,7 +34,7 @@
<AllowUnsafe>false</AllowUnsafe>
<OutputPath>bin/Debug</OutputPath>
<DebugInformation>true</DebugInformation>
- <XmlDocFile></XmlDocFile>
+ <XmlDocFile>SCSharpLib.xml</XmlDocFile>
<KeyFile>scsharp.snk</KeyFile>
<WarningLevel>4</WarningLevel>
<SuppressWarnings>1595</SuppressWarnings>
@@ -46,28 +46,26 @@
<OptimizeCode>true</OptimizeCode>
<AllowUnsafe>false</AllowUnsafe>
<OutputPath>bin/Release</OutputPath>
- <XmlDocFile></XmlDocFile>
+ <DebugInformation>false</DebugInformation>
+ <XmlDocFile>SCSharpLib.xml</XmlDocFile>
<KeyFile>scsharp.snk</KeyFile>
- <DebugInformation>false</DebugInformation>
<WarningLevel>1</WarningLevel>
<SuppressWarnings>1595</SuppressWarnings>
</Options>
</Configuration>
- <Reference name="System" />
+ <Reference name="System" />
<Reference name="System.Configuration" />
<Reference name="System.Drawing" />
- <Reference name="SCSharpLib" />
<Reference name="Tao.Sdl" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="SdlDotNet" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="ICSharpCode.SharpZipLib" localCopy="true" path="../../lib/net-2.0"/>
<Files>
<File buildAction="EmbeddedResource">App.ico</File>
- <File buildAction="Content" copyToOutput="PreserveNewest">App.config</File>
<Match buildAction="EmbeddedResource" subType="Designer" pattern="Resources.resx" recurse="true"/>
- <Match pattern="*.cs" recurse="true"/>
+ <Match path="." pattern="*.cs" recurse="true"/>
</Files>
</Project>
- <Project name="SCSharpLib" path="src/SCSharpLib" language="C#" type="Library" assemblyName="SCSharpLib" rootNamespace="SCSharp" designerFolder="Properties">
+ <Project name="SCSharp" path="src/SCSharp" language="C#" type="WinExe" assemblyName="scsharp" rootNamespace="SCSharp" designerFolder="Properties" icon="App.ico">
<Configuration name="Debug">
<Options>
<CompilerDefines>DEBUG;TRACE;CODE_ANALYSIS</CompilerDefines>
@@ -75,7 +73,7 @@
<AllowUnsafe>false</AllowUnsafe>
<OutputPath>bin/Debug</OutputPath>
<DebugInformation>true</DebugInformation>
- <XmlDocFile>SCSharpLib.xml</XmlDocFile>
+ <XmlDocFile></XmlDocFile>
<KeyFile>scsharp.snk</KeyFile>
<WarningLevel>4</WarningLevel>
<SuppressWarnings>1595</SuppressWarnings>
@@ -87,26 +85,28 @@
<OptimizeCode>true</OptimizeCode>
<AllowUnsafe>false</AllowUnsafe>
<OutputPath>bin/Release</OutputPath>
+ <XmlDocFile></XmlDocFile>
+ <KeyFile>scsharp.snk</KeyFile>
<DebugInformation>false</DebugInformation>
- <XmlDocFile>SCSharpLib.xml</XmlDocFile>
- <KeyFile>scsharp.snk</KeyFile>
<WarningLevel>1</WarningLevel>
<SuppressWarnings>1595</SuppressWarnings>
</Options>
</Configuration>
- <Reference name="System" />
+ <Reference name="System" />
<Reference name="System.Configuration" />
<Reference name="System.Drawing" />
+ <Reference name="SCSharpLib" localCopy="true"/>
<Reference name="Tao.Sdl" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="SdlDotNet" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="ICSharpCode.SharpZipLib" localCopy="true" path="../../lib/net-2.0"/>
<Files>
<File buildAction="EmbeddedResource">App.ico</File>
+ <File buildAction="Content" copyToOutput="PreserveNewest">App.config</File>
<Match buildAction="EmbeddedResource" subType="Designer" pattern="Resources.resx" recurse="true"/>
- <Match path="." pattern="*.cs" recurse="true"/>
+ <Match pattern="*.cs" recurse="true"/>
</Files>
</Project>
- <Project name="Tests" path="tests" language="C#" type="Library" assemblyName="SCSharpTests" rootNamespace="SCSharpTests" designerFolder="Properties">
+ <Project name="Tests" path="tests" language="C#" type="Library" assemblyName="SCSharpTests" rootNamespace="SCSharpTests" designerFolder="Properties">
<Configuration name="Debug">
<Options>
<CompilerDefines>DEBUG;TRACE;CODE_ANALYSIS</CompilerDefines>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-18 20:58:32
|
Revision: 1381
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1381&view=rev
Author: jendave
Date: 2007-05-18 13:58:30 -0700 (Fri, 18 May 2007)
Log Message:
-----------
minor updates. add myself to authors. clean up the license
Modified Paths:
--------------
trunk/scsharp/AUTHORS
trunk/scsharp/COPYING
trunk/scsharp/credits.txt
trunk/scsharp/src/SCSharp/SCSharp.cs
Modified: trunk/scsharp/AUTHORS
===================================================================
--- trunk/scsharp/AUTHORS 2007-05-18 20:45:34 UTC (rev 1380)
+++ trunk/scsharp/AUTHORS 2007-05-18 20:58:30 UTC (rev 1381)
@@ -1 +1,2 @@
-Chris Toshok <to...@hu...>
\ No newline at end of file
+Chris Toshok <to...@hu...>
+David Hudson <je...@ya...>
Modified: trunk/scsharp/COPYING
===================================================================
--- trunk/scsharp/COPYING 2007-05-18 20:45:34 UTC (rev 1380)
+++ trunk/scsharp/COPYING 2007-05-18 20:58:30 UTC (rev 1381)
@@ -1,10 +1,6 @@
-StormLib is released under an unknown (to me) license. It has
-multiple copyright holders.
-
-All of the SCSharp specific code is released under an X11 license.
+All of the SCSharp specific code is released under the X11 license.
Use it as you see fit. The license text is included below.
-
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
Modified: trunk/scsharp/credits.txt
===================================================================
--- trunk/scsharp/credits.txt 2007-05-18 20:45:34 UTC (rev 1380)
+++ trunk/scsharp/credits.txt 2007-05-18 20:58:30 UTC (rev 1381)
@@ -8,6 +8,7 @@
SCSharp Programming
Chris Toshok
+David Hudson
</PAGE>
</COMMENT #############################################################>
@@ -43,4 +44,4 @@
</SCREENCENTER>
Credits for Starcraft Brood War
-</PAGE>
\ No newline at end of file
+</PAGE>
Modified: trunk/scsharp/src/SCSharp/SCSharp.cs
===================================================================
--- trunk/scsharp/src/SCSharp/SCSharp.cs 2007-05-18 20:45:34 UTC (rev 1380)
+++ trunk/scsharp/src/SCSharp/SCSharp.cs 2007-05-18 20:58:30 UTC (rev 1381)
@@ -5,7 +5,6 @@
//
// (C) 2006 The Hungry Programmers (http://www.hungry.com/)
//
-
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-18 20:45:40
|
Revision: 1380
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1380&view=rev
Author: jendave
Date: 2007-05-18 13:45:34 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Fixed transparency issue. Transparency changed from SdlDotNet 5.0.0 to 6.0.0
Modified Paths:
--------------
trunk/scsharp/ChangeLog
trunk/scsharp/src/SCSharpLib/UI/ButtonElement.cs
trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs
trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs
trunk/scsharp/src/SCSharpLib/UI/LabelElement.cs
trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/Pcx.cs
Modified: trunk/scsharp/ChangeLog
===================================================================
--- trunk/scsharp/ChangeLog 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/ChangeLog 2007-05-18 20:45:34 UTC (rev 1380)
@@ -342,6 +342,8 @@
* configure.ac: add a check for mono >= 1.1.14
+ * 0.0000007 released
+
2006-05-01 Chris Toshok <to...@hu...>
* SCSharp/SCSharp.Mpq/Mpq.cs: Make GetStreamForResource public so
Modified: trunk/scsharp/src/SCSharpLib/UI/ButtonElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ButtonElement.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/ButtonElement.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -64,12 +64,13 @@
Surface surf = new Surface(Width, Height);
surf.TransparentColor = Color.Black; /* XXX */
+ surf.Transparent = true;
- Surface text_surf = GuiUtil.ComposeText(Text, Font, Palette, -1, -1,
+ Surface textSurf = GuiUtil.ComposeText(Text, Font, Palette, -1, -1,
Sensitive ? 4 : 24);
- surf.Blit(text_surf, new Point((surf.Width - text_surf.Width) / 2,
- (surf.Height - text_surf.Height) / 2));
+ surf.Blit(textSurf, new Point((surf.Width - textSurf.Width) / 2,
+ (surf.Height - textSurf.Height) / 2));
return surf;
}
Modified: trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -226,10 +226,11 @@
if (cursor != -1)
{
- Surface item_surface = GuiUtil.ComposeText(items[cursor], Font, Palette, 4);
+ Surface itemSurface = GuiUtil.ComposeText(items[cursor], Font, Palette, 4);
- item_surface.TransparentColor = Color.Black;
- surf.Blit(item_surface, new Point(0, 0));
+ itemSurface.TransparentColor = Color.Black;
+ itemSurface.Transparent = true;
+ surf.Blit(itemSurface, new Point(0, 0));
}
return surf;
@@ -242,13 +243,14 @@
int y = 0;
for (int i = 0; i < items.Count; i++)
{
- Surface item_surface = GuiUtil.ComposeText(items[i], Font, Palette,
+ Surface itemSurface = GuiUtil.ComposeText(items[i], Font, Palette,
i == selectedItem ? 4 : 24);
- item_surface.TransparentColor = Color.Black;
+ itemSurface.TransparentColor = Color.Black;
+ itemSurface.Transparent = true;
- dropdownSurface.Blit(item_surface, new Point(0, y));
- y += item_surface.Height;
+ dropdownSurface.Blit(itemSurface, new Point(0, y));
+ y += itemSurface.Height;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -107,6 +107,7 @@
surf.Fill(new Rectangle(new Point(0, 0), new Size(Width, Height)),
Color.FromArgb(0, 0, 0, 0));
surf.TransparentColor = Color.Black; /* XXX */
+ surf.Transparent = true;
Pcx pal = new Pcx();
pal.ReadFromStream((Stream)Mpq.GetResource("unit\\cmdbtns\\ticon.pcx"),
Modified: trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -139,20 +139,20 @@
ScrollCursors = new CursorAnimator[8];
}
- Surface[] starfield_layers;
+ Surface[] starfieldLayers;
void PaintStarfield(Surface surf, DateTime dt)
{
float scroll_factor = 1.0f;
- float[] factors = new float[starfield_layers.Length];
+ float[] factors = new float[starfieldLayers.Length];
- for (int i = 0; i < starfield_layers.Length; i++)
+ for (int i = 0; i < starfieldLayers.Length; i++)
{
factors[i] = scroll_factor;
scroll_factor *= 0.75f;
}
- for (int i = starfield_layers.Length - 1; i >= 0; i--)
+ for (int i = starfieldLayers.Length - 1; i >= 0; i--)
{
int scroll_x = (int)(topleft_x * factors[i]);
int scroll_y = (int)(topleft_y * factors[i]);
@@ -166,7 +166,7 @@
scroll_y %= Painter.ScreenResY;
}
- surf.Blit(starfield_layers[i],
+ surf.Blit(starfieldLayers[i],
new Rectangle(new Point(0, 0),
new Size(Painter.ScreenResX - scroll_x,
Painter.ScreenResY - scroll_y)),
@@ -176,7 +176,7 @@
if (scroll_x != 0)
{
- surf.Blit(starfield_layers[i],
+ surf.Blit(starfieldLayers[i],
new Rectangle(new Point(Painter.ScreenResX - scroll_x, 0),
new Size(scroll_x, Painter.ScreenResY - scroll_y)),
new Rectangle(new Point(0, scroll_y),
@@ -185,7 +185,7 @@
if (scroll_y != 0)
{
- surf.Blit(starfield_layers[i],
+ surf.Blit(starfieldLayers[i],
new Rectangle(new Point(0, Painter.ScreenResY - scroll_y),
new Size(Painter.ScreenResX - scroll_x, scroll_y)),
new Rectangle(new Point(scroll_x, 0),
@@ -194,7 +194,7 @@
if (scroll_x != 0 || scroll_y != 0)
{
- surf.Blit(starfield_layers[i],
+ surf.Blit(starfieldLayers[i],
new Rectangle(new Point(Painter.ScreenResX - scroll_x, Painter.ScreenResY - scroll_y),
new Size(scroll_x, scroll_y)),
new Rectangle(new Point(0, 0),
@@ -296,18 +296,19 @@
{
Spk starfield = (Spk)this.Mpq.GetResource("parallax\\star.spk");
- starfield_layers = new Surface[starfield.Layers.Length];
- for (int i = 0; i < starfield_layers.Length; i++)
+ starfieldLayers = new Surface[starfield.Layers.Length];
+ for (int i = 0; i < starfieldLayers.Length; i++)
{
- starfield_layers[i] = new Surface(Painter.ScreenResX, Painter.ScreenResY);
+ starfieldLayers[i] = new Surface(Painter.ScreenResX, Painter.ScreenResY);
- starfield_layers[i].TransparentColor = Color.Black;
+ starfieldLayers[i].TransparentColor = Color.Black;
+ starfieldLayers[i].Transparent = true;
for (int o = 0; o < starfield.Layers[i].Objects.Length; o++)
{
ParallaxObject obj = starfield.Layers[i].Objects[o];
- starfield_layers[i].Fill(new Rectangle(new Point(obj.X, obj.Y), new Size(2, 2)),
+ starfieldLayers[i].Fill(new Rectangle(new Point(obj.X, obj.Y), new Size(2, 2)),
Color.White);
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -239,6 +239,7 @@
Surface surf = new Surface(text_width, text_height);
surf.TransparentColor = Color.Black;
+ surf.Transparent = true;
/* the draw it */
x = y = 0;
Modified: trunk/scsharp/src/SCSharpLib/UI/LabelElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/LabelElement.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/LabelElement.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -78,6 +78,7 @@
surf.Blit(textSurf, new Point(x, 0));
surf.TransparentColor = Color.Black /* XXX */;
+ surf.Transparent = true;
return surf;
}
}
Modified: trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -318,6 +318,7 @@
}
surf.TransparentColor = Color.Black; /* XXX */
+ surf.Transparent = true;
return surf;
}
Modified: trunk/scsharp/src/SCSharpLib/UI/Pcx.cs
===================================================================
--- trunk/scsharp/src/SCSharpLib/UI/Pcx.cs 2007-05-18 19:59:26 UTC (rev 1379)
+++ trunk/scsharp/src/SCSharpLib/UI/Pcx.cs 2007-05-18 20:45:34 UTC (rev 1380)
@@ -50,7 +50,7 @@
ushort ymin;
ushort ymax;
- bool with_alpha;
+ bool withAlpha;
/// <summary>
///
@@ -60,11 +60,13 @@
/// <param name="transparentIndex"></param>
public void ReadFromStream(Stream stream, int translucentIndex, int transparentIndex)
{
- with_alpha = translucentIndex != -1 || transparentIndex != -1;
+ withAlpha = translucentIndex != -1 || transparentIndex != -1;
byte magic = Utilities.ReadByte(stream);
if (magic != 0x0A)
+ {
throw new Exception("stream is not a valid .pcx file");
+ }
/*version =*/
Utilities.ReadByte(stream);
@@ -138,14 +140,20 @@
data[idx + 3] = palette[value * 3 + 0];
data[idx + 2] = palette[value * 3 + 1];
data[idx + 1] = palette[value * 3 + 2];
- if (with_alpha)
+ if (withAlpha)
{
if (value == translucentIndex)
+ {
data[idx + 0] = 0xd0;
+ }
else if (value == transparentIndex)
+ {
data[idx + 0] = 0x00;
+ }
else
+ {
data[idx + 0] = 0xff;
+ }
}
idx += 4;
@@ -221,7 +229,7 @@
[CLSCompliant(false)]
public ushort Depth
{
- get { return (ushort)(with_alpha ? 32 : 24); }
+ get { return (ushort)(withAlpha ? 32 : 24); }
}
/// <summary>
@@ -230,7 +238,7 @@
[CLSCompliant(false)]
public ushort Stride
{
- get { return (ushort)(width * (3 + (with_alpha ? 1 : 0))); }
+ get { return (ushort)(width * (3 + (withAlpha ? 1 : 0))); }
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-18 19:59:28
|
Revision: 1379
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1379&view=rev
Author: jendave
Date: 2007-05-18 12:59:26 -0700 (Fri, 18 May 2007)
Log Message:
-----------
ignore generated files
Property Changed:
----------------
trunk/scsharp/
trunk/scsharp/src/SCSharp/
trunk/scsharp/src/SCSharpLib/
trunk/scsharp/tests/
Property changes on: trunk/scsharp
___________________________________________________________________
Name: svn:ignore
+ SCSharp.build
SCSharp.mds
SCSharp.sln
SCSharp.suo
Property changes on: trunk/scsharp/src/SCSharp
___________________________________________________________________
Name: svn:ignore
+ bin
obj
SCSharp.csproj
SCSharp.csproj.user
SCSharp.exe.build
SCSharp.mdp
Property changes on: trunk/scsharp/src/SCSharpLib
___________________________________________________________________
Name: svn:ignore
+ bin
SCSharpLib.csproj
SCSharpLib.csproj.user
SCSharpLib.dll.build
SCSharpLib.mdp
SCSharpLib.xml
obj
Property changes on: trunk/scsharp/tests
___________________________________________________________________
Name: svn:ignore
+ obj
Tests.csproj
Tests.csproj.user
Tests.dll.build
Tests.mdp
bin
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-18 19:56:24
|
Revision: 1378
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1378&view=rev
Author: jendave
Date: 2007-05-18 12:56:21 -0700 (Fri, 18 May 2007)
Log Message:
-----------
remove generated files
Removed Paths:
-------------
trunk/scsharp/SCSharp.sln
trunk/scsharp/SCSharp.suo
trunk/scsharp/scsharp.FxCop
trunk/scsharp/src/SCSharp/SCSharp.csproj
trunk/scsharp/src/SCSharp/SCSharp.csproj.user
trunk/scsharp/src/SCSharp/bin/
trunk/scsharp/src/SCSharp/obj/
trunk/scsharp/src/SCSharpLib/SCSharpLib.csproj
trunk/scsharp/src/SCSharpLib/SCSharpLib.csproj.user
trunk/scsharp/src/SCSharpLib/SCSharpLib.xml
trunk/scsharp/src/SCSharpLib/bin/
trunk/scsharp/src/SCSharpLib/obj/
trunk/scsharp/tests/TestTesult.xml
trunk/scsharp/tests/Tests.csproj
trunk/scsharp/tests/Tests.csproj.user
trunk/scsharp/tests/bin/
trunk/scsharp/tests/obj/
Deleted: trunk/scsharp/SCSharp.sln
===================================================================
--- trunk/scsharp/SCSharp.sln 2007-05-18 19:51:25 UTC (rev 1377)
+++ trunk/scsharp/SCSharp.sln 2007-05-18 19:56:21 UTC (rev 1378)
@@ -1,36 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCSharpLib", "src\SCSharpLib\SCSharpLib.csproj", "{1A51DB16-582A-4231-98DB-E4622F79D208}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCSharp", "src\SCSharp\SCSharp.csproj", "{7D4C7304-8496-4F1C-8FDF-9AF647FE199C}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "tests\Tests.csproj", "{29C81049-8557-4D06-B187-EF52765DB46E}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{468F1D07-AD17-4CC3-ABD0-2CA268E4E1A6}"
- ProjectSection(SolutionItems) = preProject
- prebuild.xml = prebuild.xml
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {1A51DB16-582A-4231-98DB-E4622F79D208}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1A51DB16-582A-4231-98DB-E4622F79D208}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1A51DB16-582A-4231-98DB-E4622F79D208}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1A51DB16-582A-4231-98DB-E4622F79D208}.Release|Any CPU.Build.0 = Release|Any CPU
- {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Release|Any CPU.Build.0 = Release|Any CPU
- {29C81049-8557-4D06-B187-EF52765DB46E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {29C81049-8557-4D06-B187-EF52765DB46E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {29C81049-8557-4D06-B187-EF52765DB46E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {29C81049-8557-4D06-B187-EF52765DB46E}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
Deleted: trunk/scsharp/SCSharp.suo
===================================================================
(Binary files differ)
Deleted: trunk/scsharp/scsharp.FxCop
===================================================================
--- trunk/scsharp/scsharp.FxCop 2007-05-18 19:51:25 UTC (rev 1377)
+++ trunk/scsharp/scsharp.FxCop 2007-05-18 19:56:21 UTC (rev 1378)
@@ -1,7068 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<FxCopProject Version="1.35" Name="SCSharp Project">
- <ProjectOptions>
- <SharedProject>True</SharedProject>
- <Stylesheet Apply="False">http://www.gotdotnet.com/team/fxcop//xsl/1.35/FxCopReport.xsl</Stylesheet>
- <SaveMessages>
- <Project Status="Active, Excluded" NewOnly="False" />
- <Report Status="Active" NewOnly="False" />
- </SaveMessages>
- <ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="True" />
- <EnableMultithreadedLoad>True</EnableMultithreadedLoad>
- <EnableMultithreadedAnalysis>True</EnableMultithreadedAnalysis>
- <SourceLookup>True</SourceLookup>
- <AnalysisExceptionsThreshold>10</AnalysisExceptionsThreshold>
- <RuleExceptionsThreshold>1</RuleExceptionsThreshold>
- <Spelling Locale="en-us" />
- <VersionAware>False</VersionAware>
- <OverrideRuleVisibilities>False</OverrideRuleVisibilities>
- <CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True" />
- <SearchGlobalAssemblyCache>False</SearchGlobalAssemblyCache>
- <DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
- </ProjectOptions>
- <Targets>
- <Target Name="$(ProjectDir)/src/SCSharp/bin/Debug/scsharp.exe" Analyze="True" AnalyzeAllChildren="True" />
- <Target Name="$(ProjectDir)/src/SCSharpLib/bin/Debug/SCSharpLib.dll" Analyze="True" AnalyzeAllChildren="True" />
- </Targets>
- <Rules>
- <RuleFiles>
- <RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
- <RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
- </RuleFiles>
- <Groups />
- <Settings />
- </Rules>
- <FxCopReport Version="1.35">
- <Namespaces>
- <Namespace Name="SCSharp.MpqLib">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-09 22:39:13Z">
- <Issue Name="Namespace">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib</Item>
- </Issue>
- </Message>
- </Messages>
- </Namespace>
- </Namespaces>
- <Targets>
- <Target Name="$(ProjectDir)/src/SCSharpLib/bin/Debug/SCSharpLib.dll">
- <Modules>
- <Module Name="scsharplib.dll">
- <Namespaces>
- <Namespace Name="SCSharp.MpqLib">
- <Types>
- <Type Name="Bin">
- <Members>
- <Member Name="Elements">
- <Messages>
- <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Bin.Elements:BinElement[]</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="BinElement">
- <Members>
- <Member Name=".ctor(System.Byte[],System.Int32,System.UInt32)">
- <Messages>
- <Message Id="0#buf" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Parameter">
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- <Item>buf</Item>
- <Item>buf</Item>
- </Issue>
- </Message>
- <Message Id="position+10" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+10</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+12" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+12</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+14" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+14</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+20" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+20</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+24" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+24</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+34" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+34</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+4" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+4</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+6" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+6</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message Id="position+8" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>position+8</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'buf'</Item>
- <Item>BinElement.BinElement(Byte[], Int32, UInt32)</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="ToString():System.String">
- <Messages>
- <Message Id="System.String.Format(System.String,System.Object,System.Object)" TypeName="SpecifyIFormatProvider" Category="Microsoft.Globalization" CheckId="CA1305" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>BinElement.ToString():String</Item>
- <Item>System.String.Format(System.String,System.Object,System.Object)</Item>
- <Item>System.String.Format(System.IFormatProvider,System.String,System.Object[])</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="BitStream">
- <Members>
- <Member Name="BaseStream">
- <Accessors>
- <Accessor Name="get_BaseStream():System.IO.Stream">
- <Messages>
- <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>BitStream.get_BaseStream():Stream</Item>
- </Issue>
- </Message>
- </Messages>
- </Accessor>
- </Accessors>
- </Member>
- <Member Name="ReadBits(System.Int32):System.Int32">
- <Messages>
- <Message Id="System.ArgumentOutOfRangeException.#ctor(System.String,System.String)" TypeName="DoNotPassLiteralsAsLocalizedParameters" Category="Microsoft.Globalization" CheckId="CA1303" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>BitStream.ReadBits(Int32):Int32</Item>
- <Item>2</Item>
- <Item>ArgumentOutOfRangeException.ArgumentOutOfRangeException(String, String)</Item>
- <Item>Maximum BitCount is 16</Item>
- </Issue>
- </Message>
- <Message TypeName="InstantiateArgumentExceptionsCorrectly" Category="Microsoft.Usage" CheckId="CA2208" Created="2007-05-10 15:48:01Z">
- <Issue Name="TwoArgumentsFirstShouldBeParameterName">
- <Item>System.ArgumentOutOfRangeException</Item>
- <Item>ArgumentOutOfRangeException.ArgumentOutOfRangeException(String, String)</Item>
- <Item>BitCount</Item>
- <Item>Maximum BitCount is 16</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="Chk">
- <Messages>
- <Message Id="Chk" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Chk</Item>
- <Item>SCSharp.MpqLib.Chk</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="GetMapString(System.Int32):System.String">
- <Messages>
- <Message Id="0#idx" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Parameter">
- <Item>Chk.GetMapString(Int32):String</Item>
- <Item>idx</Item>
- <Item>idx</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="mapMask">
- <Messages>
- <Message Id="Member" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>mapMask</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="MapMask">
- <Messages>
- <Message Id="Member" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MapMask</Item>
- </Issue>
- </Message>
- <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Chk.MapMask:Byte[,]</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="mapTiles">
- <Messages>
- <Message Id="Member" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>mapTiles</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="MapTiles">
- <Messages>
- <Message Id="Member" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MapTiles</Item>
- </Issue>
- </Message>
- <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Chk.MapTiles:UInt16[,]</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="NumComputerSlots">
- <Messages>
- <Message Id="Num" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Num</Item>
- <Item>Chk.NumComputerSlots:Int32</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="NumHumanSlots">
- <Messages>
- <Message Id="Num" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Num</Item>
- <Item>Chk.NumHumanSlots:Int32</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="NumPlayers">
- <Messages>
- <Message Id="Num" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Num</Item>
- <Item>Chk.NumPlayers:Int32</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="ParseSection(System.String):System.Void">
- <Messages>
- <Message TypeName="DoNotRaiseReservedExceptionTypes" Category="Microsoft.Usage" CheckId="CA2201" Created="2007-05-10 15:48:01Z">
- <Issue Name="TooGeneric">
- <Item>Chk.ParseSection(String):Void</Item>
- <Item>System.Exception</Item>
- </Issue>
- </Message>
- <Message Id="Body" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue Name="Body">
- <Item>Chk.ParseSection(String):Void</Item>
- <Item>System.Byte[,]</Item>
- </Issue>
- <Issue Name="Body">
- <Item>Chk.ParseSection(String):Void</Item>
- <Item>System.UInt16[,]</Item>
- </Issue>
- </Message>
- <Message Id="System.String.Format(System.String,System.Object)" TypeName="SpecifyIFormatProvider" Category="Microsoft.Globalization" CheckId="CA1305" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Chk.ParseSection(String):Void</Item>
- <Item>System.String.Format(System.String,System.Object)</Item>
- <Item>System.String.Format(System.IFormatProvider,System.String,System.Object[])</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="ReadFromStream(System.IO.Stream):System.Void">
- <Messages>
- <Message Id="stream_length" TypeName="RemoveUnusedLocals" Category="Microsoft.Performance" CheckId="CA1804" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Chk.ReadFromStream(Stream):Void</Item>
- <Item>stream_length</Item>
- <Item>System.Int64</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Tileset">
- <Messages>
- <Message Id="Tileset" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Tileset</Item>
- <Item>Chk.Tileset:Tileset</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Units">
- <Messages>
- <Message TypeName="DoNotExposeGenericLists" Category="Microsoft.Design" CheckId="CA1002" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>System.Collections.Generic.List`1<SCSharp.MpqLib.UnitInfo></Item>
- <Item>Chk.Units:List`1<SCSharp.MpqLib.UnitInfo></Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="ElementFlags">
- <Messages>
- <Message TypeName="IdentifiersShouldNotHaveIncorrectSuffix" Category="Microsoft.Naming" CheckId="CA1711" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>SCSharp.MpqLib.ElementFlags</Item>
- <Item>Flags</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="CenterTextHoriz">
- <Messages>
- <Message Id="Horiz" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Horiz</Item>
- <Item>ElementFlags.CenterTextHoriz</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="CenterTextVert">
- <Messages>
- <Message Id="Vert" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Vert</Item>
- <Item>ElementFlags.CenterTextVert</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="NoSoundOnMouseOvr">
- <Messages>
- <Message Id="Ovr" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Ovr</Item>
- <Item>ElementFlags.NoSoundOnMouseOvr</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="ElementType">
- <Messages>
- <Message TypeName="MarkEnumsWithFlags" Category="Microsoft.Design" CheckId="CA1027" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>ElementType</Item>
- </Issue>
- </Message>
- </Messages>
- </Type>
- <Type Name="FlingyDat">
- <Messages>
- <Message Id="Flingy" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Flingy</Item>
- <Item>SCSharp.MpqLib.FlingyDat</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="GetSpriteId(System.Int32):System.Int32">
- <Messages>
- <Message Id="index*2" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>index*2</Item>
- <Item>FlingyDat.GetSpriteId(Int32):Int32</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="ReadFromStream(System.IO.Stream):System.Void">
- <Messages>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'stream'</Item>
- <Item>FlingyDat.ReadFromStream(Stream):Void</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="Fnt">
- <Messages>
- <Message Id="Fnt" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Fnt</Item>
- <Item>SCSharp.MpqLib.Fnt</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="DumpGlyph(System.Int32):System.Void">
- <Messages>
- <Message Id="0#c" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="ParameterOneLetter">
- <Item>Fnt.DumpGlyph(Int32):Void</Item>
- <Item>c</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="GetGlyph(System.Int32):SCSharp.MpqLib.Glyph">
- <Messages>
- <Message Id="Body" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue Name="Body">
- <Item>Fnt.GetGlyph(Int32):Glyph</Item>
- <Item>System.Byte[,]</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Item[System.Int32]">
- <Accessors>
- <Accessor Name="get_Item(System.Int32):SCSharp.MpqLib.Glyph">
- <Messages>
- <Message Id="System.String.Format(System.String,System.Object,System.Object,System.Object)" TypeName="SpecifyIFormatProvider" Category="Microsoft.Globalization" CheckId="CA1305" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Fnt.get_Item(Int32):Glyph</Item>
- <Item>System.String.Format(System.String,System.Object,System.Object,System.Object)</Item>
- <Item>System.String.Format(System.IFormatProvider,System.String,System.Object[])</Item>
- </Issue>
- </Message>
- </Messages>
- </Accessor>
- </Accessors>
- </Member>
- </Members>
- </Type>
- <Type Name="Glyph">
- <Members>
- <Member Name="bitmap">
- <Messages>
- <Message Id="Member" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>bitmap</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Bitmap">
- <Messages>
- <Message Id="Member" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Bitmap</Item>
- </Issue>
- </Message>
- <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Glyph.Bitmap:Byte[,]</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="Got">
- <Members>
- <Member Name="ReadFromStream(System.IO.Stream):System.Void">
- <Messages>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'stream'</Item>
- <Item>Got.ReadFromStream(Stream):Void</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="Grp">
- <Messages>
- <Message Id="Grp" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Grp</Item>
- <Item>SCSharp.MpqLib.Grp</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="DecodeLine(System.Byte[,],System.Int32,System.Byte,System.UInt16,System.UInt16):System.Void">
- <Messages>
- <Message Id="0#" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>grid</Item>
- </Issue>
- </Message>
- <Message TypeName="ProvideCorrectArgumentsToFormattingMethods" Category="Microsoft.Usage" CheckId="CA2241" Created="2007-05-10 15:48:01Z">
- <Issue Name="MissingSpecifier">
- <Item>Console.WriteLine(String, Object[]):Void</Item>
- <Item>Grp.DecodeLine(Byte[,], Int32, Byte, UInt16, UInt16):Void</Item>
- <Item>'stack3'</Item>
- <Item>EXCEPTION on line {0}, x = {2}, i = {3}, line length = {2} (line data length = {4}):</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="GetFrame(System.Int32):System.Byte[,]">
- <Messages>
- <Message TypeName="DoNotRaiseReservedExceptionTypes" Category="Microsoft.Usage" CheckId="CA2201" Created="2007-05-10 15:48:01Z">
- <Issue Name="TooGeneric">
- <Item>Grp.GetFrame(Int32):Byte[,]</Item>
- <Item>System.Exception</Item>
- </Issue>
- </Message>
- <Message Id="Body" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue Name="Body">
- <Item>Grp.GetFrame(Int32):Byte[,]</Item>
- <Item>System.Byte[,]</Item>
- </Issue>
- </Message>
- <Message Id="Return" TypeName="PreferJaggedArraysOverMultidimensional" Category="Microsoft.Performance" CheckId="CA1814" Created="2007-05-10 15:48:01Z">
- <Issue Name="Return">
- <Item>Grp.GetFrame(Int32):Byte[,]</Item>
- <Item>System.Byte[,]</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="ImagesDat">
- <Members>
- <Member Name="GetGrpIndex(System.UInt32):System.UInt16">
- <Messages>
- <Message Id="Grp" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Grp</Item>
- <Item>ImagesDat.GetGrpIndex(UInt32):UInt16</Item>
- </Issue>
- </Message>
- <Message Id="index*4" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>index*4</Item>
- <Item>ImagesDat.GetGrpIndex(UInt32):UInt16</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="GetIScriptIndex(System.UInt32):System.UInt16">
- <Messages>
- <Message Id="index*4" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>index*4</Item>
- <Item>ImagesDat.GetIScriptIndex(UInt32):UInt16</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="ReadFromStream(System.IO.Stream):System.Void">
- <Messages>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'stream'</Item>
- <Item>ImagesDat.ReadFromStream(Stream):Void</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="IMpqResource">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.IMpqResource</Item>
- </Issue>
- </Message>
- </Messages>
- </Type>
- <Type Name="InitialUnits">
- <Messages>
- <Message TypeName="OnlyFlagsEnumsShouldHavePluralNames" Category="Microsoft.Naming" CheckId="CA1717" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>InitialUnits</Item>
- </Issue>
- </Message>
- </Messages>
- </Type>
- <Type Name="LinkedNode">
- <Members>
- <Member Name=".ctor(System.Int32,System.Int32)">
- <Messages>
- <Message Id="0#Val" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Parameter">
- <Item>LinkedNode.LinkedNode(Int32, Int32)</Item>
- <Item>Val</Item>
- <Item>decompVal</Item>
- </Issue>
- </Message>
- <Message Id="0#decomp" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Parameter">
- <Item>LinkedNode.LinkedNode(Int32, Int32)</Item>
- <Item>decomp</Item>
- <Item>decompVal</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Insert(SCSharp.MpqLib.LinkedNode):SCSharp.MpqLib.LinkedNode">
- <Messages>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'other'</Item>
- <Item>LinkedNode.Insert(LinkedNode):LinkedNode</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Prev">
- <Messages>
- <Message Id="Prev" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Prev</Item>
- <Item>LinkedNode.Prev:LinkedNode</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MapDataDat">
- <Members>
- <Member Name="GetFileIndex(System.UInt32):System.UInt32">
- <Messages>
- <Message Id="index*4" TypeName="OperationsShouldNotOverflow" Category="Microsoft.Usage" CheckId="CA2233" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>index*4</Item>
- <Item>MapDataDat.GetFileIndex(UInt32):UInt32</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="NumIndices">
- <Messages>
- <Message Id="Num" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Num</Item>
- <Item>MapDataDat.NumIndices:Int32</Item>
- </Issue>
- </Message>
- <Message Id="Indices" TypeName="UsePreferredTerms" Category="Microsoft.Naming" CheckId="CA1726" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Indices</Item>
- <Item>NumIndices</Item>
- <Item>Indexes</Item>
- </Issue>
- </Message>
- </Messages>
- <Accessors>
- <Accessor Name="get_NumIndices():System.Int32">
- <Messages>
- <Message Id="Indices" TypeName="UsePreferredTerms" Category="Microsoft.Naming" CheckId="CA1726" Created="2007-05-10 15:48:01Z">
- <Issue Name="Member">
- <Item>Indices</Item>
- <Item>get_NumIndices</Item>
- <Item>Indexes</Item>
- </Issue>
- </Message>
- </Messages>
- </Accessor>
- </Accessors>
- </Member>
- <Member Name="ReadFromStream(System.IO.Stream):System.Void">
- <Messages>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'stream'</Item>
- <Item>MapDataDat.ReadFromStream(Stream):Void</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="Mpq">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.Mpq</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="GetResource(System.String):System.Object">
- <Messages>
- <Message Id="System.String.ToLower" TypeName="SpecifyCultureInfo" Category="Microsoft.Globalization" CheckId="CA1304" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Mpq.GetResource(String):Object</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="GetTypeFromResourcePath(System.String):System.Type">
- <Messages>
- <Message Id="ext" TypeName="AvoidUnnecessaryStringCreation" Category="Microsoft.Performance" CheckId="CA1807" Created="2007-05-10 15:48:01Z">
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationLocal">
- <Item>String.ToLower():String</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- <Issue Name="UseStringCompareLocal">
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>String.op_Equality(String, String):Boolean</Item>
- <Item>ext</Item>
- </Issue>
- </Message>
- <Message Id="path" TypeName="AvoidUnnecessaryStringCreation" Category="Microsoft.Performance" CheckId="CA1807" Created="2007-05-10 15:48:01Z">
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- <Issue Name="DuplicateStringCreationParameter">
- <Item>String.ToLower():String</Item>
- <Item>path</Item>
- </Issue>
- </Message>
- <Message TypeName="MarkMembersAsStatic" Category="Microsoft.Performance" CheckId="CA1822" Created="2007-05-10 15:48:01Z" FixCategory="Breaking">
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- </Issue>
- </Message>
- <Message Id="System.String.ToLower" TypeName="SpecifyCultureInfo" Category="Microsoft.Globalization" CheckId="CA1304" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- </Message>
- <Message TypeName="ValidateArgumentsOfPublicMethods" Category="Microsoft.Design" CheckId="CA1062" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>'path'</Item>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- </Issue>
- <Issue>
- <Item>'path'</Item>
- <Item>Mpq.GetTypeFromResourcePath(String):Type</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqArchive">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.MpqArchive</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name=".cctor()">
- <Messages>
- <Message TypeName="InitializeReferenceTypeStaticFieldsInline" Category="Microsoft.Performance" CheckId="CA1810" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>SCSharp.MpqLib.MpqArchive</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name=".ctor(System.String)">
- <Messages>
- <Message Id="filename" TypeName="CompoundWordsShouldBeCasedCorrectly" Category="Microsoft.Naming" CheckId="CA1702" Created="2007-05-10 15:48:01Z">
- <Issue Name="ShouldBeCompoundWord">
- <Item>filename</Item>
- <Item>parameter</Item>
- <Item>filename</Item>
- <Item>fileName</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="FileExists(System.String):System.Boolean">
- <Messages>
- <Message Id="filename" TypeName="CompoundWordsShouldBeCasedCorrectly" Category="Microsoft.Naming" CheckId="CA1702" Created="2007-05-10 15:48:01Z">
- <Issue Name="ShouldBeCompoundWord">
- <Item>filename</Item>
- <Item>parameter</Item>
- <Item>filename</Item>
- <Item>fileName</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="HashString(System.String,System.Int32):System.UInt32">
- <Messages>
- <Message Id="System.Char.ToUpper(System.Char)" TypeName="SpecifyCultureInfo" Category="Microsoft.Globalization" CheckId="CA1304" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqArchive.HashString(String, Int32):UInt32</Item>
- <Item>System.Char.ToUpper(System.Char)</Item>
- <Item>System.Char.ToUpper(System.Char,System.Globalization.CultureInfo)</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Init():System.Void">
- <Messages>
- <Message Id="System.Exception.#ctor(System.String)" TypeName="DoNotPassLiteralsAsLocalizedParameters" Category="Microsoft.Globalization" CheckId="CA1303" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqArchive.Init():Void</Item>
- <Item>1</Item>
- <Item>Exception.Exception(String)</Item>
- <Item>Unable to find MPQ header</Item>
- </Issue>
- </Message>
- <Message TypeName="DoNotRaiseReservedExceptionTypes" Category="Microsoft.Usage" CheckId="CA2201" Created="2007-05-10 15:48:01Z">
- <Issue Name="TooGeneric">
- <Item>MpqArchive.Init():Void</Item>
- <Item>System.Exception</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="OpenFile(System.String):SCSharp.MpqLib.MpqStream">
- <Messages>
- <Message Id="filename" TypeName="CompoundWordsShouldBeCasedCorrectly" Category="Microsoft.Naming" CheckId="CA1702" Created="2007-05-10 15:48:01Z">
- <Issue Name="ShouldBeCompoundWord">
- <Item>filename</Item>
- <Item>parameter</Item>
- <Item>filename</Item>
- <Item>fileName</Item>
- </Issue>
- </Message>
- <Message Id="System.IO.FileNotFoundException.#ctor(System.String)" TypeName="DoNotPassLiteralsAsLocalizedParameters" Category="Microsoft.Globalization" CheckId="CA1303" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqArchive.OpenFile(String):MpqStream</Item>
- <Item>1</Item>
- <Item>FileNotFoundException.FileNotFoundException(String)</Item>
- <Item>File not found: __</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqArchiveContainer">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.MpqArchiveContainer</Item>
- </Issue>
- </Message>
- </Messages>
- </Type>
- <Type Name="MpqBlock">
- <Members>
- <Member Name="Size">
- <Messages>
- <Message TypeName="UseLiteralsWhereAppropriate" Category="Microsoft.Performance" CheckId="CA1802" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Size</Item>
- <Item>16</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqContainer">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.MpqContainer</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="Add(SCSharp.MpqLib.Mpq):System.Void">
- <Messages>
- <Message Id="0#mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Parameter">
- <Item>MpqContainer.Add(Mpq):Void</Item>
- <Item>mpq</Item>
- <Item>mpq</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Remove(SCSharp.MpqLib.Mpq):System.Void">
- <Messages>
- <Message Id="0#mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Parameter">
- <Item>MpqContainer.Remove(Mpq):Void</Item>
- <Item>mpq</Item>
- <Item>mpq</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqDirectory">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.MpqDirectory</Item>
- </Issue>
- </Message>
- </Messages>
- <Members>
- <Member Name="ConvertBackSlashes(System.String):System.String">
- <Messages>
- <Message TypeName="MarkMembersAsStatic" Category="Microsoft.Performance" CheckId="CA1822" Created="2007-05-10 15:48:01Z" FixCategory="NonBreaking">
- <Issue>
- <Item>MpqDirectory.ConvertBackSlashes(String):String</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="GetStreamForResource(System.String):System.IO.Stream">
- <Messages>
- <Message Id="System.String.ToLower" TypeName="SpecifyCultureInfo" Category="Microsoft.Globalization" CheckId="CA1304" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqDirectory.GetStreamForResource(String):Stream</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- <Issue>
- <Item>MpqDirectory.GetStreamForResource(String):Stream</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="RecurseDirectoryTree(System.String):System.Void">
- <Messages>
- <Message Id="System.String.ToLower" TypeName="SpecifyCultureInfo" Category="Microsoft.Globalization" CheckId="CA1304" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqDirectory.RecurseDirectoryTree(String):Void</Item>
- <Item>System.String.ToLower</Item>
- <Item>System.String.ToLower(System.Globalization.CultureInfo)</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqHash">
- <Members>
- <Member Name="IsValid">
- <Accessors>
- <Accessor Name="get_IsValid():System.Boolean">
- <Messages>
- <Message TypeName="AvoidUncalledPrivateCode" Category="Microsoft.Performance" CheckId="CA1811" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqHash.get_IsValid():Boolean</Item>
- </Issue>
- </Message>
- </Messages>
- </Accessor>
- </Accessors>
- </Member>
- <Member Name="Size">
- <Messages>
- <Message TypeName="UseLiteralsWhereAppropriate" Category="Microsoft.Performance" CheckId="CA1802" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Size</Item>
- <Item>16</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqHeader">
- <Members>
- <Member Name="MpqId">
- <Messages>
- <Message TypeName="UseLiteralsWhereAppropriate" Category="Microsoft.Performance" CheckId="CA1802" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqId</Item>
- <Item>441536589</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- <Member Name="Size">
- <Messages>
- <Message TypeName="UseLiteralsWhereAppropriate" Category="Microsoft.Performance" CheckId="CA1802" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>Size</Item>
- <Item>32</Item>
- </Issue>
- </Message>
- </Messages>
- </Member>
- </Members>
- </Type>
- <Type Name="MpqHuffman">
- <Messages>
- <Message Id="Mpq" TypeName="IdentifiersShouldBeSpelledCorrectly" Category="Microsoft.Naming" CheckId="CA1704" Created="2007-05-10 15:48:01Z">
- <Issue Name="Type">
- <Item>Mpq</Item>
- <Item>SCSharp.MpqLib.MpqHuffman</Item>
- </Issue>
- </Message>
- <Message TypeName="StaticHolderTypesShouldBeSealed" Category="Microsoft.Design" CheckId="CA1052" Created="2007-05-10 15:48:01Z">
- <Issue>
- <Item>MpqHuffman</Item>
- ...
[truncated message content] |
|
From: <je...@us...> - 2007-05-18 19:51:34
|
Revision: 1377
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1377&view=rev
Author: jendave
Date: 2007-05-18 12:51:25 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Added Paths:
-----------
trunk/scsharp/
trunk/scsharp/AUTHORS
trunk/scsharp/COPYING
trunk/scsharp/ChangeLog
trunk/scsharp/HACKING
trunk/scsharp/INSTALL
trunk/scsharp/NEWS
trunk/scsharp/README
trunk/scsharp/SCSharp.sln
trunk/scsharp/SCSharp.suo
trunk/scsharp/credits.txt
trunk/scsharp/docs/
trunk/scsharp/docs/Makefile.am
trunk/scsharp/docs/Makefile.in
trunk/scsharp/docs/NOTES
trunk/scsharp/docs/bin-files
trunk/scsharp/docs/cmdbtns
trunk/scsharp/docs/directory-layout
trunk/scsharp/docs/got-files
trunk/scsharp/docs/images.dat
trunk/scsharp/docs/spk-file
trunk/scsharp/docs/sprites.dat
trunk/scsharp/docs/tilesets
trunk/scsharp/docs/wireframes
trunk/scsharp/lib/
trunk/scsharp/lib/net-2.0/
trunk/scsharp/lib/net-2.0/ICSharpCode.SharpZipLib.dll
trunk/scsharp/lib/net-2.0/SdlDotNet.dll
trunk/scsharp/lib/net-2.0/SdlDotNet.xml
trunk/scsharp/lib/net-2.0/Tao.Sdl.dll
trunk/scsharp/lib/net-2.0/Tao.Sdl.xml
trunk/scsharp/lib/net-2.0/nunit.framework.dll
trunk/scsharp/monodev.sh
trunk/scsharp/nantfiles.bat
trunk/scsharp/nantfiles.sh
trunk/scsharp/prebuild.xml
trunk/scsharp/scsharp.FxCop
trunk/scsharp/sharpdev2.bat
trunk/scsharp/src/
trunk/scsharp/src/SCSharp/
trunk/scsharp/src/SCSharp/App.config
trunk/scsharp/src/SCSharp/App.ico
trunk/scsharp/src/SCSharp/Properties/
trunk/scsharp/src/SCSharp/Properties/AssemblyInfo.cs
trunk/scsharp/src/SCSharp/Properties/Resources.Designer.cs
trunk/scsharp/src/SCSharp/Properties/Resources.resx
trunk/scsharp/src/SCSharp/Properties/Settings.Designer.cs
trunk/scsharp/src/SCSharp/Properties/Settings.cs
trunk/scsharp/src/SCSharp/Properties/Settings.settings
trunk/scsharp/src/SCSharp/SCSharp.cs
trunk/scsharp/src/SCSharp/SCSharp.csproj
trunk/scsharp/src/SCSharp/SCSharp.csproj.user
trunk/scsharp/src/SCSharp/bin/
trunk/scsharp/src/SCSharp/bin/Debug/
trunk/scsharp/src/SCSharp/bin/Debug/App.config
trunk/scsharp/src/SCSharp/bin/Debug/ICSharpCode.SharpZipLib.dll
trunk/scsharp/src/SCSharp/bin/Debug/SCSharp.vshost.exe
trunk/scsharp/src/SCSharp/bin/Debug/SCSharpLib.dll
trunk/scsharp/src/SCSharp/bin/Debug/SCSharpLib.pdb
trunk/scsharp/src/SCSharp/bin/Debug/SCSharpLib.xml
trunk/scsharp/src/SCSharp/bin/Debug/SdlDotNet.dll
trunk/scsharp/src/SCSharp/bin/Debug/SdlDotNet.xml
trunk/scsharp/src/SCSharp/bin/Debug/Tao.Sdl.dll
trunk/scsharp/src/SCSharp/bin/Debug/Tao.Sdl.xml
trunk/scsharp/src/SCSharp/bin/Debug/scsharp.exe
trunk/scsharp/src/SCSharp/bin/Debug/scsharp.exe.config
trunk/scsharp/src/SCSharp/bin/Debug/scsharp.pdb
trunk/scsharp/src/SCSharp/bin/Debug/scsharp.vshost.exe.config
trunk/scsharp/src/SCSharp/obj/
trunk/scsharp/src/SCSharp/obj/Debug/
trunk/scsharp/src/SCSharp/obj/Debug/Refactor/
trunk/scsharp/src/SCSharp/obj/Debug/ResolveAssemblyReference.cache
trunk/scsharp/src/SCSharp/obj/Debug/SCSharp.App.ico
trunk/scsharp/src/SCSharp/obj/Debug/SCSharp.Properties.Resources.resources
trunk/scsharp/src/SCSharp/obj/Debug/SCSharp.csproj.GenerateResource.Cache
trunk/scsharp/src/SCSharp/obj/Debug/TempPE/
trunk/scsharp/src/SCSharp/obj/Debug/scsharp.exe
trunk/scsharp/src/SCSharp/obj/Debug/scsharp.pdb
trunk/scsharp/src/SCSharp/obj/SCSharp.csproj.FileList.txt
trunk/scsharp/src/SCSharp/scsharp.snk
trunk/scsharp/src/SCSharpLib/
trunk/scsharp/src/SCSharpLib/App.ico
trunk/scsharp/src/SCSharpLib/MpqLib/
trunk/scsharp/src/SCSharpLib/MpqLib/Bin.cs
trunk/scsharp/src/SCSharpLib/MpqLib/BinElement.cs
trunk/scsharp/src/SCSharpLib/MpqLib/BitStream.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Chk.cs
trunk/scsharp/src/SCSharpLib/MpqLib/FlingyDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Fnt.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Glyph.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Got.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Grp.cs
trunk/scsharp/src/SCSharpLib/MpqLib/IMpqResource.cs
trunk/scsharp/src/SCSharpLib/MpqLib/ImagesDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/LinkedNode.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MapDataDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Mpq.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqArchive.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqArchiveContainer.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqBlock.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqContainer.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqDirectory.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqHash.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqHeader.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqHuffman.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqStream.cs
trunk/scsharp/src/SCSharpLib/MpqLib/MpqWavCompression.cs
trunk/scsharp/src/SCSharpLib/MpqLib/PKLibDecompress.cs
trunk/scsharp/src/SCSharpLib/MpqLib/ParallaxLayer.cs
trunk/scsharp/src/SCSharpLib/MpqLib/ParallaxObject.cs
trunk/scsharp/src/SCSharpLib/MpqLib/ScriptBin.cs
trunk/scsharp/src/SCSharpLib/MpqLib/SfxDataDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Smk.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Spk.cs
trunk/scsharp/src/SCSharpLib/MpqLib/SpritesDat.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Tbl.cs
trunk/scsharp/src/SCSharpLib/MpqLib/Trigger.cs
trunk/scsharp/src/SCSharpLib/MpqLib/TriggerAction.cs
trunk/scsharp/src/SCSharpLib/MpqLib/TriggerCondition.cs
trunk/scsharp/src/SCSharpLib/MpqLib/TriggerData.cs
trunk/scsharp/src/SCSharpLib/MpqLib/UnitInfo.cs
trunk/scsharp/src/SCSharpLib/MpqLib/UnitsDat.cs
trunk/scsharp/src/SCSharpLib/Properties/
trunk/scsharp/src/SCSharpLib/Properties/AssemblyInfo.cs
trunk/scsharp/src/SCSharpLib/Properties/Resources.Designer.cs
trunk/scsharp/src/SCSharpLib/Properties/Resources.resx
trunk/scsharp/src/SCSharpLib/Properties/Settings.Designer.cs
trunk/scsharp/src/SCSharpLib/Properties/Settings.settings
trunk/scsharp/src/SCSharpLib/SCSharpLib.csproj
trunk/scsharp/src/SCSharpLib/SCSharpLib.csproj.user
trunk/scsharp/src/SCSharpLib/SCSharpLib.xml
trunk/scsharp/src/SCSharpLib/UI/
trunk/scsharp/src/SCSharpLib/UI/BriefingRunner.cs
trunk/scsharp/src/SCSharpLib/UI/Builtins.cs
trunk/scsharp/src/SCSharpLib/UI/ButtonElement.cs
trunk/scsharp/src/SCSharpLib/UI/Cinematic.cs
trunk/scsharp/src/SCSharpLib/UI/ComboBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/ConnectionScreen.cs
trunk/scsharp/src/SCSharpLib/UI/CreditsScreen.cs
trunk/scsharp/src/SCSharpLib/UI/CursorAnimator.cs
trunk/scsharp/src/SCSharpLib/UI/DialogBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/EndMissionDialog.cs
trunk/scsharp/src/SCSharpLib/UI/EntryDialog.cs
trunk/scsharp/src/SCSharpLib/UI/EstablishingShot.cs
trunk/scsharp/src/SCSharpLib/UI/ExitConfirmationDialog.cs
trunk/scsharp/src/SCSharpLib/UI/FFmpeg.cs
trunk/scsharp/src/SCSharpLib/UI/Game.cs
trunk/scsharp/src/SCSharpLib/UI/GameMenuDialog.cs
trunk/scsharp/src/SCSharpLib/UI/GameModeDialog.cs
trunk/scsharp/src/SCSharpLib/UI/GameScreen.cs
trunk/scsharp/src/SCSharpLib/UI/GlobalResources.cs
trunk/scsharp/src/SCSharpLib/UI/GuiUtil.cs
trunk/scsharp/src/SCSharpLib/UI/HelpDialog.cs
trunk/scsharp/src/SCSharpLib/UI/ImageElement.cs
trunk/scsharp/src/SCSharpLib/UI/KeystrokeDialog.cs
trunk/scsharp/src/SCSharpLib/UI/LabelElement.cs
trunk/scsharp/src/SCSharpLib/UI/ListBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/LoadSavedScreen.cs
trunk/scsharp/src/SCSharpLib/UI/LoginScreen.cs
trunk/scsharp/src/SCSharpLib/UI/MainMenu.cs
trunk/scsharp/src/SCSharpLib/UI/MapRenderer.cs
trunk/scsharp/src/SCSharpLib/UI/MarkupScreen.cs
trunk/scsharp/src/SCSharpLib/UI/NetworkDialog.cs
trunk/scsharp/src/SCSharpLib/UI/ObjectivesDialog.cs
trunk/scsharp/src/SCSharpLib/UI/OkCancelDialog.cs
trunk/scsharp/src/SCSharpLib/UI/OkDialog.cs
trunk/scsharp/src/SCSharpLib/UI/OptionsDialog.cs
trunk/scsharp/src/SCSharpLib/UI/Painter.cs
trunk/scsharp/src/SCSharpLib/UI/Pcx.cs
trunk/scsharp/src/SCSharpLib/UI/PlayCustomScreen.cs
trunk/scsharp/src/SCSharpLib/UI/ProtossReadyRoomScreen.cs
trunk/scsharp/src/SCSharpLib/UI/QuitMissionDialog.cs
trunk/scsharp/src/SCSharpLib/UI/Race.cs
trunk/scsharp/src/SCSharpLib/UI/RaceSelectionScreen.cs
trunk/scsharp/src/SCSharpLib/UI/ReadyRoomScreen.cs
trunk/scsharp/src/SCSharpLib/UI/Resources.cs
trunk/scsharp/src/SCSharpLib/UI/RestartConfirmationDialog.cs
trunk/scsharp/src/SCSharpLib/UI/SmackerPlayer.cs
trunk/scsharp/src/SCSharpLib/UI/SoundDialog.cs
trunk/scsharp/src/SCSharpLib/UI/SpeedDialog.cs
trunk/scsharp/src/SCSharpLib/UI/Sprite.cs
trunk/scsharp/src/SCSharpLib/UI/SpriteManager.cs
trunk/scsharp/src/SCSharpLib/UI/SwooshPainter.cs
trunk/scsharp/src/SCSharpLib/UI/TerranReadyRoomScreen.cs
trunk/scsharp/src/SCSharpLib/UI/TextBoxElement.cs
trunk/scsharp/src/SCSharpLib/UI/TitleScreen.cs
trunk/scsharp/src/SCSharpLib/UI/UIDialog.cs
trunk/scsharp/src/SCSharpLib/UI/UIElement.cs
trunk/scsharp/src/SCSharpLib/UI/UIPainter.cs
trunk/scsharp/src/SCSharpLib/UI/UIScreen.cs
trunk/scsharp/src/SCSharpLib/UI/Unit.cs
trunk/scsharp/src/SCSharpLib/UI/Utilities.cs
trunk/scsharp/src/SCSharpLib/UI/VideoDialog.cs
trunk/scsharp/src/SCSharpLib/UI/ZergReadyRoomScreen.cs
trunk/scsharp/src/SCSharpLib/bin/
trunk/scsharp/src/SCSharpLib/bin/Debug/
trunk/scsharp/src/SCSharpLib/bin/Debug/ICSharpCode.SharpZipLib.dll
trunk/scsharp/src/SCSharpLib/bin/Debug/SCSharpLib.dll
trunk/scsharp/src/SCSharpLib/bin/Debug/SCSharpLib.pdb
trunk/scsharp/src/SCSharpLib/bin/Debug/SCSharpLib.xml
trunk/scsharp/src/SCSharpLib/bin/Debug/SdlDotNet.dll
trunk/scsharp/src/SCSharpLib/bin/Debug/SdlDotNet.xml
trunk/scsharp/src/SCSharpLib/bin/Debug/Tao.Sdl.dll
trunk/scsharp/src/SCSharpLib/bin/Debug/Tao.Sdl.xml
trunk/scsharp/src/SCSharpLib/obj/
trunk/scsharp/src/SCSharpLib/obj/Debug/
trunk/scsharp/src/SCSharpLib/obj/Debug/Refactor/
trunk/scsharp/src/SCSharpLib/obj/Debug/Refactor/SCSharp.dll
trunk/scsharp/src/SCSharpLib/obj/Debug/Refactor/SCSharp.dll.dll
trunk/scsharp/src/SCSharpLib/obj/Debug/Refactor/SCSharpLib.dll
trunk/scsharp/src/SCSharpLib/obj/Debug/SCSharp.App.ico
trunk/scsharp/src/SCSharpLib/obj/Debug/SCSharp.Properties.Resources.resources
trunk/scsharp/src/SCSharpLib/obj/Debug/SCSharpLib.csproj.GenerateResource.Cache
trunk/scsharp/src/SCSharpLib/obj/Debug/SCSharpLib.dll
trunk/scsharp/src/SCSharpLib/obj/Debug/SCSharpLib.pdb
trunk/scsharp/src/SCSharpLib/obj/Debug/TempPE/
trunk/scsharp/src/SCSharpLib/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
trunk/scsharp/src/SCSharpLib/obj/SCSharpLib.csproj.FileList.txt
trunk/scsharp/src/SCSharpLib/scsharp.snk
trunk/scsharp/tests/
trunk/scsharp/tests/Bmp.cs
trunk/scsharp/tests/DumpChk.cs
trunk/scsharp/tests/DumpGrp.cs
trunk/scsharp/tests/DumpIScript.cs
trunk/scsharp/tests/DumpTbl.cs
trunk/scsharp/tests/FontFoo.cs
trunk/scsharp/tests/Makefile.am
trunk/scsharp/tests/Makefile.in
trunk/scsharp/tests/Properties/
trunk/scsharp/tests/Properties/AssemblyInfo.cs
trunk/scsharp/tests/SCSharpTests.nunit
trunk/scsharp/tests/TestTesult.xml
trunk/scsharp/tests/Tests.csproj
trunk/scsharp/tests/Tests.csproj.user
trunk/scsharp/tests/Tga.cs
trunk/scsharp/tests/bin/
trunk/scsharp/tests/bin/Debug/
trunk/scsharp/tests/bin/Debug/ICSharpCode.SharpZipLib.dll
trunk/scsharp/tests/bin/Debug/SCSharpLib.dll
trunk/scsharp/tests/bin/Debug/SCSharpLib.pdb
trunk/scsharp/tests/bin/Debug/SCSharpLib.xml
trunk/scsharp/tests/bin/Debug/SCSharpTests.dll
trunk/scsharp/tests/bin/Debug/SCSharpTests.pdb
trunk/scsharp/tests/bin/Debug/SdlDotNet.dll
trunk/scsharp/tests/bin/Debug/SdlDotNet.xml
trunk/scsharp/tests/bin/Debug/Tao.Sdl.dll
trunk/scsharp/tests/bin/Debug/Tao.Sdl.xml
trunk/scsharp/tests/bin/Debug/nunit.framework.dll
trunk/scsharp/tests/obj/
trunk/scsharp/tests/obj/Debug/
trunk/scsharp/tests/obj/Debug/Refactor/
trunk/scsharp/tests/obj/Debug/SCSharpTests.dll
trunk/scsharp/tests/obj/Debug/SCSharpTests.pdb
trunk/scsharp/tests/obj/Debug/TempPE/
trunk/scsharp/tests/obj/Tests.csproj.FileList.txt
trunk/scsharp/tests/scsharp.snk
trunk/scsharp/vs2005.bat
Added: trunk/scsharp/AUTHORS
===================================================================
--- trunk/scsharp/AUTHORS (rev 0)
+++ trunk/scsharp/AUTHORS 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1 @@
+Chris Toshok <to...@hu...>
\ No newline at end of file
Added: trunk/scsharp/COPYING
===================================================================
--- trunk/scsharp/COPYING (rev 0)
+++ trunk/scsharp/COPYING 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,28 @@
+StormLib is released under an unknown (to me) license. It has
+multiple copyright holders.
+
+All of the SCSharp specific code is released under an X11 license.
+Use it as you see fit. The license text is included below.
+
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
Added: trunk/scsharp/ChangeLog
===================================================================
--- trunk/scsharp/ChangeLog (rev 0)
+++ trunk/scsharp/ChangeLog 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,505 @@
+2006-05-29 Chris Toshok <to...@hu...>
+
+ * Makefile.am (release): fix this target so that it works again.
+
+ * NEWS: include news for the first time.
+
+ * configure.ac: bump to 0.0000008.
+
+ * HACKING: fix up the .smk entry, with various options for
+ projects, and remove the managed stormlib project since Foole's is
+ working.
+
+ * RELEASE_README: s/starcraft/scsharp
+
+ * src/scsharp.exe.config-example: add the new options.
+
+ * src/scsharp.exe.config: can't put -- in the middle of comments.
+
+2006-05-29 Chris Toshok <to...@hu...>
+
+ * SCSharp/Makefile.am (MCSFLAGS): define USE_STORM_DLL if
+ ENABLE_STORMLIB == true.
+
+ * src/scsharp.exe.config: add some comments about the debugging
+ options, and add a new one to enable the unmanaged mpq library.
+
+ * Tests/dump-iscript.cs (DumpIScript.ctor): we assume the mpq
+ passed in is the stardat.mpq.
+
+ * SCSharp/SCSharp.UI/Painter.cs (.ctor): add back in a constructor
+ taking a Surface so the font-foo test continues to work.
+
+ * SCSharp/SCSharp.Mpq/Mpq.cs: USE_STORM_DLL no longer switches
+ between managed/unmanaged implementations, but compiles in the
+ optional unmanaged version as well.
+
+ * Makefile.am (SUBDIRS): only build in StormLib if ENABLE_STORMLIB
+ == true.
+
+ * configure.ac: add AC_ARG_ENABLE for --enable-stormlib. If it's
+ left out, only the managed version is built.
+
+2006-05-29 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/Game.cs (CreateWindow): switch to new Painter
+ ctor.
+ (KeyboardDown): add handling for Ctrl-F to switch between
+ fullscreen and windowed mode.
+
+ * SCSharp/SCSharp.UI/UIDialog.cs: s/Game/Painter for the screen
+ nres constants.
+
+ * SCSharp/SCSharp.UI/Sprite.cs: same.
+
+ * SCSharp/SCSharp.UI/Cinematic.cs: same.
+
+ * SCSharp/SCSharp.UI/GameScreen: same.
+
+ * SCSharp/SCSharp.UI/UIScreen.cs (FirstPaint): revert to this
+ the non-disgusting hack version.
+
+ * SCSharp/SCSharp.UI/Painter.cs: move the SCREEN_RES_X/Y constants
+ here, from Game.cs.
+ (Fullscreen): new property, allow switching between fullscreen and
+ not.
+
+2006-05-26 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.Mpq/Chk.cs (ReadFromStream): change the loop so
+ that it'll work with both StormLib and the managed .mpq stuff.
+
+2006-05-24 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/GuiUtil.cs (RenderGlyph): add a hack to
+ antialias the fonts. of course this is yet another hack on top of
+ the already hackish nature of font rendering.
+
+2006-05-24 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/GameScreen.cs: track the Unit currently under
+ the cursor, and when we click on it, spew a little info about it.
+
+2006-05-24 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/Game.cs (DisplayTitle): use the FirstPainted
+ event to determine when the title screen is shown, rather than the
+ Ready event (which is emitted when it finishes loading.)
+ (TitleScreenReady): pass in both stardatMpq and broodatMpq to the
+ GlobalResources ctor so it can load both sets of resources.
+
+ * SCSharp/SCSharp.UI/Builtins.cs: add mapdata.dat and mapdata.tbl.
+
+ * SCSharp/SCSharp.UI/GlobalResources.cs: rework things in this
+ class to handle loading both the broodwar and starcraft assets.
+ Use Game.PlayingBroodwar to implicitly switch between the
+ different versions when using just the resource name, but allow
+ explicit access to each version when necessary.
+
+ * SCSharp/SCSharp.Mpq/Mpq.cs (GetTypeFromResourcePath): handle
+ mapdata.dat.
+
+ * SCSharp/SCSharp.Mpq/MapDataDat.cs: new class, just a set of
+ indices into mapdata.tbl.
+
+ * SCSharp/SCSharp.UI/GameModeDialog.cs (LoadResources): explicitly
+ use broodat's gluAll.tbl to get the dialog title. This keeps us
+ from crashing if we select "Original", then exit back to the main
+ menu and open this dialog again.
+
+ * SCSharp/SCSharp.UI/Painter.cs (Tick): rename "Animate" to this.
+ (DrawText): remove unused, empty function.
+
+ * SCSharp/SCSharp.UI/RaceSelectionScreen.cs
+ (BroodwarCampaigns_MapDataStart): stop hardcoding the strings
+ here. instead, hardcode the indices into the mapdata.dat file.
+ (StarcraftCampaigns_MapDataStart): same.
+ (LoadResources): in the campaign element activate delegates, just
+ call SelectCampaign.
+ (SelectCampaign): factor out a lot of shared code here. Use the
+ campaign indices to determine the correct prefix. Also, switch to
+ the establishing shot for the given scenario. It'll take care of
+ starting up the ready room.
+
+ * SCSharp/SCSharp.UI/ReadyRoomScreen.cs (LoadResources): in the
+ start_element activate delegate, stop the briefing before
+ switching to the game screen.
+ (StopBriefing): remove our Events.Tick handler.
+ (FirstPaint): remove the AddToPainter/RemoveFromPainter
+ runner.Tick hack, and just hook up to Events.Tick.
+ (BriefingRunner.Tick): change this to a Tick event handler from a
+ painter. Keep track of total elapsed, and change sleepUntil to an
+ int from a DateTime.
+ (EstablishingShot): new markup screen, used for showing the
+ establishing shot/text before the ready room is displayed.
+
+ * SCSharp/SCSharp.UI/MarkupScreen.cs (Paint): add handling for
+ PageLocation.LowerLeft.
+ (AddMarkup): add handling for </SCREENLOWERLEFT>.
+ (AddToPainter): remove the FirstPainted stuff from here. we'll
+ just use UIScreen's.
+ (RemoveFromPainter): same.
+ (FirstPaint): change FirstPainted to this, overriding UIScreen's.
+
+ * SCSharp/SCSharp.UI/UIScreen.cs (FirstPaint): emit our
+ FirstPainted event and remove the painter delegate.
+ (AddToPainter): add the FirstPaint delegate.
+ (RemoveFromPainter): remove the FirstPaint delegate.
+
+ * SCSharp/SCSharp.UI/MainMenu.cs (LoadResources): in the
+ intro_element delegate, remove the ifdefs. Just switch to the
+ cinematic. If it fails to play we'll return to the main menu.
+
+ * SCSharp/SCSharp.UI/SmackerPlayer.cs: catch the
+ DllNotFoundException if we couldn't load ffmpegglue.dll, and just
+ finish immediately in that case whenever someone plays a movie.
+
+2006-05-15 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/ReadyRoomScreen.cs (FirstPaint): remove
+ unused function.
+ (UnhighlightPortrait): only set the background if the portrait is
+ still visible.
+ (ShowPortrait): set the portrait's background to the unhighlighted
+ frame.
+ (HidePortrait): clear the portrait's background.
+
+ * SCSharp/SCSharp.UI/Game.cs: better handle the differentiation
+ between "what mpqs do i have installed?" and "which version
+ (original/expansion) am i playing?" GlobalResources still doesn't
+ load both sets, however.
+
+2006-05-14 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/ReadyRoomScreen.cs: why do i insist on
+ writing threaded code? there's no need for it here. Also, make
+ things work a lot better. highlight the current speaker, set the
+ background/font/effects/cursor stuff correctly.
+
+ * SCSharp/SCSharp.UI/RaceSelectionScreen.cs: use the tutorials for
+ protoss/terran. zerg doesn't work for some reason. there are no
+ triggers.
+
+ * SCSharp/SCSharp.UI/UIElement.cs: kind of a hack, but allow a
+ "background .pcx" to be supplied. it's used to highlight the
+ current speaker in the mission briefings.
+
+2006-05-14 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/GameScreen.cs (.ctor): add a constructor
+ that's useful from the readyroom.
+ (PlaceInitialUnits): deal with a null template, which happens with
+ campaigns.
+
+ * SCSharp/SCSharp.UI/RaceSelectionScreen.cs: make this work for
+ both broodwar and original race selection screens. Hardcode the
+ first scenarios for each campaign here as well - eventually
+ they'll come from mapdata.dat/tbl.
+
+ * SCSharp/SCSharp.UI/Game.cs (.ctor): don't add anything to the
+ mpq container - let the PlayingBroodWar setter do that.
+ (set_PlayingBroodWar): clean this up a bit.
+ (set_Race): add setter.
+
+ * SCSharp/SCSharp.UI/ReadyRoomScreen.cs: subclass ReadyRoomScreen
+ for each race, since at least the zerg screen has different
+ element indices. Write an initial pass of the briefing runner,
+ which displays text and plays .wav files. There are definite
+ threading + Sdl audio issues here.
+
+ * SCSharp/SCSharp.UI/Builtins.cs: replace the race specific ready
+ room strings with a formatable string.
+
+ * SCSharp/SCSharp.Mpq/IScriptBin.cs (GetScriptEntryOffset): don't
+ throw an exception here, just return 0. the caller can handle
+ that.
+
+ * SCSharp/SCSharp.Mpq/Chk.cs: add mission briefing support (add
+ trigger, condition, action classes).
+
+ * SCSharp/SCSharp.Mpq/Mpq.cs (Add): return if mpq == null.
+ (Remove): same.
+ (Clear): new function, call mpqs.Clear.
+ (GetStreamForResource): spew something if we're going to return
+ null.
+
+2006-05-13 Chris Toshok <to...@hu...>
+
+ * src/scsharp.cs (Main): switch from just 1 CD directory setting
+ to 2.
+
+ * src/scsharp.exe.config: add the new CD directory settings.
+
+ * SCSharp/SCSharp.UI/RaceSelectionScreen.cs (.ctor): load the
+ correct resource depending on if we're BW or SC.
+
+ * SCSharp/SCSharp.UI/Game.cs (.ctor): change the way we look for
+ and load mpq's. Keep track of both BW and SC install.exe's.
+ (PlayingBroodWar): this property is initialized to true if
+ broodat.mpq is found, and causes either the bw or sc cd to become
+ available for resource lookups.
+
+ * SCSharp/SCSharp.UI/MainMenu.cs (ShowGameDialog): add some code
+ to display a dialog if the user is missing the correct CD
+ install.exe.
+
+ * SCSharp/SCSharp.UI/LoginScreen.cs (ResourceLoader): we don't
+ cache the race selection screen anymore, as it changes depending
+ on whether you pick BW/SC.
+
+ * SCSharp/SCSharp.UI/PlayCustomScreen.cs (ResourceLoader): no more
+ cached race selection screen.
+
+ * SCSharp/SCSharp.UI/LoadSavedScreen.cs: same.
+
+ * SCSharp/SCSharp.UI/Builtins.cs: add the original campaign ui.
+
+ * SCSharp/SCSharp.UI/ButtonElement.cs (MouseEnter): only play the
+ sound if the button is sensitive -- maybe we shouldn't even get
+ called if we're insensitive?
+
+ * SCSharp/SCSharp.UI/MarkupScreen.cs (ResourceLoader): call
+ LoadMarkup, and add it as an abstract method.
+
+ * SCSharp/SCSharp.UI/CreditsScreen.cs (LoadMarkup): rename
+ ResourceLoader to this.
+
+ * SCSharp/SCSharp.UI/UIElement.cs (.ctor): cache x1/y1 here so the
+ setters so we don't keep modifying the BinElement's coordinates
+ each time we display a dialog, shifting it further and further
+ down and to the right.
+ (X1): use the cached value.
+ (Y1): same.
+
+2006-05-13 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.dll.sources: add the MpqReader sources.
+
+ * SCSharp/Makefile.am (MCSFLAGS): add -d:USE_STORM_DLL
+
+ * SCSharp/SCSharp.Mpq/Mpq.cs: add a series of USE_STORM_DLL ifdefs
+ to choose between libStorm.so and Foole's managed MpqReader.
+
+ * SCSharp/SCSharp.Mpq/MpqStructs.cs,
+ SCSharp/SCSharp.Mpq/MpqArchive.cs,
+ SCSharp/SCSharp.Mpq/MpqStream.cs,
+ SCSharp/SCSharp.Mpq/PKLibDecompress.cs: add 0.02 of Foole's
+ managed Mpq reading code. It doesn't work quite yet, but this way
+ we can test it with scsharp.
+
+2006-05-10 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.Mpq/Mpq.cs (GetResource): don't cache .smk files
+ (the cinematics at least are enormous).
+ (GetTypeFromResourcePath): make .smk files use a Stream instead of
+ our Smk class.
+
+ * SCSharp/SCSharp.UI/SmackerPlayer.cs: use FFmpeg to display .smk
+ files. This works on my machine, but lacks audio and the glue
+ code is in general pretty ugly. Going to take a look at using
+ gstreamer tonight. With this in mind, I'm not adding
+ SmackerPlayer.cs+Cinematic.cs to the build, and I'm not going to
+ check in the ffmpegglue code.
+
+ * SCSharp/SCSharp.UI/Cinematic.cs: new file, basically takes over
+ the screen and runs a SmackerPlayer.
+
+ * SCSharp/SCSharp.UI/ButtonElement.cs (MouseEnter): rename
+ MouseOver to this.
+
+ * SCSharp/SCSharp.UI/GuiUtil.cs (CreateSurface): make this public.
+
+ * SCSharp/SCSharp.UI/RaceSelectionScreen.cs (ResourceLoader): add
+ delegates for MouseEnter/MouseLeave to display the incomplete
+ messages. we always show them at the moment, instead of getting
+ that information from the .spc file.
+
+ * SCSharp/SCSharp.UI/MainMenu.cs (ShowGameModeDialog): factor this
+ code out from both the single/multiplayer delegates.
+ (ResourceLoader): add ifdef'ed code for the intro cinematic, and
+ use ShowGameModeDialog for single/multiplayer.
+
+ * SCSharp/SCSharp.UI/UIElement.cs: switch from MouseOver to
+ MouseEnter+MouseLeave.
+
+ * SCSharp/SCSharp.UI/UIScreen.cs: switch from MouseOver to
+ MouseEnter+MouseLeave so we can implement things like the strings
+ on the race selection screen where they tell you previous
+ campaigns haven't been completed yet.
+ (KeyboardDown): guard against Elements being null.
+
+2006-05-08 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/GuiUtil.cs (CreateSurface): refactor the
+ duplicated code from
+ CreateSurfaceFromRGBAData/CreateSurfaceFromRGBData here.
+ (CreateSurfaceFromRGBAData): call CreateSurface
+ (CreateSurfaceFromRGBData): call CreateSurface
+
+2006-05-01 Chris Toshok <to...@hu...>
+
+ * Tests/Makefile.am (font_foo_exe_REFS): more build fixes.
+
+ * configure.ac: add a check for mono >= 1.1.14
+
+2006-05-01 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.Mpq/Mpq.cs: Make GetStreamForResource public so
+ it can be used to extract files from mpq archives.
+
+2006-04-30 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/Unit.cs (CreateSprite): implement.
+
+ * SCSharp/SCSharp.UI/GameScreen.cs (PlaceInitialUnits): use Unit
+ everywhere.
+
+ * SCSharp/SCSharp.UI/Sprite.cs (.ctor): add a little more info to
+ the spew.
+
+ * SCSharp/SCSharp.UI/GlobalResources.cs (ResourceLoader): remove
+ spew.
+ (LoadSingleThreaded): load without spawning off a worker thread.
+ useful in tools and tests.
+
+2006-04-10 Chris Toshok <to...@hu...>
+
+ * Makefile (VERSION): bump to 0.0000002.
+
+2006-04-10 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/OkCancelDialog.cs: use 254,0 for
+ translucent,transparent.
+
+ * SCSharp/SCSharp.UI/OkDialog.cs: same.
+
+ * SCSharp/SCSharp.UI/EntryDialog.cs: same.
+
+2006-04-10 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/GameModeDialog.cs (.ctor): set
+ background_path to null, as we'll load it in ResourceLoader.
+ (ResourceLoader): manually load the background, using its specific
+ translucent/transparent indices.
+
+ * SCSharp/SCSharp.UI/GuiUtil.cs (SurfaceFromStream): always
+ use our managed Pcx loader.
+ (SurfaceFromStream): for the Stream,bool overload, pass in 252,0
+ for translucent,transparent, respectively.
+ (SurfaceFromStream): for the Stream overload, pass -1,-1.
+
+ * SCSharp/SCSharp.UI/UIScreen.cs (ResourceLoader): pass -1,-1
+ to the Pcx.ReadFromStream calls.
+
+ * SCSharp/SCSharp.UI/CreditsScreen.cs (ResourceLoader): pass
+ -1,-1 to the Pcx.ReadFromStream calls.
+
+ * SCSharp/SCSharp.UI/Pcx.cs (ReadFromStream): allow the
+ passing in of translucent/transparent indices.
+
+ * SCSharp/SCSharp.Mpq/Bin.cs (ElementFlags): include the
+ unknown flages as Unknown/Unused.
+
+2006-04-10 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/ReadyRoomScreen.cs: first pass.
+
+ * SCSharp/SCSharp.UI/Builtins.cs: add ready room builtins.
+
+2006-04-10 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/ListBoxElement.cs: track cursor when
+ list becomes empty/non-empty. Set it initially to -1.
+
+ * SCSharp/SCSharp.UI/LoginScreen.cs (OkElement delegate): if
+ we don't have a selected id, return immediately. This should only
+ happen if the list is empty.
+
+ * SCSharp/SCSharp.UI/ConnectionScreen.cs: add Ok dialog when
+ people select Battle.net.
+
+ * SCSharp/SCSharp.UI/credits.txt: thank the
+ mono/sdl/sdldotnet projects.
+
+2006-04-10 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/ConnectionScreen.cs: populate the
+ ListBox element with our choices, and handle the cursor moving
+ properly. Ifdef this for the time being to only display
+ Battle.net.
+
+ * SCSharp/SCSharp.UI/GameModeDialog.cs: insert the title
+ string in the dialog, and change Canceled/Activated to
+ Cancel/Activate.
+
+ * SCSharp/SCSharp.UI/UIDialog.cs: keep track of the parent
+ UIScreen that popped us up.
+ (ShowDialog): overload this so we can remove ourselves from the
+ painter before showing the new dialog. In a better world we'd
+ just show the new popup at a higher layer.
+ (DismissDialog): overload to add ourselves back to the painter.
+
+ * SCSharp/SCSharp.UI/GuiUtil.cs: add another ComposeText
+ overload.
+
+ * SCSharp/SCSharp.UI/MainMenu.cs: pop up Ok dialogs with
+ messages about missing functionality (no cinematics and no
+ campaign editor.)
+
+ * SCSharp/SCSharp.UI/LoginScreen.cs (ResourceLoader): for the
+ ok button pop up a dialog saying what we should do in this case.
+ Also add functionality for the new button (pops up an entry
+ dialog) and delete button (pops up an ok/cancel dialog).
+ (KeyboardDown): forward on UpArrow/DownArrow to the list box
+ element.
+ (NameAlreadyExists): pop up an OkDialog.
+
+ * SCSharp/SCSharp.UI/UIPainter.cs: clean up warnings, and
+ make it compile with -define:SHOW_ELEMENT_BORDERS.
+
+ * SCSharp/SCSharp.UI/CreditsScreen.cs: clean up some
+ warnings.
+
+ * SCSharp/SCSharp.UI/Builtins.cs: add some more strings for
+ the login screen dialogs.
+
+ * SCSharp/SCSharp.UI/UIElement.cs (Mpq): add getter.
+ (Text): use ClearSurface.
+ (Sensitive): same.
+ (Palette): new getter/setter.
+ (Font): new getter/setter.
+ (ClearSurface): new protected method.
+ (CreateSurface): provider base class implementation that handles
+ the types we don't provider subclasses for.
+
+ * SCSharp/SCSharp.UI/UIScreen.cs (HandleKeyboardUp): return
+ immediately for keypresses corresponding to modifier keys.
+ (HandleKeyboardDown): same.
+ (ActivateElement): if the element isn't sensitive, don't activate
+ it.
+ (ResourceLoader): create different UIElement subclasses depending
+ on the BinElement's type.
+
+ * SCSharp/SCSharp.UI/TextBoxElement.cs: new UIElement,
+ allowing text editing. No flashing cursor displayed yet.
+
+ * SCSharp/SCSharp.UI/OkCancelDialog.cs: a question dialog,
+ containing a message and Ok/Cancel buttons.
+
+ * SCSharp/SCSharp.UI/OkDialog.cs: a simple message dialog,
+ containing a message and Ok button.
+
+ * SCSharp/SCSharp.UI/EntryDialog.cs: new Dialog containing a
+ title, text entry, and Ok/Cancel buttons.
+
+ * SCSharp/SCSharp.UI/ImageElement.cs: new UIElement
+ displaying an image.
+
+ * SCSharp/SCSharp.UI/ListBoxElement.cs: new UIElement,
+ displaying a list. doesn't do scrolling yet.
+
+2006-04-09 Chris Toshok <to...@hu...>
+
+ * SCSharp/SCSharp.UI/GameModeDialog.cs (ResourceLoader): add
+ title text.
+
Added: trunk/scsharp/HACKING
===================================================================
--- trunk/scsharp/HACKING (rev 0)
+++ trunk/scsharp/HACKING 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,78 @@
+Things are obviously in a tremendous state of flux. There are
+numerous pieces of code that are undergoing large amounts of changes,
+and I periodically commit upwards of 20 files at a time with super
+helpful commit messages like "sync". Even with this current state of
+affairs, I'd like people looking at the code, and if they feel moved
+to contribute, so much the better.
+
+Please contact me if you're interested in working in a specific area
+so we can try to avoid stepping on each others' toes.
+
+There are a couple of large, well contained tasks that could be done
+largely independently of everything else. I'll get to them
+eventually, but they're all free for the taking. I've ordered them in
+terms of size/difficulty/coolness, from hardest to easiest (and
+therefore coolest to least cool):
+
+ 1. Smacker player:
+
+ There are format docs up at:
+
+ http://wiki.multimedia.cx/index.php?title=Smacker
+
+ Clearly I don't understand the docs (and video codecs and
+ huffman trees in general) and couldn't get it to work.
+ This is of course assuming the spec itself is valid. I
+ don't know that it is.
+
+ This task would result in all of the animated portraits,
+ the cut scenes, the animations in the main menu and race
+ selection screen (pretty much anything that's animated
+ that's not a unit/flingy) being visible. It's not strictly
+ necessary for the game, but it's definitely got eyecandy
+ value.
+
+ A couple of possible options are available here:
+
+ One would be porting/wrapping the ffmpeg[1] .smk codec so
+ that we can use it. I've done some preliminary work for
+ this, enough to get cinematics working without audio. the
+ ffmpeg codec seems to have problems with the portrait and
+ main menu smk's, though (possibly because they loop?) so it
+ doesn't work for those yet. I don't think this is a good
+ long-term solution though, as maintaining a player that can
+ deal with framerate/audio sync stuff seems like a pain in
+ the ass.
+
+ The second solution would be to take the gstreamer bindings
+ being worked on for this year's Mono Project SoC and use
+ them to build up a playback engine. This would probably
+ require some native coding as well. There's a sdl sink in
+ gstreamer now, but it appears to only target the YUV
+ overlays, not RGB surfaces, which is what we'd need to
+ integrate it into our painter.
+
+ Given that scsharp *should* run on windows as well, and
+ there's already a native .dll for decoding smacker video on
+ windows, an interesting side project would be p/invoke into
+ that library for doing playback when on the windows
+ platform. Anyone up for it?
+
+ 3. Figure out font rendering so that we can operate with either SC
+ or BW assets. the best solution would enable us to render
+ fonts from the data contained in the
+ Stardat.mpq/Broodat.mpq archives, but I'd settle for a
+ solution that works with either CD's install.exe.
+
+ 4. The parallax (SPK) renderer used for the starfield
+ background on platform levels renders a 2x2 white rectangle
+ for each star. apparently the .spk file contains bitmap
+ data for the stars. Figure out the format and render the
+ stars correctly.
+
+Email me if you're interested in any of the above tasks, and I'll get
+some more info to you regarding where in the code changes will be
+likely, and answer any other questions you might have.
+
+welcome,
+toshok
\ No newline at end of file
Added: trunk/scsharp/INSTALL
===================================================================
--- trunk/scsharp/INSTALL (rev 0)
+++ trunk/scsharp/INSTALL 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,236 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
+Software Foundation, Inc.
+
+This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+These are generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. (Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.)
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system. If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
+
+ Running `configure' takes awhile. While running, it prints some
+ messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+Compilers and Options
+=====================
+
+Some systems require unusual options for compilation or linking that the
+`configure' script does not know about. Run `./configure --help' for
+details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ If you have to use a `make' that does not support the `VPATH'
+variable, you have to compile the package for one architecture at a
+time in the source code directory. After you have installed the
+package for one architecture, use `make distclean' before reconfiguring
+for another architecture.
+
+Installation Names
+==================
+
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+There may be some features `configure' cannot figure out automatically,
+but needs to determine by the type of machine the package will run on.
+Usually, assuming the package is built to be run on the _same_
+architectures, `configure' can figure that out, but if it prints a
+message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+If you want to set default values for `configure' scripts to share, you
+can create a site shell script called `config.site' that gives default
+values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script). Here is a another example:
+
+ /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
+configuration-related scripts to be executed by `/bin/bash'.
+
+`configure' Invocation
+======================
+
+`configure' recognizes the following options to control how it operates.
+
+`--help'
+`-h'
+ Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+
Added: trunk/scsharp/NEWS
===================================================================
--- trunk/scsharp/NEWS (rev 0)
+++ trunk/scsharp/NEWS 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,19 @@
+Changes from 0.0000007 to 0.0000008.
+
+ * inclusion of Foole's managed port of StormLib. The
+ unmanaged version is still included, but is no longer built
+ by default. Additionally, to use the unmanaged version even
+ after building it, you have to enable a configuration
+ option. Look at scsharp.exe.config for more details.
+
+ * The ready room code is now in. Barring glitches in audio
+ playback which seem legion, the mission briefings should
+ proceed as normal, including establishing shots.
+
+ * Text rendering is now (more or less) anti-aliased and
+ pretty.
+
+ * The code handles the distinction between "broodwar is
+ installed" and "user selected broodwars" better now.
+
+ * lots of misc fixes.
Added: trunk/scsharp/README
===================================================================
--- trunk/scsharp/README (rev 0)
+++ trunk/scsharp/README 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,27 @@
+Things you need to do to make this work:
+
+1) You need mono version 1.1.14 or newer.
+
+2) Make your "Program Files\Starcraft" directory available on your
+ linux box. Either copy it or mount your windows volume.
+
+3) Do the same with the "install.exe" file from the Broodwars CD.
+ This release requires that file be present. It can live on the CD,
+ or you can copy it to the local filesystem. It must be the Broodwars
+ CD at the moment, due to the fact that the font code only works
+ with the files on the BW cd for some reason.
+
+4) Edit the scsharp.exe.config file and point it at the directories
+ from 1) and 2).
+
+5) Make sure you have the following SDL packages installed (these
+ versions should work, as well as newer ones.):
+
+ SDL-1.2.9 (http://www.libsdl.org/download-1.2.php)
+ SDL_gfx-2.0.13 (http://www.ferzkopp.net/Software/SDL_gfx-2.0/)
+ SDL_mixer-1.2.6 (http://www.libsdl.org/projects/SDL_mixer/release/)
+ SDL_image-1.2.4 (http://www.libsdl.org/projects/SDL_image/release/)
+
+7) That's it. The following should be enough:
+
+ $ mono scsharp.exe
Added: trunk/scsharp/SCSharp.sln
===================================================================
--- trunk/scsharp/SCSharp.sln (rev 0)
+++ trunk/scsharp/SCSharp.sln 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,36 @@
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCSharpLib", "src\SCSharpLib\SCSharpLib.csproj", "{1A51DB16-582A-4231-98DB-E4622F79D208}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCSharp", "src\SCSharp\SCSharp.csproj", "{7D4C7304-8496-4F1C-8FDF-9AF647FE199C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "tests\Tests.csproj", "{29C81049-8557-4D06-B187-EF52765DB46E}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{468F1D07-AD17-4CC3-ABD0-2CA268E4E1A6}"
+ ProjectSection(SolutionItems) = preProject
+ prebuild.xml = prebuild.xml
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {1A51DB16-582A-4231-98DB-E4622F79D208}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1A51DB16-582A-4231-98DB-E4622F79D208}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1A51DB16-582A-4231-98DB-E4622F79D208}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1A51DB16-582A-4231-98DB-E4622F79D208}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7D4C7304-8496-4F1C-8FDF-9AF647FE199C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {29C81049-8557-4D06-B187-EF52765DB46E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {29C81049-8557-4D06-B187-EF52765DB46E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {29C81049-8557-4D06-B187-EF52765DB46E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {29C81049-8557-4D06-B187-EF52765DB46E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: trunk/scsharp/SCSharp.suo
===================================================================
(Binary files differ)
Property changes on: trunk/scsharp/SCSharp.suo
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/scsharp/credits.txt
===================================================================
--- trunk/scsharp/credits.txt (rev 0)
+++ trunk/scsharp/credits.txt 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,46 @@
+</COMMENT credits for SCSharp>
+</FADESPEED 100>
+
+</COMMENT #############################################################>
+</BACKGROUND glue\palmm\backgnd.pcx>
+</FONTCOLOR glue\palmm\tfont.pcx>
+</SCREENCENTER>
+SCSharp Programming
+
+Chris Toshok
+</PAGE>
+
+</COMMENT #############################################################>
+</BACKGROUND glue\palzv\backgnd.pcx>
+</FONTCOLOR glue\palmm\tfont.pcx>
+
+</SCREENLEFT>
+Special Thanks To
+
+Justin Olbrantz
+Ladislav Zezula
+</PAGE>
+
+</SCREENLEFT>
+Special Thanks To
+
+The folks at Campaign Creations
+</PAGE>
+
+</SCREENLEFT>
+Thanks To
+
+The Starcraft Modding Community.
+</PAGE>
+
+</SCREENLEFT>
+Thanks To
+
+The Mono Project
+The SDL Project
+The SdlDotNet Project
+</PAGE>
+
+</SCREENCENTER>
+Credits for Starcraft Brood War
+</PAGE>
\ No newline at end of file
Property changes on: trunk/scsharp/credits.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/scsharp/docs/Makefile.am
===================================================================
--- trunk/scsharp/docs/Makefile.am (rev 0)
+++ trunk/scsharp/docs/Makefile.am 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,2 @@
+
+EXTRA_DIST=bin-files cmdbtns directory-layout got-files images.dat NOTES spk-file sprites.dat tilesets wireframes
\ No newline at end of file
Added: trunk/scsharp/docs/Makefile.in
===================================================================
--- trunk/scsharp/docs/Makefile.in (rev 0)
+++ trunk/scsharp/docs/Makefile.in 2007-05-18 19:51:25 UTC (rev 1377)
@@ -0,0 +1,317 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = docs
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_STORMLIB_FALSE = @ENABLE_STORMLIB_FALSE@
+ENABLE_STORMLIB_TRUE = @ENABLE_STORMLIB_TRUE@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+mono_CFLAGS = @mono_CFLAGS@
+mono_LIBS = @mono_LIBS@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+EXTRA_DIST = bin-files cmdbtns directory-layout got-files images.dat NOTES spk-file sprites.dat tilesets wireframes
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu docs/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_bu...
[truncated message content] |
|
From: <je...@us...> - 2007-05-07 17:13:43
|
Revision: 1376
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1376&view=rev
Author: jendave
Date: 2007-05-07 10:13:42 -0700 (Mon, 07 May 2007)
Log Message:
-----------
update nunit.framework.dll
Modified Paths:
--------------
trunk/SdlDotNet/lib/net-2.0/nunit.framework.dll
Modified: trunk/SdlDotNet/lib/net-2.0/nunit.framework.dll
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bio...@us...> - 2007-05-07 04:46:33
|
Revision: 1375
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1375&view=rev
Author: bioslayer_
Date: 2007-05-06 21:46:31 -0700 (Sun, 06 May 2007)
Log Message:
-----------
put in more info about myself in AUTHORS
Modified Paths:
--------------
trunk/SdlDotNet/AUTHORS
Modified: trunk/SdlDotNet/AUTHORS
===================================================================
--- trunk/SdlDotNet/AUTHORS 2007-05-06 04:38:55 UTC (rev 1374)
+++ trunk/SdlDotNet/AUTHORS 2007-05-07 04:46:31 UTC (rev 1375)
@@ -3,7 +3,7 @@
* SDL.NET by David "[[User:Jendave|Jendave]]" Hudson (je...@ya...)
* Lots of Code and examples - [[User:Rob Loach|Rob Loach]] (http://www.robloach.net)
* Multiline ttf display in Font class - Paul Aspinall (pau...@gm...)
-* SdlDotNet.OpenGl reimplementation and many bugfixes - bioslayer
+* SdlDotNet.OpenGl reimplementation and many bugfixes - Jonathan Porter AKA BioSlayer (jon...@gm...)
* Lots of bug reports - dogwatch
* Gui Examples and parts of Sprite code by D. R. E. Moonfire (d.m...@mf...)
* Original version by Will Weisser (og...@9m...) with additional code from Scott Hilleard (Sco...@ya...)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-06 04:38:57
|
Revision: 1374
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1374&view=rev
Author: jendave
Date: 2007-05-05 21:38:55 -0700 (Sat, 05 May 2007)
Log Message:
-----------
updated docs
Modified Paths:
--------------
trunk/SdlDotNet/AUTHORS
trunk/SdlDotNet/ChangeLog
trunk/SdlDotNet/NEWS
Modified: trunk/SdlDotNet/AUTHORS
===================================================================
--- trunk/SdlDotNet/AUTHORS 2007-05-05 09:46:24 UTC (rev 1373)
+++ trunk/SdlDotNet/AUTHORS 2007-05-06 04:38:55 UTC (rev 1374)
@@ -3,7 +3,7 @@
* SDL.NET by David "[[User:Jendave|Jendave]]" Hudson (je...@ya...)
* Lots of Code and examples - [[User:Rob Loach|Rob Loach]] (http://www.robloach.net)
* Multiline ttf display in Font class - Paul Aspinall (pau...@gm...)
-* SdlDotNet.OpenGl improvements and many bugfixes - bioslayer
+* SdlDotNet.OpenGl reimplementation and many bugfixes - bioslayer
* Lots of bug reports - dogwatch
* Gui Examples and parts of Sprite code by D. R. E. Moonfire (d.m...@mf...)
* Original version by Will Weisser (og...@9m...) with additional code from Scott Hilleard (Sco...@ya...)
Modified: trunk/SdlDotNet/ChangeLog
===================================================================
--- trunk/SdlDotNet/ChangeLog 2007-05-05 09:46:24 UTC (rev 1373)
+++ trunk/SdlDotNet/ChangeLog 2007-05-06 04:38:55 UTC (rev 1374)
@@ -1,3 +1,8 @@
+===6.0.0===
+David Hudson 05 May 2007
+* All examples use a Main() method instead of a Run() method for startup. This eases the re-use of the examples, especially the SimpleExample and Template.
+* Updated to use Tao 2.0.0 final release.
+
===6.0.0beta3===
David Hudson 20 Apr 2007
* Bioslayer has joined the project.
Modified: trunk/SdlDotNet/NEWS
===================================================================
--- trunk/SdlDotNet/NEWS 2007-05-05 09:46:24 UTC (rev 1373)
+++ trunk/SdlDotNet/NEWS 2007-05-06 04:38:55 UTC (rev 1374)
@@ -9,6 +9,11 @@
SDL.NET is licensed under the LGPL.
+===6.0.0===
+David Hudson 05 May 2007
+* All examples use a Main() method instead of a Run() method for startup. This eases the re-use of the examples, especially the SimpleExample and Template.
+* Updated to use Tao 2.0.0 final release.
+
===6.0.0beta3===
David Hudson 20 Apr 2007
* Bioslayer has joined the project.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-05 09:46:27
|
Revision: 1373
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1373&view=rev
Author: jendave
Date: 2007-05-05 02:46:24 -0700 (Sat, 05 May 2007)
Log Message:
-----------
update to final release
Modified Paths:
--------------
trunk/SdlDotNet/lib/net-2.0/Tao.FreeGlut.dll
trunk/SdlDotNet/lib/net-2.0/Tao.OpenGl.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Platform.Windows.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.dll
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.FreeGlut.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.OpenGl.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Platform.Windows.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.dll
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-03 09:11:42
|
Revision: 1372
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1372&view=rev
Author: jendave
Date: 2007-05-03 02:11:40 -0700 (Thu, 03 May 2007)
Log Message:
-----------
prebuild nant target now support Main startup object
Modified Paths:
--------------
trunk/SdlDotNet/tools/Prebuild/prebuild.exe
Modified: trunk/SdlDotNet/tools/Prebuild/prebuild.exe
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-03 08:39:44
|
Revision: 1371
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1371&view=rev
Author: jendave
Date: 2007-05-03 01:39:39 -0700 (Thu, 03 May 2007)
Log Message:
-----------
update to latest
Modified Paths:
--------------
trunk/SdlDotNet/lib/net-2.0/Tao.FreeGlut.dll
trunk/SdlDotNet/lib/net-2.0/Tao.OpenGl.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Platform.Windows.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.dll
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.FreeGlut.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.OpenGl.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Platform.Windows.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.dll
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-05-01 23:19:21
|
Revision: 1370
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1370&view=rev
Author: jendave
Date: 2007-05-01 16:19:05 -0700 (Tue, 01 May 2007)
Log Message:
-----------
all examples use Main() instead of Run()
Modified Paths:
--------------
trunk/SdlDotNet/examples/SdlDotNetExamples/Isotope/IsotopeMain.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe001.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe002.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe003.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe004.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe005.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe006.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe007.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe008.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe009.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe010.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe011.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe012.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe013.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe014.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe015.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe016.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe017.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe018.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe019.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe020.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe023.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe025.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe026.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe034.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAIndex.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAPoly.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAARgb.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccAnti.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccumulationPerspective.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha3D.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAnti.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierCurve.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierMesh.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierSurface.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookChecker.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCheckerOld.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookClip.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookColorMat.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCube.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthCue.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthOfField.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDisplayList.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDouble.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDrawF.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFeedback.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFog.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndex.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndexOld.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogOld.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFont.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookHello.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookImage.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLight.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLines.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMaterial.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMipMap.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookModel.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMoveLight.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookNurbs.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickDepth.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickSquare.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlane.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlanet.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolyOff.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolygonStippling.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookQuadric.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookRobot.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookScene.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneBlueAmbient.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneColorLight.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneFlat.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSelect.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSmooth.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStencil.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStroke.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurface.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurfaceOld.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeaAmbient.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeapots.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTess.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTessWind.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexBind.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexGen.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexSub.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureProxies.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureSurf.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTorus.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTrim.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookUnproject.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookVertexArray.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookWrap.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SdlDotNetExamplesBrowser.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SimpleGame/SimpleGameMain.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/AudioExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/BombRun.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/BounceSprites.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/FontExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Gears.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/GtkSpriteExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/GtkWindowExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/HelloWorld.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/HeroExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/JoystickExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/MoviePlayer.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/OpenGlFont.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/ParticlesExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/PongExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/PrimitivesExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Rectangles.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SimpleExample.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SnowDemo.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SpriteCollectionSort.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/StreamingAudio.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SpriteDemos/SpriteDemosMain.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/Triad/TriadMain.cs
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/Isotope/IsotopeMain.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/Isotope/IsotopeMain.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/Isotope/IsotopeMain.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -52,7 +52,7 @@
/// </summary>
/// <param name="args"></param>
[STAThread]
- public static void Run()
+ public static void Main()
{
filePath = Path.Combine("..", "..");
string fileDirectory = "Data";
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe001.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe001.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe001.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -260,7 +260,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static void Run()
+ public static void Main()
{
NeHe001 t = new NeHe001();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe002.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe002.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe002.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -121,7 +121,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe002 t = new NeHe002();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe003.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe003.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe003.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -131,7 +131,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe003 t = new NeHe003();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe004.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe004.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe004.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -146,7 +146,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe004 t = new NeHe004();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe005.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe005.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe005.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -236,7 +236,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe005 t = new NeHe005();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe006.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe006.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe006.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -353,7 +353,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe006 t = new NeHe006();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe007.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe007.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe007.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -435,7 +435,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe007 t = new NeHe007();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe008.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe008.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe008.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -201,7 +201,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe008 t = new NeHe008();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe009.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe009.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe009.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -311,7 +311,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe009 t = new NeHe009();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe010.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe010.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe010.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -460,7 +460,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe010 t = new NeHe010();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe011.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe011.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe011.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -194,7 +194,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe011 t = new NeHe011();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe012.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe012.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe012.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -238,7 +238,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe012 t = new NeHe012();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe013.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe013.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe013.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -317,7 +317,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe013 t = new NeHe013();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe014.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe014.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe014.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -242,7 +242,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe014 t = new NeHe014();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe015.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe015.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe015.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -310,7 +310,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe015 t = new NeHe015();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe016.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe016.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe016.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -277,7 +277,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe016 t = new NeHe016();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe017.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe017.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe017.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -318,7 +318,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe017 t = new NeHe017();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe018.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe018.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe018.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -338,7 +338,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe018 t = new NeHe018();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe019.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe019.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe019.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -628,7 +628,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe019 t = new NeHe019();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe020.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe020.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe020.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -266,7 +266,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe020 t = new NeHe020();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe023.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe023.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe023.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -267,7 +267,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe023 t = new NeHe023();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe025.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe025.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe025.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -555,7 +555,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe025 t = new NeHe025();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe026.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe026.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe026.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -363,7 +363,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe026 t = new NeHe026();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe034.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe034.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/NeHe/NeHe034.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -369,7 +369,7 @@
/// Starts lesson
/// </summary>
[STAThread]
- public static new void Run()
+ public static new void Main()
{
NeHe034 t = new NeHe034();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAIndex.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAIndex.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAIndex.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -248,7 +248,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAAIndex t = new RedBookAAIndex();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAPoly.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAPoly.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAAPoly.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -284,7 +284,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAAPoly t = new RedBookAAPoly(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAARgb.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAARgb.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAARgb.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -257,7 +257,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAARgb t = new RedBookAARgb();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccAnti.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccAnti.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccAnti.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -293,7 +293,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAccAnti t = new RedBookAccAnti();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccumulationPerspective.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccumulationPerspective.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAccumulationPerspective.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -368,7 +368,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAccumulationPerspective t = new RedBookAccumulationPerspective();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -263,7 +263,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAlpha t = new RedBookAlpha(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha3D.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha3D.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAlpha3D.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -278,7 +278,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAlpha3D t = new RedBookAlpha3D(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAnti.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAnti.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookAnti.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -231,7 +231,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookAnti t = new RedBookAnti(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierCurve.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierCurve.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierCurve.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -244,7 +244,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookBezierCurve t = new RedBookBezierCurve(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierMesh.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierMesh.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierMesh.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -270,7 +270,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookBezierMesh t = new RedBookBezierMesh(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierSurface.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierSurface.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookBezierSurface.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -265,7 +265,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookBezierSurface t = new RedBookBezierSurface(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookChecker.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookChecker.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookChecker.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -274,7 +274,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookChecker t = new RedBookChecker(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCheckerOld.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCheckerOld.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCheckerOld.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -265,7 +265,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookCheckerOld t = new RedBookCheckerOld(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookClip.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookClip.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookClip.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -229,7 +229,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookClip t = new RedBookClip(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookColorMat.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookColorMat.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookColorMat.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -271,7 +271,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookColorMat t = new RedBookColorMat(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCube.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCube.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookCube.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -220,7 +220,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookCube t = new RedBookCube();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthCue.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthCue.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthCue.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -226,7 +226,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookDepthCue t = new RedBookDepthCue(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthOfField.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthOfField.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDepthOfField.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -359,7 +359,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookDepthOfField t = new RedBookDepthOfField();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDisplayList.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDisplayList.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDisplayList.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -240,7 +240,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookDisplayList t = new RedBookDisplayList(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDouble.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDouble.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDouble.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -250,7 +250,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookDouble t = new RedBookDouble(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDrawF.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDrawF.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookDrawF.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -220,7 +220,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookDrawF t = new RedBookDrawF(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFeedback.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFeedback.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFeedback.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -321,7 +321,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookFeedback t = new RedBookFeedback(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFog.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFog.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFog.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -280,7 +280,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookFog t = new RedBookFog(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndex.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndex.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndex.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -247,7 +247,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookFogIndex t = new RedBookFogIndex(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndexOld.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndexOld.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogIndexOld.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -254,7 +254,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookFogIndexOld t = new RedBookFogIndexOld(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogOld.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogOld.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFogOld.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -291,7 +291,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookFogOld t = new RedBookFogOld(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFont.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFont.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookFont.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -292,7 +292,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookFont t = new RedBookFont(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookHello.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookHello.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookHello.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -221,7 +221,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookHello t = new RedBookHello(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookImage.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookImage.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookImage.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -280,7 +280,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookImage t = new RedBookImage(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLight.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLight.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLight.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -255,7 +255,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookLight t = new RedBookLight(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLines.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLines.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookLines.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -285,7 +285,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookLines t = new RedBookLines(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMaterial.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMaterial.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMaterial.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -400,7 +400,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookMaterial t = new RedBookMaterial(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMipMap.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMipMap.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMipMap.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -328,7 +328,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookMipMap t = new RedBookMipMap();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookModel.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookModel.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookModel.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -256,7 +256,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookModel t = new RedBookModel(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMoveLight.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMoveLight.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookMoveLight.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -265,7 +265,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookMoveLight t = new RedBookMoveLight(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookNurbs.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookNurbs.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookNurbs.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -327,7 +327,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookNurbs t = new RedBookNurbs(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickDepth.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickDepth.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickDepth.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -282,7 +282,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookPickDepth t = new RedBookPickDepth(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickSquare.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickSquare.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPickSquare.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -344,7 +344,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookPickSquare t = new RedBookPickSquare();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlane.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlane.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlane.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -271,7 +271,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookPlane t = new RedBookPlane(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlanet.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlanet.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPlanet.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -226,7 +226,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookPlanet t = new RedBookPlanet(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolyOff.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolyOff.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolyOff.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -299,7 +299,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookPolyOff t = new RedBookPolyOff(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolygonStippling.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolygonStippling.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookPolygonStippling.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -247,7 +247,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookPolygonStippling t = new RedBookPolygonStippling();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookQuadric.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookQuadric.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookQuadric.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -289,7 +289,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookQuadric t = new RedBookQuadric(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookRobot.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookRobot.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookRobot.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -233,7 +233,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookRobot t = new RedBookRobot(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookScene.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookScene.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookScene.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -256,7 +256,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookScene t = new RedBookScene(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneBlueAmbient.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneBlueAmbient.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneBlueAmbient.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -255,7 +255,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookSceneBlueAmbient t = new RedBookSceneBlueAmbient(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneColorLight.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneColorLight.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneColorLight.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -257,7 +257,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookSceneColorLight t = new RedBookSceneColorLight(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneFlat.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneFlat.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSceneFlat.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -239,7 +239,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookSceneFlat t = new RedBookSceneFlat(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSelect.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSelect.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSelect.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -349,7 +349,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
Init();
Events.Run();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSmooth.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSmooth.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSmooth.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -218,7 +218,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookSmooth t = new RedBookSmooth(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStencil.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStencil.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStencil.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -296,7 +296,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookStencil t = new RedBookStencil(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStroke.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStroke.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookStroke.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -364,7 +364,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookStroke t = new RedBookStroke(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurface.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurface.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurface.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -295,7 +295,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookSurface t = new RedBookSurface(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurfaceOld.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurfaceOld.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookSurfaceOld.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -325,7 +325,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookSurfaceOld t = new RedBookSurfaceOld();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeaAmbient.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeaAmbient.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeaAmbient.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -253,7 +253,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTeaAmbient t = new RedBookTeaAmbient();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeapots.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeapots.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTeapots.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -306,7 +306,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTeapots t = new RedBookTeapots(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTess.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTess.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTess.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -339,7 +339,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTess t = new RedBookTess(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTessWind.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTessWind.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTessWind.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -438,7 +438,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTessWind t = new RedBookTessWind(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexBind.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexBind.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexBind.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -293,7 +293,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTexBind t = new RedBookTexBind();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexGen.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexGen.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexGen.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -295,7 +295,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTexGen t = new RedBookTexGen(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexSub.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexSub.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTexSub.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -308,7 +308,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTexSub t = new RedBookTexSub();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureProxies.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureProxies.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureProxies.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -227,7 +227,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTextureProxies t = new RedBookTextureProxies(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureSurf.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureSurf.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTextureSurf.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -283,7 +283,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTextureSurf t = new RedBookTextureSurf();
t.Reshape();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTorus.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTorus.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTorus.cs 2007-05-01 23:19:05 UTC (rev 1370)
@@ -266,7 +266,7 @@
/// <summary>
/// Starts demo
/// </summary>
- public static void Run()
+ public static void Main()
{
RedBookTorus t = new RedBookTorus(); t.Reshape();
Init();
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTrim.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTrim.cs 2007-04-30 16:08:19 UTC (rev 1369)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/RedBook/RedBookTrim.cs 2007-05-01 23:19:05...
[truncated message content] |
|
From: <je...@us...> - 2007-04-30 16:08:21
|
Revision: 1369
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1369&view=rev
Author: jendave
Date: 2007-04-30 09:08:19 -0700 (Mon, 30 Apr 2007)
Log Message:
-----------
start prepping for 6.0.0
Modified Paths:
--------------
trunk/SdlDotNet/package.xml
trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi
trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi
Modified: trunk/SdlDotNet/package.xml
===================================================================
--- trunk/SdlDotNet/package.xml 2007-04-28 06:05:04 UTC (rev 1368)
+++ trunk/SdlDotNet/package.xml 2007-04-30 16:08:19 UTC (rev 1369)
@@ -10,7 +10,7 @@
<!-- global project settings -->
<property name="project.config" value="Release" />
- <property name="project.version" value="6.0.0b3" />
+ <property name="project.version" value="6.0.0" />
<property name="src.dir" value="src" />
<property name="examples.dir" value="examples" />
<property name="extras.dir" value="extras" />
Modified: trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi
===================================================================
--- trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi 2007-04-28 06:05:04 UTC (rev 1368)
+++ trunk/SdlDotNet/scripts/win32installer/SdlDotNetRuntime.nsi 2007-04-30 16:08:19 UTC (rev 1369)
@@ -2,7 +2,7 @@
!define PRODUCT_NAME "SDL.NET Runtime"
!define PRODUCT_TYPE "runtime"
-!define PRODUCT_VERSION "6.0.0b3"
+!define PRODUCT_VERSION "6.0.0"
!define PRODUCT_PUBLISHER "SDL.NET"
!define PRODUCT_PACKAGE "sdldotnet"
!define PRODUCT_WEB_SITE "http://cs-sdl.sourceforge.net"
Modified: trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi
===================================================================
--- trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi 2007-04-28 06:05:04 UTC (rev 1368)
+++ trunk/SdlDotNet/scripts/win32installer/SdlDotNetSDK.nsi 2007-04-30 16:08:19 UTC (rev 1369)
@@ -2,7 +2,7 @@
!define PRODUCT_NAME "SDL.NET SDK"
!define PRODUCT_TYPE "sdk"
-!define PRODUCT_VERSION "6.0.0b3"
+!define PRODUCT_VERSION "6.0.0"
!define PRODUCT_PUBLISHER "SDL.NET"
!define PRODUCT_PACKAGE "sdldotnet"
!define PRODUCT_WEB_SITE "http://cs-sdl.sourceforge.net"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-04-28 06:05:06
|
Revision: 1368
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1368&view=rev
Author: jendave
Date: 2007-04-27 23:05:04 -0700 (Fri, 27 Apr 2007)
Log Message:
-----------
updated Tao
Modified Paths:
--------------
trunk/SdlDotNet/lib/net-2.0/Tao.FreeGlut.dll
trunk/SdlDotNet/lib/net-2.0/Tao.OpenGl.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Platform.Windows.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.dll
trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.xml
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.FreeGlut.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.OpenGl.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Platform.Windows.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.dll
===================================================================
(Binary files differ)
Modified: trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.xml
===================================================================
--- trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.xml 2007-04-28 05:46:31 UTC (rev 1367)
+++ trunk/SdlDotNet/lib/net-2.0/Tao.Sdl.xml 2007-04-28 06:05:04 UTC (rev 1368)
@@ -2473,6 +2473,28 @@
</remarks>
<see cref="M:Tao.Sdl.Sdl.SDL_WM_GrabInput(System.Int32)"/>
</member>
+ <member name="M:Tao.Sdl.Sdl.objc_getClass(System.String)">
+ <summary>
+
+ </summary>
+ <param name="name"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Tao.Sdl.Sdl.sel_registerName(System.String)">
+ <summary>
+
+ </summary>
+ <param name="name"></param>
+ <returns></returns>
+ </member>
+ <member name="M:Tao.Sdl.Sdl.objc_msgSend(System.Int32,System.Int32)">
+ <summary>
+
+ </summary>
+ <param name="self"></param>
+ <param name="cmd"></param>
+ <returns></returns>
+ </member>
<member name="F:Tao.Sdl.Sdl.AUDIO_U16">
<summary>
Unsigned 16-bit little-endian samples
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-04-28 05:46:32
|
Revision: 1367
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1367&view=rev
Author: jendave
Date: 2007-04-27 22:46:31 -0700 (Fri, 27 Apr 2007)
Log Message:
-----------
small fixes
Modified Paths:
--------------
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs 2007-04-28 04:36:08 UTC (rev 1366)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs 2007-04-28 05:46:31 UTC (rev 1367)
@@ -1,3 +1,6 @@
+//Public Domain
+//Original version written by Paul Aspinall.
+
using System;
using System.Drawing;
@@ -7,18 +10,30 @@
namespace SdlDotNetExamples.SmallDemos
{
+ /// <summary>
+ ///
+ /// </summary>
public class Template
{
+ /// <summary>
+ ///
+ /// </summary>
public static void Run()
{
Template game = new Template();
game.Go();
}
+ /// <summary>
+ ///
+ /// </summary>
public Template()
- {
+ {
}
+ /// <summary>
+ ///
+ /// </summary>
public void Go()
{
Video.SetVideoMode(800, 600);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-04-28 04:36:12
|
Revision: 1366
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1366&view=rev
Author: jendave
Date: 2007-04-27 21:36:08 -0700 (Fri, 27 Apr 2007)
Log Message:
-----------
fxcop changes
Modified Paths:
--------------
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SpriteCollectionSort.cs
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
trunk/SdlDotNet/src/Graphics/Sprites/KillSpriteEventArgs.cs
trunk/SdlDotNet/src/Graphics/Surface.cs
trunk/SdlDotNet/src/Properties/AssemblyInfo.cs
trunk/SdlDotNet/tools/Prebuild/prebuild.exe
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SpriteCollectionSort.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SpriteCollectionSort.cs 2007-04-27 17:59:56 UTC (rev 1365)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/SpriteCollectionSort.cs 2007-04-28 04:36:08 UTC (rev 1366)
@@ -35,7 +35,7 @@
namespace SdlDotNetExamples.SmallDemos
{
- public class SpriteCollectionSort
+ public class SpriteCollectionSort : IDisposable
{
Surface screen;
SpriteCollection manager;
@@ -53,7 +53,7 @@
Video.WindowIcon();
Video.WindowCaption = "SDL.NET - Sprite Sorting Example";
screen = Video.SetVideoMode(200, 200, false, false, false);
-
+
s = new Sprite(new Surface(100, 100), new Point(10, 10));
s2 = new Sprite(new Surface(100, 100), new Point(10, 10));
@@ -106,6 +106,61 @@
return "SpriteCollectionSort: Sorting Sprite on the Z Axis";
}
}
+
+ #region IDisposable Members
+
+ private bool disposed;
+
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="disposing"></param>
+ protected virtual void Dispose(bool disposing)
+ {
+ if (!this.disposed)
+ {
+ if (disposing)
+ {
+ if (this.s != null)
+ {
+ this.s.Dispose();
+ this.s = null;
+ }
+ if (this.s2 != null)
+ {
+ this.s2.Dispose();
+ this.s2 = null;
+ }
+ }
+ this.disposed = true;
+ }
+ }
+ /// <summary>
+ ///
+ /// </summary>
+ public void Dispose()
+ {
+ this.Dispose(true);
+ GC.SuppressFinalize(this);
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ public void Close()
+ {
+ Dispose();
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ ~SpriteCollectionSort()
+ {
+ Dispose(false);
+ }
+
+ #endregion
}
}
Modified: trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs 2007-04-27 17:59:56 UTC (rev 1365)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs 2007-04-28 04:36:08 UTC (rev 1366)
@@ -16,13 +16,13 @@
}
public Template()
- {
- Video.SetVideoMode(800, 600);
- AddHandlers();
+ {
}
public void Go()
{
+ Video.SetVideoMode(800, 600);
+ this.AddHandlers();
Events.Run();
}
Modified: trunk/SdlDotNet/src/Graphics/Sprites/KillSpriteEventArgs.cs
===================================================================
--- trunk/SdlDotNet/src/Graphics/Sprites/KillSpriteEventArgs.cs 2007-04-27 17:59:56 UTC (rev 1365)
+++ trunk/SdlDotNet/src/Graphics/Sprites/KillSpriteEventArgs.cs 2007-04-28 04:36:08 UTC (rev 1366)
@@ -61,9 +61,13 @@
/// </summary>
public KillSpriteEventArgs(Sprite sprite)
{
+ if (sprite == null)
+ {
+ throw new ArgumentNullException("sprite");
+ }
this.sprite = sprite;
this.rectangle = sprite.LastBlitRectangle;
- }
+ }
#endregion
}
Modified: trunk/SdlDotNet/src/Graphics/Surface.cs
===================================================================
--- trunk/SdlDotNet/src/Graphics/Surface.cs 2007-04-27 17:59:56 UTC (rev 1365)
+++ trunk/SdlDotNet/src/Graphics/Surface.cs 2007-04-28 04:36:08 UTC (rev 1366)
@@ -1642,14 +1642,18 @@
Unlock();
}
}
-
+
/// <summary>
/// Sets a block of pixels.
/// </summary>
/// <param name="point">The top left corner of where the block should go.</param>
/// <param name="colors">The 2D color array representing the pixels.</param>
- public void SetPixels(Point point,Color[,] colors)
+ public void SetPixels(Point point, Color[,] colors)
{
+ if (colors == null)
+ {
+ throw new ArgumentNullException("colors");
+ }
if (this.disposed)
{
throw (new ObjectDisposedException(this.ToString()));
@@ -1659,7 +1663,7 @@
{
throw new ArgumentOutOfRangeException("point");
}
- if (point.Y < 0 || point.Y + colors.GetLength(1) > surfaceStruct.h)
+ if (point.Y < 0 || point.Y + colors.GetLength(1) > surfaceStruct.h)
{
throw new ArgumentOutOfRangeException("point");
}
@@ -1746,7 +1750,7 @@
Unlock();
}
}
-
+
/// <summary>
/// AlphaBlending on Surface
/// </summary>
@@ -2336,13 +2340,13 @@
throw new ArgumentNullException("transformation");
}
int antiAliasParameter = (transformation.AntiAlias) ? (SdlGfx.SMOOTHING_ON) : (SdlGfx.SMOOTHING_OFF);
- Surface surface =
+ Surface surface =
new Surface(
SdlGfx.rotozoomSurfaceXY(
- this.Handle,
- transformation.DegreesOfRotation,
- transformation.ScaleX,
- transformation.ScaleY,
+ this.Handle,
+ transformation.DegreesOfRotation,
+ transformation.ScaleX,
+ transformation.ScaleY,
antiAliasParameter));
CloneFields(this, surface);
return surface;
@@ -2668,6 +2672,7 @@
{
private const int sizeofInt24 = 3;
private static readonly int offset = ((BitConverter.IsLittleEndian) ? (0) : (1));
+
public static Int32 ReadInt24(IntPtr ptr)
{
//creates a buffer to put the data read for the pointer
Modified: trunk/SdlDotNet/src/Properties/AssemblyInfo.cs
===================================================================
--- trunk/SdlDotNet/src/Properties/AssemblyInfo.cs 2007-04-27 17:59:56 UTC (rev 1365)
+++ trunk/SdlDotNet/src/Properties/AssemblyInfo.cs 2007-04-28 04:36:08 UTC (rev 1366)
@@ -98,4 +98,7 @@
[module: SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "SdlDotNet.Graphics.Surface.Erase(System.Drawing.Rectangle,SdlDotNet.Graphics.Surface):System.Void")]
[module: SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Scope = "member", Target = "SdlDotNet.Graphics.Sprites.Sprite.LastBlitRectangle", MessageId = "Blit")]
[module: SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", Scope = "member", Target = "SdlDotNet.Graphics.Surface.GetColors(System.Drawing.Rectangle):System.Drawing.Color[,]", MessageId = "Body")]
-[module: SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", Scope = "member", Target = "SdlDotNet.Graphics.Surface.GetColors(System.Drawing.Rectangle):System.Drawing.Color[,]", MessageId = "Return")]
\ No newline at end of file
+[module: SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", Scope = "member", Target = "SdlDotNet.Graphics.Surface.GetColors(System.Drawing.Rectangle):System.Drawing.Color[,]", MessageId = "Return")]
+[module: SuppressMessage("Microsoft.Performance", "CA1814:PreferJaggedArraysOverMultidimensional", Scope = "member", Target = "SdlDotNet.Graphics.Surface.SetPixels(System.Drawing.Point,System.Drawing.Color[,]):System.Void", MessageId = "1#")]
+[module: SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "SdlDotNet.Graphics.MarshalHelper..cctor()")]
+[module: SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate", Scope = "member", Target = "SdlDotNet.Graphics.MarshalHelper.offset")]
\ No newline at end of file
Modified: trunk/SdlDotNet/tools/Prebuild/prebuild.exe
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-04-27 17:59:58
|
Revision: 1365
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1365&view=rev
Author: jendave
Date: 2007-04-27 10:59:56 -0700 (Fri, 27 Apr 2007)
Log Message:
-----------
update prebuild. Add basic template file
Modified Paths:
--------------
trunk/SdlDotNet/tools/Prebuild/prebuild.exe
Added Paths:
-----------
trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
Property Changed:
----------------
trunk/SdlDotNet/
Property changes on: trunk/SdlDotNet
___________________________________________________________________
Name: svn:ignore
- SDL.csproj.user
bin
obj
SDL.NET.suo
doc
ChangeLog
build
.project
SdlDotNet.suo
SdlDotNet.FxCop
*.cmbx
*.sln
cvs2cl.pl
*.swp
*.mdp
*.mds
*.pidb
SdlDotNet.build
dist
aclocal.m4
autom4te.cache
config.guess
config.log
config.status
config.sub
configure
install-sh
Makefile
missing
Makefile.in
sdldotnet.pc
GuiExample.pc
GuiExample.pc.in
SdlDotNet.OpenGl.pc
SdlDotNet.OpenGl.pc.in
SdlDotNet.Particles.pc
SdlDotNet.Particles.pc.in
SdlDotNet.pc
Tests.pc
Tests.pc.in
configure.ac
Makefile.am
SdlDotNet.pc.in
SdlDotNet.OpenGl.xml
SdlDotNet.Particles.xml
SdlDotNet.xml
config.guess.lnk
config.sub.lnk
install-sh.lnk
missing.lnk
sh.exe.stackdump
SdlDotNet.Gtk.pc.in
SdlDotNet.Gtk.pc
Debug
*.build
*.in
SdlDotNet.GtkSharp.pc
+ SDL.csproj.user
bin
obj
SDL.NET.suo
doc
ChangeLog
build
.project
SdlDotNet.suo
SdlDotNet.FxCop
*.cmbx
*.sln
cvs2cl.pl
*.swp
*.mdp
*.mds
*.pidb
SdlDotNet.build
dist
aclocal.m4
autom4te.cache
config.guess
config.log
config.status
config.sub
configure
install-sh
Makefile
missing
Makefile.in
sdldotnet.pc
GuiExample.pc
GuiExample.pc.in
SdlDotNet.OpenGl.pc
SdlDotNet.OpenGl.pc.in
SdlDotNet.Particles.pc
SdlDotNet.Particles.pc.in
SdlDotNet.pc
Tests.pc
Tests.pc.in
configure.ac
Makefile.am
SdlDotNet.pc.in
SdlDotNet.OpenGl.xml
SdlDotNet.Particles.xml
SdlDotNet.xml
config.guess.lnk
config.sub.lnk
install-sh.lnk
missing.lnk
sh.exe.stackdump
SdlDotNet.Gtk.pc.in
SdlDotNet.Gtk.pc
Debug
*.build
*.in
SdlDotNet.GtkSharp.pc
autotools
Added: trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
===================================================================
--- trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs (rev 0)
+++ trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs 2007-04-27 17:59:56 UTC (rev 1365)
@@ -0,0 +1,64 @@
+using System;
+using System.Drawing;
+
+using SdlDotNet.Core;
+using SdlDotNet.Graphics;
+using SdlDotNet.Input;
+
+namespace SdlDotNetExamples.SmallDemos
+{
+ public class Template
+ {
+ public static void Run()
+ {
+ Template game = new Template();
+ game.Go();
+ }
+
+ public Template()
+ {
+ Video.SetVideoMode(800, 600);
+ AddHandlers();
+ }
+
+ public void Go()
+ {
+ Events.Run();
+ }
+
+ private void AddHandlers()
+ {
+ Events.Quit += new EventHandler<QuitEventArgs>(this.Events_Quit);
+ Events.Tick += new EventHandler<TickEventArgs>(this.Events_Tick);
+ }
+
+ private void RemoveHandlers()
+ {
+ Events.Quit -= new EventHandler<QuitEventArgs>(this.Events_Quit);
+ Events.Tick -= new EventHandler<TickEventArgs>(this.Events_Tick);
+ }
+
+ private void Events_Tick(object sender, TickEventArgs e)
+ {
+ Video.Screen.Fill(System.Drawing.Color.Blue);
+ Video.Screen.Update();
+ }
+
+ private void Events_Quit(object sender, QuitEventArgs e)
+ {
+ RemoveHandlers();
+ Events.QuitApplication();
+ }
+
+ /// <summary>
+ /// For purposes of the demo browser only.
+ /// </summary>
+ public static string Title
+ {
+ get
+ {
+ return "Template: Used as a very basic template for new SdlDotNet apps.";
+ }
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/SdlDotNet/examples/SdlDotNetExamples/SmallDemos/Template.cs
___________________________________________________________________
Name: svn:mime-type
+ text/x-csharp
Name: svn:eol-style
+ native
Modified: trunk/SdlDotNet/tools/Prebuild/prebuild.exe
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <bio...@us...> - 2007-04-26 19:49:49
|
Revision: 1364
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1364&view=rev
Author: bioslayer_
Date: 2007-04-26 12:49:22 -0700 (Thu, 26 Apr 2007)
Log Message:
-----------
Changed: made as many methods as I could find, dispose their temporary surfaces.
Fixed: a bug with Surface.Transform and renamed it to CreateTransformedSurface.
Modified Paths:
--------------
trunk/SdlDotNet/src/Graphics/Surface.cs
Modified: trunk/SdlDotNet/src/Graphics/Surface.cs
===================================================================
--- trunk/SdlDotNet/src/Graphics/Surface.cs 2007-04-26 18:33:03 UTC (rev 1363)
+++ trunk/SdlDotNet/src/Graphics/Surface.cs 2007-04-26 19:49:22 UTC (rev 1364)
@@ -1467,10 +1467,13 @@
/// </summary>
public Surface CreateFlippedHorizontalSurface()
{
- Surface surface = this.CreateRotatedSurface(270);
- surface = surface.CreateFlippedVerticalSurface();
- surface = surface.CreateRotatedSurface(90);
- return surface;
+ using (Surface surface1 = this.CreateRotatedSurface(270))
+ {
+ using (Surface surface2 = surface1.CreateFlippedVerticalSurface())
+ {
+ return surface2.CreateRotatedSurface(90);
+ }
+ }
}
/// <summary>
@@ -2182,17 +2185,19 @@
/// <returns>new Surface</returns>
public Surface CreateStretchedSurface(Rectangle sourceRectangle, Rectangle destinationRectangle)
{
- Surface surface = new Surface(sourceRectangle);
- //Surface surface = (Surface)this.Clone();
- Color colorTemp = this.TransparentColor;
- this.Transparent = false;
- surface.Blit(this, new Point(0, 0), sourceRectangle);
- this.transparentColor = colorTemp;
- double stretchWidth = ((double)destinationRectangle.Width / (double)sourceRectangle.Width);
- double stretchHeight = ((double)destinationRectangle.Height / (double)sourceRectangle.Height);
- surface = surface.CreateScaledSurface(stretchWidth, stretchHeight);
- CloneFields(this, surface);
- return surface;
+ using (Surface surface1 = new Surface(sourceRectangle))
+ {
+ //Surface surface = (Surface)this.Clone();
+ Color colorTemp = this.TransparentColor;
+ this.Transparent = false;
+ surface1.Blit(this, new Point(0, 0), sourceRectangle);
+ this.transparentColor = colorTemp;
+ double stretchWidth = ((double)destinationRectangle.Width / (double)sourceRectangle.Width);
+ double stretchHeight = ((double)destinationRectangle.Height / (double)sourceRectangle.Height);
+ Surface surface2 = surface1.CreateScaledSurface(stretchWidth, stretchHeight);
+ CloneFields(this, surface2);
+ return surface2;
+ }
}
/// <summary>
@@ -2202,11 +2207,12 @@
/// <returns>new Surface</returns>
public Surface CreateStretchedSurface(Size destinationSize)
{
- Surface surface = (Surface)this.Clone();
- double stretchWidth = ((double)destinationSize.Width / (double)this.Width);
- double stretchHeight = ((double)destinationSize.Height / (double)this.Height);
- surface = surface.CreateScaledSurface(stretchWidth, stretchHeight);
- return surface;
+ using (Surface surface1 = (Surface)this.Clone())
+ {
+ double stretchWidth = ((double)destinationSize.Width / (double)this.Width);
+ double stretchHeight = ((double)destinationSize.Height / (double)this.Height);
+ return surface1.CreateScaledSurface(stretchWidth, stretchHeight);
+ }
}
/// <summary>
@@ -2315,27 +2321,30 @@
}
/// <summary>
- /// Uses a Transformation object to perform rotation, zooming and scaling
+ /// Uses a Transformation object to perform rotation, zooming/scaling
/// </summary>
/// <param name="transformation">Transformation object</param>
- public Surface Transform(Transformation transformation)
+ public Surface CreateTransformedSurface(Transformation transformation)
{
+ //this method and has duplicate logic with CreateRotatedZoomedSurface.
+ if (this.disposed)
+ {
+ throw (new ObjectDisposedException(this.ToString()));
+ }
if (transformation == null)
{
throw new ArgumentNullException("transformation");
}
- Surface surface = new Surface(0, 0);
- if (Math.Round(transformation.Zoom, 1) != 1.0f && Math.Round(transformation.Zoom, 1) != 0.0f)
- {
- surface = this.CreateRotatedZoomedSurface(transformation.DegreesOfRotation, transformation.Zoom, transformation.AntiAlias);
- }
- if (Math.Round(transformation.ScaleX, 1) != 1.0f &&
- Math.Round(transformation.ScaleY, 1) != 1.0f &&
- Math.Round(transformation.ScaleX, 1) != 0.0f &&
- Math.Round(transformation.ScaleY, 1) != 0.0f)
- {
- surface = this.CreateScaledSurface(transformation.ScaleX, transformation.ScaleY, transformation.AntiAlias);
- }
+ int antiAliasParameter = (transformation.AntiAlias) ? (SdlGfx.SMOOTHING_ON) : (SdlGfx.SMOOTHING_OFF);
+ Surface surface =
+ new Surface(
+ SdlGfx.rotozoomSurfaceXY(
+ this.Handle,
+ transformation.DegreesOfRotation,
+ transformation.ScaleX,
+ transformation.ScaleY,
+ antiAliasParameter));
+ CloneFields(this, surface);
return surface;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-04-26 18:33:36
|
Revision: 1363
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1363&view=rev
Author: jendave
Date: 2007-04-26 11:33:03 -0700 (Thu, 26 Apr 2007)
Log Message:
-----------
update prebuild.exe
Modified Paths:
--------------
trunk/SdlDotNet/tools/Prebuild/prebuild.exe
Modified: trunk/SdlDotNet/tools/Prebuild/prebuild.exe
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <je...@us...> - 2007-04-26 08:10:01
|
Revision: 1362
http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1362&view=rev
Author: jendave
Date: 2007-04-26 01:09:53 -0700 (Thu, 26 Apr 2007)
Log Message:
-----------
updated gtk2 paths for debian unstable
Modified Paths:
--------------
trunk/SdlDotNet/prebuild.xml
trunk/SdlDotNet/tools/Prebuild/prebuild.exe
Modified: trunk/SdlDotNet/prebuild.xml
===================================================================
--- trunk/SdlDotNet/prebuild.xml 2007-04-22 07:25:12 UTC (rev 1361)
+++ trunk/SdlDotNet/prebuild.xml 2007-04-26 08:09:53 UTC (rev 1362)
@@ -166,11 +166,19 @@
</Configuration>
<Reference name="System" />
<Reference name="System.Drawing" />
+ <?if OS = "UNIX" ?>
+ <Reference name="atk-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="gdk-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="pango-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="gtk-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="glib-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <?else ?>
<Reference name="atk-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="gdk-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="pango-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="gtk-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="glib-sharp" localCopy="true" path="../../lib/net-2.0"/>
+ <?endif ?>
<Reference name="SdlDotNet" localCopy="true"/>
<Files>
<Match path="." pattern="*.cs" recurse="true"/>
@@ -201,12 +209,21 @@
<Reference name="System.Windows.Forms" />
<Reference name="System.Data" />
<Reference name="System.Drawing" />
+ <?if OS = "UNIX" ?>
+ <Reference name="atk-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="gdk-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="pango-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="gtk-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="glib-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <Reference name="glade-sharp" localCopy="true" path="/usr/lib/mono/gtk-sharp-2.0"/>
+ <?else ?>
<Reference name="atk-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="gdk-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="pango-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="gtk-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="glib-sharp" localCopy="true" path="../../lib/net-2.0"/>
<Reference name="glade-sharp" localCopy="true" path="../../lib/net-2.0"/>
+ <?endif ?>
<Reference name="SdlDotNet" localCopy="true"/>
<Reference name="SdlDotNet.OpenGl" localCopy="true"/>
<Reference name="SdlDotNet.GtkSharp" localCopy="true"/>
Modified: trunk/SdlDotNet/tools/Prebuild/prebuild.exe
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|