[Refactor] Improve enum defination rules
When all characters of a enum symbol are uppercase, some times, will confilcit with system macro definations, such as:
-
OS_WINDOWSconflicit withC:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\Shlwapi.h -
ALPHA_MASKconfilcit withC:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\gdipluspixelformats.h
Sugesstion solution, change all enum to like class name, such as:
ALPHA_MASK to AlphaMask
since it's not exposed to the user, maybe PARTICLE_ALPHA_MASK is better?
since it's not exposed to the user, maybe
PARTICLE_ALPHA_MASKis better?
May not a good solution, because enum class is suggested for modern c++ programming, add specific prefx looks redundantly
How about defining the EmissionShapeType enum inside ParticleSystem class like these enums:

I see why now. but AlphaMask feels out of touch


Same goes for point and rect and some others, I think prefixing PARTICLE or SHAPE is good or is it not?
I see why now. but
AlphaMaskfeels out of touch
It's touch to c# code style.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.