*E-@o-"TIKNh5-NoneSystemosxBackgroundChangerolroot osxChangerCoreuwindowDrawBackGroundObjectPropertyPackageFloatProperty Function BoolPropertyEngineObject TextBufferClassC bNoSmoothHTextureUWindowWindow IntProperty WinHeight WinWidthCanvasXOffsetYOffset ScriptTextoldskoolRootwindow backroundsWDrawStretchedTexturex43x33x23x13x42x32x22x12x41x31x21x11      ?#,*m̓*m̓*m̓*m̓*m͊x*m̓*m̓*m̓*m̓*m̓*m̓*m̓*m̓*m̓*m̓*m̓*m͊xo!// //////////////////////////////////////////////////////// // // UsAaR33: this is my hack to get OSX backgrounds working under oldskool amp'd // // //////////////////////////////////////////////////////// class osxChanger expands backrounds; // These variables correlate to the assignments in the plug-in // That's where the imported textures are. var texture x43, x33, x23, x13, x42, x32, x22, x12, x41, x31, x21, x11; static function drawbackground(oldskoolRootwindow olroot, canvas c){ //function allows customizability (as well as OSX format support) local int XOffset, YOffset; local float W, H; W = olroot.WinWidth / 4; H = W; if(H > olroot.WinHeight / 3) { H = olroot.WinHeight / 3; W = H; } XOffset = (olroot.WinWidth - (4 * (W-1))) / 2; YOffset = (olroot.WinHeight - (3 * (H-1))) / 2; C.bNoSmooth = False; olroot.DrawStretchedTexture(C, XOffset + (3 * (W-1)), YOffset + (2 * (H-1)), W, H, default.x43); olroot.DrawStretchedTexture(C, XOffset + (2 * (W-1)), YOffset + (2 * (H-1)), W, H, default.x33); olroot.DrawStretchedTexture(C, XOffset + (1 * (W-1)), YOffset + (2 * (H-1)), W, H, default.x23); olroot.DrawStretchedTexture(C, XOffset + (0 * (W-1)), YOffset + (2 * (H-1)), W, H, default.x13); olroot.DrawStretchedTexture(C, XOffset + (3 * (W-1)), YOffset + (1 * (H-1)), W, H, default.x42); olroot.DrawStretchedTexture(C, XOffset + (2 * (W-1)), YOffset + (1 * (H-1)), W, H, default.x32); olroot.DrawStretchedTexture(C, XOffset + (1 * (W-1)), YOffset + (1 * (H-1)), W, H, default.x22); olroot.DrawStretchedTexture(C, XOffset + (0 * (W-1)), YOffset + (1 * (H-1)), W, H, default.x12); olroot.DrawStretchedTexture(C, XOffset + (3 * (W-1)), YOffset + (0 * (H-1)), W, H, default.x41); olroot.DrawStretchedTexture(C, XOffset + (2 * (W-1)), YOffset + (0 * (H-1)), W, H, default.x31); olroot.DrawStretchedTexture(C, XOffset + (1 * (W-1)), YOffset + (0 * (H-1)), W, H, default.x21); olroot.DrawStretchedTexture(C, XOffset + (0 * (W-1)), YOffset + (0 * (H-1)), W, H, default.x11); C.bNoSmooth = True; } v?,e?,?,D?,?&,D?,?&,-(F??,?&??,?&F??,?&??,?&E??&?&??,?&E??%?&??,?& E??,?&??&?& E??,?&??&?&D??&?&??&?&D??%?&??&?& E??,?&??%?&E??,?&??%?& D??&?&??%?& D??%?&??%?&-'              T  `  l  y  F  R & ^ # k % x ( E $ R * _ + l , y " F ! S ' ` ) m Az 4z!{g u3