* - Added ManagedRenderTarget to better handle RenderTarget2Ds. - Added a Graphics folder that contains the above. - Made all existing RenderTarget2Ds use the above instead. - Removed some old/reduntant loading code for metaballs. - Moved PrimitiveTrail to the new Graphics folder. * - Manually unload the event, as afaik TMod will not do this. * - Added a drawer system, for making doing more advanced visual effects easier. - Moved miracle blight's shader effect to use this instead of the old method. - Ares Body is now vulnerable to miracle blight again, as the visual effect is disabled seperately.
12 lines
180 B
C#
12 lines
180 B
C#
namespace CalamityMod.Graphics.Drawers
|
|
{
|
|
public enum DrawerLayer
|
|
{
|
|
AfterEverything,
|
|
BeforeTiles,
|
|
NPC,
|
|
Player,
|
|
Projectile
|
|
}
|
|
}
|