pljones
10th Jan 2010, 11:45 AM
1001-02-1833 Released 10 January -- latest rev: 323
TerrainGeometryWaterBrushCatalogResource: Rename Unknown8 to BrushIndex for the field that associates a brush with its pair (really only applies to CTPT rather than CWAT).
DemoPlugins: Add "RunHelper" class and "IRunHelper" interface. RunHelper.Run() accepts a Form/IRunHelper type and a parameter list (of strings). The parameter list is parsed for either /clipboard or a filename. The Form is then invoked with a Stream reference to the clipboard or file data. If Environment.ExitCode is zero, the clipboard or file are then updated with IRunHelper.Result.
DemoPlugins: Oops, didn't quite get the not using clipboard for Plugins change right. Here's "Take 2".
DemoPlugins: Oops: res.Stream.Position is never where you want it; write the whole resource to the file.
Helpers.txt: Pass resources by file ("{}") rather than clipboard to s3pe editors.
Helpers.txt: Put quotes around filenames, too.
Helpers.txt: Add a note about putting quotes around filenames.
TGIComboBox: Oops, SelectedIndexChanged event not being raised when GUI used to change selected index.
s3pi:
- Start adding XML documentation to CS System Classes, Custom Forms and s3pi.Interfaces
- Removed (commented out) a couple of unused methods from AApiVersionedFields
- Tidied up XML doc comments in various places
IGenericAdd.cs: Include Add(params object[]) in interface declaration
AResource.cs: mark Add(params object[]) as virtual
AResource.cs: AHandlerElements should be passed to their own constructors with apiversion and handler
AResource.cs: TGIBlock: add constructor that takes a TGIBlock
AResource.cs: TGIBlock: amend Clone(..) to call constructor passing "this"
AResource.cs: TGIBlockList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
Wrappers:
(Most of these changes are to comply with "AResource.cs: AHandlerElements should be passed to their own constructors with apiversion and handler" above.)
CatalogResource.cs: Common: constructor that gets passed a Common block, calls this(...)
CatalogResource.cs: Common: constructor that gets passed individual fields, correct names of version (from unknown1) and buildBuyProductStatusFlags (from unknown4) in argument list
CatalogResource.cs: TypeCode01-7/2F/40: new constructor that gets passed a TypeCode01-7/2F/40
CatalogResource.cs: TypeCode01-7/2F/40: amend Clone(..) to call constructor passing "this"
CatalogResource.cs: TypeCodeList: GetElementType might get passed a TypeCode object, so just return its type
CatalogResource.cs: MaterialBlock: constructor that gets passed a MaterialBlock, calls this(...)
CatalogResource.cs: MaterialBlockList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
CatalogResource.cs: MaterialList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
ObjectCatalogResource.cs: MTDoor: constructor that gets passed an MTDoor, calls this(...)
ObjectCatalogResource.cs: MTDoorList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
WallFloorPatternCatalogResource.cs: WallFloorPatternMaterialList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
GenericRCOLResource.cs: ChunkEntry: new constructor that gets passed a ChunkEntry
GenericRCOLResource.cs: ChunkEntry: constructor that gets passed individual fields, clone the lists!
GenericRCOLResource.cs: ChunkEntry: amend Clone(..) to call constructor passing "this"
FTPT.cs: PolygonPoint: constructor that gets passed a PolygonPoint, calls this(...)
FTPT.cs: PolygonPointList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
FTPT.cs: Area: constructor that gets passed an Area, calls this(...)
FTPT.cs: AreaList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
MATD.cs: ElementUInt32: new constructor that gets passed an ElementUInt32
MATD.cs: ElementUInt32: amend Clone(..) to call constructor passing "this"
MATD.cs: ElementSingle: new constructor that gets passed an ElementSingle
MATD.cs: ElementSingle: amend Clone(..) to call constructor passing "this"
MATD.cs: EntryList: Add support for IGenericAdd interface
MATD.cs: ShaderData: constructor that gets passed a ShaderData, calls this(...)
MATD.cs: ShaderDataList: Parse() should only be called from a constructor, so don't call Clear()
MATD.cs: ShaderDataList: Parse() should call this.Add(..) than base.Add(..)
MATD.cs: ShaderDataList: Parse() can call Add(Stream)
MATD.cs: ShaderDataList: Add() cannot add an entry as it has no idea what type is needed
VPXY.cs: Constructor that gets passed a VPXY, calls this(...)
VPXY.cs: ElementUInt32: new constructor that gets passed an ElementUInt32
VPXY.cs: ElementUInt32: amend Clone(..) to call constructor passing "this"
VPXY.cs: UintList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
VPXY.cs: Entry00: new constructor that gets passed an Entry00
VPXY.cs: Entry00: amend Clone(..) to call constructor passing "this"
VPXY.cs: Entry01: new constructor that gets passed an Entry01
VPXY.cs: Entry01: amend Clone(..) to call constructor passing "this"
VPXY.cs: EntryList: GetElementType might get passed an Entry object, so just return its type
ModularResource.cs: TGIIndex: new constructor that gets passed a TGIIndex
ModularResource.cs: TGIIndex: amend Clone(..) to call constructor passing "this"
ObjKeyResource.cs: ComponentElement: new constructor that gets passed a ComponentElement
ObjKeyResource.cs: ComponentElement: amend Clone(..) to call constructor passing "this"
ObjKeyResource.cs: ComponentDataType subClasses: new constructor that gets passed a ComponentDataType subClass instance
ObjKeyResource.cs: ComponentDataType subClasses: amend Clone(..) to call constructor passing "this"
ObjKeyResource.cs: ComponentDataList: GetElementType might get passed an ComponentDataType object, so just return its type
TxtxResource.cs: SuperBlock: constructor that gets passed a SuperBlock, calls this(...)
TxtxResource.cs: Entry subClasses: new constructor that gets passed an Entry subClass instance
TxtxResource.cs: Entry subClasses: amend Clone(..) to call constructor passing "this"
TxtxResource.cs: EntryList: GetElementType might get passed an Entry object, so just return its type
TxtxResource.cs: EntryBlock: make constructor that gets passed an EntryBlock public
TerrainGeometryWaterBrushCatalogResource: Rename Unknown8 to BrushIndex for the field that associates a brush with its pair (really only applies to CTPT rather than CWAT).
DemoPlugins: Add "RunHelper" class and "IRunHelper" interface. RunHelper.Run() accepts a Form/IRunHelper type and a parameter list (of strings). The parameter list is parsed for either /clipboard or a filename. The Form is then invoked with a Stream reference to the clipboard or file data. If Environment.ExitCode is zero, the clipboard or file are then updated with IRunHelper.Result.
DemoPlugins: Oops, didn't quite get the not using clipboard for Plugins change right. Here's "Take 2".
DemoPlugins: Oops: res.Stream.Position is never where you want it; write the whole resource to the file.
Helpers.txt: Pass resources by file ("{}") rather than clipboard to s3pe editors.
Helpers.txt: Put quotes around filenames, too.
Helpers.txt: Add a note about putting quotes around filenames.
TGIComboBox: Oops, SelectedIndexChanged event not being raised when GUI used to change selected index.
s3pi:
- Start adding XML documentation to CS System Classes, Custom Forms and s3pi.Interfaces
- Removed (commented out) a couple of unused methods from AApiVersionedFields
- Tidied up XML doc comments in various places
IGenericAdd.cs: Include Add(params object[]) in interface declaration
AResource.cs: mark Add(params object[]) as virtual
AResource.cs: AHandlerElements should be passed to their own constructors with apiversion and handler
AResource.cs: TGIBlock: add constructor that takes a TGIBlock
AResource.cs: TGIBlock: amend Clone(..) to call constructor passing "this"
AResource.cs: TGIBlockList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
Wrappers:
(Most of these changes are to comply with "AResource.cs: AHandlerElements should be passed to their own constructors with apiversion and handler" above.)
CatalogResource.cs: Common: constructor that gets passed a Common block, calls this(...)
CatalogResource.cs: Common: constructor that gets passed individual fields, correct names of version (from unknown1) and buildBuyProductStatusFlags (from unknown4) in argument list
CatalogResource.cs: TypeCode01-7/2F/40: new constructor that gets passed a TypeCode01-7/2F/40
CatalogResource.cs: TypeCode01-7/2F/40: amend Clone(..) to call constructor passing "this"
CatalogResource.cs: TypeCodeList: GetElementType might get passed a TypeCode object, so just return its type
CatalogResource.cs: MaterialBlock: constructor that gets passed a MaterialBlock, calls this(...)
CatalogResource.cs: MaterialBlockList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
CatalogResource.cs: MaterialList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
ObjectCatalogResource.cs: MTDoor: constructor that gets passed an MTDoor, calls this(...)
ObjectCatalogResource.cs: MTDoorList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
WallFloorPatternCatalogResource.cs: WallFloorPatternMaterialList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
GenericRCOLResource.cs: ChunkEntry: new constructor that gets passed a ChunkEntry
GenericRCOLResource.cs: ChunkEntry: constructor that gets passed individual fields, clone the lists!
GenericRCOLResource.cs: ChunkEntry: amend Clone(..) to call constructor passing "this"
FTPT.cs: PolygonPoint: constructor that gets passed a PolygonPoint, calls this(...)
FTPT.cs: PolygonPointList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
FTPT.cs: Area: constructor that gets passed an Area, calls this(...)
FTPT.cs: AreaList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
MATD.cs: ElementUInt32: new constructor that gets passed an ElementUInt32
MATD.cs: ElementUInt32: amend Clone(..) to call constructor passing "this"
MATD.cs: ElementSingle: new constructor that gets passed an ElementSingle
MATD.cs: ElementSingle: amend Clone(..) to call constructor passing "this"
MATD.cs: EntryList: Add support for IGenericAdd interface
MATD.cs: ShaderData: constructor that gets passed a ShaderData, calls this(...)
MATD.cs: ShaderDataList: Parse() should only be called from a constructor, so don't call Clear()
MATD.cs: ShaderDataList: Parse() should call this.Add(..) than base.Add(..)
MATD.cs: ShaderDataList: Parse() can call Add(Stream)
MATD.cs: ShaderDataList: Add() cannot add an entry as it has no idea what type is needed
VPXY.cs: Constructor that gets passed a VPXY, calls this(...)
VPXY.cs: ElementUInt32: new constructor that gets passed an ElementUInt32
VPXY.cs: ElementUInt32: amend Clone(..) to call constructor passing "this"
VPXY.cs: UintList: amend Add() to call Add(..) with "bare" constructor arguments (not create an object)
VPXY.cs: Entry00: new constructor that gets passed an Entry00
VPXY.cs: Entry00: amend Clone(..) to call constructor passing "this"
VPXY.cs: Entry01: new constructor that gets passed an Entry01
VPXY.cs: Entry01: amend Clone(..) to call constructor passing "this"
VPXY.cs: EntryList: GetElementType might get passed an Entry object, so just return its type
ModularResource.cs: TGIIndex: new constructor that gets passed a TGIIndex
ModularResource.cs: TGIIndex: amend Clone(..) to call constructor passing "this"
ObjKeyResource.cs: ComponentElement: new constructor that gets passed a ComponentElement
ObjKeyResource.cs: ComponentElement: amend Clone(..) to call constructor passing "this"
ObjKeyResource.cs: ComponentDataType subClasses: new constructor that gets passed a ComponentDataType subClass instance
ObjKeyResource.cs: ComponentDataType subClasses: amend Clone(..) to call constructor passing "this"
ObjKeyResource.cs: ComponentDataList: GetElementType might get passed an ComponentDataType object, so just return its type
TxtxResource.cs: SuperBlock: constructor that gets passed a SuperBlock, calls this(...)
TxtxResource.cs: Entry subClasses: new constructor that gets passed an Entry subClass instance
TxtxResource.cs: Entry subClasses: amend Clone(..) to call constructor passing "this"
TxtxResource.cs: EntryList: GetElementType might get passed an Entry object, so just return its type
TxtxResource.cs: EntryBlock: make constructor that gets passed an EntryBlock public