#ifdef INTERFACE CLASS(VoretBigCommandButton) EXTENDS(VoretCommandButton) METHOD(VoretBigCommandButton, configureVoretBigCommandButton, void(entity, string, vector, string, float)) ATTRIB(VoretBigCommandButton, image, string, SKINGFX_BUTTON_BIG) ATTRIB(VoretBigCommandButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY) ENDCLASS(VoretCommandButton) entity makeVoretBigCommandButton(string theText, vector theColor, string theCommand, float closesMenu); #endif #ifdef IMPLEMENTATION entity makeVoretBigCommandButton(string theText, vector theColor, string theCommand, float theFlags) { entity me; me = spawnVoretBigCommandButton(); me.configureVoretBigCommandButton(me, theText, theColor, theCommand, theFlags); return me; } void configureVoretBigCommandButtonVoretBigCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags) { me.configureVoretCommandButton(me, theText, theColor, theCommand, theFlags); } #endif