// Copy constructor public HiResImage(HiResImage other) { // Initialize this.scale = other.scale; this.sourcescale = other.sourcescale; this.sourcesize = other.sourcesize; // Copy names this.name = other.name; this.filepathname = other.filepathname; this.virtualname = other.virtualname; this.displayname = other.displayname; this.shortname = other.shortname; this.longname = other.longname; // We have no destructor GC.SuppressFinalize(this); }
// Copy constructor public HiResImage(HiResImage other) { // Initialize this.scale = other.scale; this.sourcescale = other.sourcescale; this.sourcesize = other.sourcesize; // biwa. HiRes replacements always seem to use worldpanning. There is no documentation about it, but not // setting it can cause issues (see https://github.com/jewalky/UltimateDoomBuilder/issues/432) worldpanning = true; // Copy names this.name = other.name; this.filepathname = other.filepathname; this.virtualname = other.virtualname; this.displayname = other.displayname; this.shortname = other.shortname; this.longname = other.longname; // We have no destructor GC.SuppressFinalize(this); }