You can't use it, sorry, it has been recently reaffected to a variable used for qualifier handling optimization...
Oh,,, But thanks for ur reply.
Don't have an account yet? Then register once and completely free of charge and use our wide range of topics, features and great options. As a registered member on our site, you can use all functions to actively participate in community life. Write posts, open topics, upload your pictures, put your videos online, talk to other members and help us to constantly improve our project and grow together! So, what are you waiting for? Become a part of us today!
Login or registerTo get support for a technical issue such as installing the software, to query a purchase that you've made/would like to make, or anything other than using our software, please visit our Customer Service Desk:
Open a TicketYou can't use it, sorry, it has been recently reaffected to a variable used for qualifier handling optimization...
Oh,,, But thanks for ur reply.
Definition in Cncf.h about WORD oilFree, Is it safe to use this freely for extension developers? ( It says Not Used in the comments. I will need to consider the possibility of being rewritten by other extensions, though.)
Or if have any role in this variable, plz let me know aboout it.
Thanks.
Hi, How about this? Please login to see this attachment.
Still Hard-Coding.. but the result is great.
Fixed Yves code.
void TEST::SetSemiTrans(LPRO myobj, int coef)
{
// LPRO myobj = (LPRO)CNC_GetParameter(rdPtr);
int nBlendCoef = 0;
switch (myobj->ros.rsEffect & BOP_MASK) {
case BOP_EFFECTEX:
{
CEffectEx* pEffectEx = (CEffectEx*)myobj->ros.rsEffectParam;// Need #include "EffectEx.h" from MMF Headers
if (pEffectEx != NULL)
nBlendCoef = 255 - (pEffectEx->GetRGBA() >> 24);// pEffectEx->GetRGBA() == default >> -1; >> result calc == 0;
int a = 939524095;// Hardcode
pEffectEx->SetRGBA(a);// find at "EffectEx.h"
}
break;
case BOP_BLEND: // old semi-transparency coef
nBlendCoef = 255 - SEMITRANSPTOALPHA(myobj->ros.rsEffectParam);
break;
default:
if (myobj->ros.rsEffect & BOP_RGBAFILTER)
nBlendCoef = 255 - (((DWORD)myobj->ros.rsEffectParam) >> 24);
break;
}
;
}
;
Display More
très bien merci! > Yves
Thanks a lot!
Thanks for your quick replay! >> defisym
I'll check it soon now.
About Active object's effect "Alpha-Blending coefficient", Probably basic, but not be able to how to implement on my test extension.
Please login to see this attachment.
I found an old forum post, unfortunately not for HWA.
Please login to see this link.
"Sprite display structure" at Cncf.h, "ros.rsFlash" "ros.rsFlags" "rsEffect" "rsEffectParam" etcs..
At first thought it was simple, actually not so easy with try and errors what i realized.
Any sample codes or Documents are there?
P.S. If it is possible, from the extension, i wish to control the shader effect param.
Please login to see this attachment.
Thanks.
Sry for delay.
short WINAPI DLLExport ACT_TEST(LPRDATA rdPtr, long param1, long param2)// TEST Action
{
LPPOS pPos = (LPPOS)&rdPtr->rHo.hoCurrentParam->evp.evpW.evpW0;
auto layer = 0;
switch (pPos->posOINUMParent)
{
case(-1):
layer = pPos->posLayer;
__fallthrough;
default:
CHECK_VALUE_MESSBOXW(pPos->posOINUMParent, _T("pPos->posOINUMParent; = "), _T("TEST"));
break;
};
return 0;
};
I am still low understanding level.
I've tried this code but anything no reaction from ACT_TEST function, then i noticed the target object's "Create at start" checkbox is off.
If the Checkbox is on, returns number 1|2|3.. etcs, but not found case of -1.
defisym's explanation exactly bit complex and still i can't understand (I thanks for defisym >> will learn from you and andos's source codes).
I suggest that if you want a layer information in all cases you forget PARAM_POSITION and use your own X, Y and Layer parameters.
Unfortunately, The only solutions i can do now, Yes, i will forget to get from the PARAM_POSITION.
(or make a custom Dialog window.)
Thank a lot!
If not using Relative, is it possible to way to get the layer param from pulldown in the PARAM_POSITION Dialog?
I found an exsample in Andos's opensource "Create By Name object".
It was using PARAM_POSITION Dialog, but this extension get XY pos only from Dialog and to get a layer info from the another param.
Please login to see this attachment.
Hi, mod thanks for replay.
I am missing my Quick Replays.
I'll try it, thanks!
Did not know how to use The checkbox option for Active object. The action is corrupted?
Thanks.
Yves saying what If posOINUMParent == -1, But i'm not know about what the case of posOINUMParent will get the value -1.
In most cases, from the Extensions, Not be able to access the pulldown menu of the layer when to use the PARAM_POSITION Dialog?
I am missing How to activate and get a layer number of in the PARAM_POSITION Dialog. (Especially to know how to activate the layer setting)
Please login to see this attachment.
Currently The positions data recived as a integer, if include the layer info in it, to use the user defined struct?
paramExt* getxyl = (paramExt*)CNC_GetParameter(rdPtr);
xylParam* xyl = (xylParam*)getxyl->pextData;// custom struct
int xpos = HIWORD(xyl.layer);
int ypos = LOWORD(xyl.layer);
int layer = xyl.layer;
have any info?
Fine and Greate exsample!
The Checkbox of Active Object is unknow how to use or an action is broken?
Thanks.
Hi, Yves.
I've made an extension for MMF2 and CF25 what is including the function of "Disable IME".
This extension i am calling "DIME".
will open the code if Clickteam need it (plz PM me).
(My extension is working completely in japanese environment)
Regards.
Hello, Thanks for Updates with Build 285.3 beta.
I have one question about new windows property of "Disable IME".
Probably this option is not working anyway i think of or not yet implemented?
Hi
AGBO is my favorite and have created match 3 type puzzle game (like Zoo keeper) on MMF2.
Please login to see this link.
My tutorials and any samples about AGBO is here.
Please login to see this link.
But...i'm afraid there is a simple problem, this was written for JP lang users and also explanation was used Japanese.
>mimato
List or StringTokenizer object is functions of array( or data structure ), not provided the views like spread sheet in your application.
Spread sheet (like in excel) can make easy to use ListView or DataGrid Object. But i don't know what you having licence permission of these objects in your cf25 version. (Dev only extensions?)
And these objects works on PC build only.
exsamples( 3071kb )
DataGrid + ListView + List + SringTokenizer's working exsample ( .mfa + .exe)
DataGrid + ListView + Load From Files ( .mfa + .exe)
Please login to see this link.
I created a simple extension. It may be useful to create new array files.
This extension is able to convert the garbled characters to the correct string type on CF25.
Please login to see this attachment.
Cheers.
Almightyzentaco (Fusion 2.5 Tutorials)
Captain Quail (Firefly Tutorials)