home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3mpbitm.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_MPBITMAP_H = 1;
- include("real/code/r3matprp.js")
-
-
- var R3CLID_MPBITMAP = 586;
-
-
-
-
-
-
-
- R3MPBMA_BaseIndex = 586500;
- function SetR3MPBMA_BaseIndex(value) {
- R3Set(this.r3obj, R3MPBMA_BaseIndex, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_BaseIndex() {
- return R3Get(this.r3obj, R3MPBMA_BaseIndex, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_TileAnimation = 586501;
- function SetR3MPBMA_TileAnimation(value) {
- R3Set(this.r3obj, R3MPBMA_TileAnimation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_TileAnimation() {
- return R3Get(this.r3obj, R3MPBMA_TileAnimation, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_FlipAnimation = 586502;
- function SetR3MPBMA_FlipAnimation(value) {
- R3Set(this.r3obj, R3MPBMA_FlipAnimation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_FlipAnimation() {
- return R3Get(this.r3obj, R3MPBMA_FlipAnimation, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_ReverseAnimation = 586503;
- function SetR3MPBMA_ReverseAnimation(value) {
- R3Set(this.r3obj, R3MPBMA_ReverseAnimation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_ReverseAnimation() {
- return R3Get(this.r3obj, R3MPBMA_ReverseAnimation, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_Image = 586504;
- function GetR3MPBMA_Image() {
- return R3ToJS(R3Get(this.r3obj, R3MPBMA_Image, R3TID_OBJECT, 0));
- }
-
- R3MPBMA_NumFrames = 586505;
- function SetR3MPBMA_NumFrames(value) {
- R3Set(this.r3obj, R3MPBMA_NumFrames, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_NumFrames() {
- return R3Get(this.r3obj, R3MPBMA_NumFrames, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_FormatType = 586506;
- function SetR3MPBMA_FormatType(value) {
- R3Set(this.r3obj, R3MPBMA_FormatType, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_FormatType() {
- return R3Get(this.r3obj, R3MPBMA_FormatType, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_FormatDigits = 586507;
- function SetR3MPBMA_FormatDigits(value) {
- R3Set(this.r3obj, R3MPBMA_FormatDigits, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_FormatDigits() {
- return R3Get(this.r3obj, R3MPBMA_FormatDigits, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_Format = 586508;
- function SetR3MPBMA_Format(value) {
- R3Set(this.r3obj, R3MPBMA_Format, value, R3TID_STRING, 0);
- }
-
- function GetR3MPBMA_Format() {
- return R3Get(this.r3obj, R3MPBMA_Format, R3TID_STRING, 0);
- }
-
- R3MPBMA_AnimationType = 586509;
- function SetR3MPBMA_AnimationType(value) {
- R3Set(this.r3obj, R3MPBMA_AnimationType, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_AnimationType() {
- return R3Get(this.r3obj, R3MPBMA_AnimationType, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_BindingObject = 586510;
- function SetR3MPBMA_BindingObject(value) {
- R3Set(this.r3obj, R3MPBMA_BindingObject, value, R3TID_OBJECT, 0);
- }
-
- function GetR3MPBMA_BindingObject() {
- return R3ToJS(R3Get(this.r3obj, R3MPBMA_BindingObject, R3TID_OBJECT, 0));
- }
-
- R3MPBMA_ImageName = 586511;
- function SetR3MPBMA_ImageName(value) {
- R3Set(this.r3obj, R3MPBMA_ImageName, value, R3TID_STRING, 0);
- }
-
- function GetR3MPBMA_ImageName() {
- return R3Get(this.r3obj, R3MPBMA_ImageName, R3TID_STRING, 0);
- }
-
- R3MPBMA_ImageIndex = 586512;
- function SetR3MPBMA_ImageIndex(value) {
- R3Set(this.r3obj, R3MPBMA_ImageIndex, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_ImageIndex() {
- return R3Get(this.r3obj, R3MPBMA_ImageIndex, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_TextureAnimation = 586513;
- function SetR3MPBMA_TextureAnimation(value) {
- R3Set(this.r3obj, R3MPBMA_TextureAnimation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBMA_TextureAnimation() {
- return R3Get(this.r3obj, R3MPBMA_TextureAnimation, R3TID_INTEGER, 0);
- }
-
- R3MPBMA_RealName = 586514;
- function GetR3MPBMA_RealName() {
- return R3Get(this.r3obj, R3MPBMA_RealName, R3TID_STRING, 0);
- }
-
- R3MPBMA_OpenSilently = 586515;
- function SetR3MPBMA_OpenSilently(value) {
- R3Set(this.r3obj, R3MPBMA_OpenSilently, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3MPBMA_OpenSilently() {
- return R3Get(this.r3obj, R3MPBMA_OpenSilently, R3TID_BOOLEAN, 0);
- }
-
- R3MPBMA_RenderAlways = 586516;
- function SetR3MPBMA_RenderAlways(value) {
- R3Set(this.r3obj, R3MPBMA_RenderAlways, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3MPBMA_RenderAlways() {
- return R3Get(this.r3obj, R3MPBMA_RenderAlways, R3TID_BOOLEAN, 0);
- }
-
- var R3MPBMATYPE_UNKNOWN = 0;
- var R3MPBMATYPE_ANIMATIONFILE = 1;
- var R3MPBMATYPE_SEPARATEIMAGES = 2;
- var R3MPBMANIM_NONE = 0;
- var R3MPBMANIM_AUTOMATIC = 1;
- var R3MPBMANIM_KEYFRAME = 2;
- var R3MPFORMAT_AUTO = 0;
- var R3MPFORMAT_CUSTOM = 1;
-
-
- function r3Mpbitmap () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_MPBITMAP, arguments);
- }
- // Methods
-
- // Attributes
- this.GetBaseIndex=GetR3MPBMA_BaseIndex;
- this.SetBaseIndex=SetR3MPBMA_BaseIndex;
- this.GetTileAnimation=GetR3MPBMA_TileAnimation;
- this.SetTileAnimation=SetR3MPBMA_TileAnimation;
- this.GetFlipAnimation=GetR3MPBMA_FlipAnimation;
- this.SetFlipAnimation=SetR3MPBMA_FlipAnimation;
- this.GetReverseAnimation=GetR3MPBMA_ReverseAnimation;
- this.SetReverseAnimation=SetR3MPBMA_ReverseAnimation;
- this.GetImage=GetR3MPBMA_Image;
- this.GetNumFrames=GetR3MPBMA_NumFrames;
- this.SetNumFrames=SetR3MPBMA_NumFrames;
- this.GetFormatType=GetR3MPBMA_FormatType;
- this.SetFormatType=SetR3MPBMA_FormatType;
- this.GetFormatDigits=GetR3MPBMA_FormatDigits;
- this.SetFormatDigits=SetR3MPBMA_FormatDigits;
- this.GetFormat=GetR3MPBMA_Format;
- this.SetFormat=SetR3MPBMA_Format;
- this.GetAnimationType=GetR3MPBMA_AnimationType;
- this.SetAnimationType=SetR3MPBMA_AnimationType;
- this.GetBindingObject=GetR3MPBMA_BindingObject;
- this.SetBindingObject=SetR3MPBMA_BindingObject;
- this.GetImageName=GetR3MPBMA_ImageName;
- this.SetImageName=SetR3MPBMA_ImageName;
- this.GetImageIndex=GetR3MPBMA_ImageIndex;
- this.SetImageIndex=SetR3MPBMA_ImageIndex;
- this.GetTextureAnimation=GetR3MPBMA_TextureAnimation;
- this.SetTextureAnimation=SetR3MPBMA_TextureAnimation;
- this.GetRealName=GetR3MPBMA_RealName;
- this.GetOpenSilently=GetR3MPBMA_OpenSilently;
- this.SetOpenSilently=SetR3MPBMA_OpenSilently;
- this.GetRenderAlways=GetR3MPBMA_RenderAlways;
- this.SetRenderAlways=SetR3MPBMA_RenderAlways;
- }
-
- r3Mpbitmap.prototype=new r3Matprop;
- // r3mpbitm.h_H