• R/O
  • SSH
  • HTTPS

nlgp1: Commit


Commit MetaInfo

Revision794 (tree)
Zeit2011-02-25 20:12:16
Autorbiikame

Log Message

識別子を一部修正

Ändern Zusammenfassung

Diff

--- trunk/Nlgp1/Nlgp1/Common/ChipGraphic.cs (revision 793)
+++ trunk/Nlgp1/Nlgp1/Common/ChipGraphic.cs (revision 794)
@@ -71,11 +71,11 @@
7171
7272 private Image chipSet;
7373
74- public static ChipGraphic LoadChipGraphics( string path ) {
75- return LoadChipGraphics( path , MapData.DefaultChipSize );
74+ public static ChipGraphic LoadChipGraphic( string path ) {
75+ return LoadChipGraphic( path , MapData.DefaultChipSize );
7676 }
7777
78- public static ChipGraphic LoadChipGraphics( string path , Vector chipSize ) {
78+ public static ChipGraphic LoadChipGraphic( string path , Vector chipSize ) {
7979 ChipGraphic value;
8080 string key = path.ToLower();
8181 if( ChipGraphic.items.TryGetValue( key , out value ) ) {
--- trunk/Nlgp1/Nlgp1/Motions/SpriteMotion.cs (revision 793)
+++ trunk/Nlgp1/Nlgp1/Motions/SpriteMotion.cs (revision 794)
@@ -55,7 +55,7 @@
5555 this.TypeID = typeID;
5656 this.ChipSize = chipSize;
5757 if( layerType == LayerType.Character ) {
58- this.ChipSet = ChipGraphic.LoadChipGraphics( string.Format( @"Data\{0}\{1:D3}.png" , imageTypeName , typeID ) , chipSize );
58+ this.ChipSet = ChipGraphic.LoadChipGraphic( string.Format( @"Data\{0}\{1:D3}.png" , imageTypeName , typeID ) , chipSize );
5959 if( this.ChipSet == null )
6060 throw new NullReferenceException( string.Format( "{0} > {1} に対するチップセットを読み込めません。" , imageTypeName , typeID ) );
6161
@@ -91,7 +91,7 @@
9191 #endregion
9292 }
9393 else {
94- this.ChipSet = ChipGraphic.LoadChipGraphics( Path.Combine( "Data" , Path.ChangeExtension( imageTypeName , "png" ) ) , chipSize );
94+ this.ChipSet = ChipGraphic.LoadChipGraphic( Path.Combine( "Data" , Path.ChangeExtension( imageTypeName , "png" ) ) , chipSize );
9595 foreach( MotionType type in Enum.GetValues( typeof( MotionType ) ) ) {
9696 frame.Add( type , new MotionFrame {
9797 Start = typeID,
Show on old repository browser