Example #1
0
        // This copies all properties to another sector
        public void CopyPropertiesTo(Sector s)
        {
            s.BeforePropsChange();

            // Copy properties
            s.ceilheight       = ceilheight;
            s.ceiltexname      = ceiltexname;
            s.longceiltexname  = longceiltexname;
            s.floorheight      = floorheight;
            s.floortexname     = floortexname;
            s.longfloortexname = longfloortexname;
            s.effect           = effect;
            s.tag          = tag;
            s.brightness   = brightness;
            s.updateneeded = true;
            base.CopyPropertiesTo(s);
        }
Example #2
0
        // This copies all properties to another sector
        public void CopyPropertiesTo(Sector s)
        {
            s.BeforePropsChange();

            // Copy properties
            s.ceilheight       = ceilheight;
            s.ceiltexname      = ceiltexname;
            s.longceiltexname  = longceiltexname;
            s.floorheight      = floorheight;
            s.floortexname     = floortexname;
            s.longfloortexname = longfloortexname;
            s.effect           = effect;
            s.tags             = new List <int>(tags);                 //mxd
            s.flags            = new Dictionary <string, bool>(flags); //mxd
            s.brightness       = brightness;
            s.flooroffset      = flooroffset;                          //mxd
            s.floorslope       = floorslope;                           //mxd
            s.ceiloffset       = ceiloffset;                           //mxd
            s.ceilslope        = ceilslope;                            //mxd
            s.updateneeded     = true;
            base.CopyPropertiesTo(s);
        }
Example #3
0
        // This copies all properties to another sector
        public void CopyPropertiesTo(Sector s)
        {
            s.BeforePropsChange();

            // Copy properties
            s.ceilheight       = ceilheight;
            s.ceiltexname      = ceiltexname;
            s.longceiltexname  = longceiltexname;
            s.floorheight      = floorheight;
            s.floortexname     = floortexname;
            s.longfloortexname = longfloortexname;
            s.effect           = effect;
            s.tag          = tag;
            s.flags        = new Dictionary <string, bool>(flags); // villsa
            s.brightness   = brightness;
            s.updateneeded = true;
            s.ceilColor    = ceilColor;  // villsa
            s.flrColor     = flrColor;   // villsa
            s.thingColor   = thingColor; // villsa
            s.topColor     = topColor;   // villsa
            s.lwrColor     = lwrColor;   // villsa
            base.CopyPropertiesTo(s);
        }