customizemii-wiidb/CustomizeMii/CustomizeMii_Structs.cs

83 lines
2.3 KiB
C#
Raw Normal View History

2009-12-28 22:24:21 +01:00
/* This file is part of CustomizeMii
* Copyright (C) 2009 Leathl
*
* CustomizeMii is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* CustomizeMii is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace CustomizeMii
2009-12-22 00:58:53 +01:00
{
2010-02-06 00:09:36 +01:00
public struct TplImage
{
public System.Drawing.Image tplImage;
2010-03-28 20:29:30 +02:00
public System.Drawing.Image checkerBoard;
2010-02-06 00:09:36 +01:00
public string tplFormat;
2010-03-28 20:29:30 +02:00
public string fileName;
2010-02-06 00:09:36 +01:00
}
public struct TransmitInfo
{
public double compressionRatio;
public double transmittedLength;
public int timeElapsed;
}
2009-12-22 00:58:53 +01:00
public struct BnsConversionInfo
{
public enum LoopType
{
None,
FromWave,
Manual
}
2010-03-28 20:29:30 +02:00
public LoopType loopType;
public int loopStartSample;
public string audioFile;
public bool stereoToMono;
2009-12-22 00:58:53 +01:00
}
public struct WadCreationInfo
{
public enum NandLoader : int
{
comex = 0,
2010-03-28 20:29:30 +02:00
Waninkoko = 1,
2009-12-22 00:58:53 +01:00
}
2010-02-24 22:41:37 +01:00
public string titleId;
public string[] titles;
public string allLangTitle;
2010-03-28 20:29:30 +02:00
public int startupIos;
2010-02-24 22:41:37 +01:00
public string sound;
public string dol;
2009-12-22 00:58:53 +01:00
public string outFile;
public NandLoader nandLoader;
public bool sendToWii;
2010-03-28 20:29:30 +02:00
public libWiiSharp.Protocol transmitProtocol;
public string transmitIp;
public int transmitIos;
public bool saveAfterTransmit;
2010-02-06 00:09:36 +01:00
public bool success;
2010-03-28 20:29:30 +02:00
public bool sendWadReady;
public byte[] wadFile;
public bool lz77;
2009-12-22 00:58:53 +01:00
}
public struct Progress
{
public int progressValue;
public string progressState;
}
}