#define DRAW_SCREEN_EFFECT(material) \
{ \
const auto drawFunction = memory->drawScreenEffectMaterial; \
int w, h; \
interfaces->engine->getScreenSize(w, h); \
__asm { \
__asm push h \
__asm push w \
__asm push 0 \
__asm xor edx, edx \
__asm mov ecx, material \
__asm call drawFunction \
__asm add esp, 12 \
} \
}