/*
   egfx.h
*/

cokerr Egfx_QueryVersion(char* query);
cokerr Egfx_SetMode(cokebyte numColors, cokebyte refreshRate, cokebyte bufferRezID);
cokerr Egfx_RestoreMode();
cokerr Egfx_CheckBufferSpace(cokebyte width, cokebyte height);
cokerr Egfx_CreateBuffer(cokebyte width, cokebyte height, cokebyte* query);
cokerr Egfx_ScriptResource(cokebyte rezID);
cokerr Egfx_StartAutoScript(cokebyte rezID, cokeword speed);
cokerr Egfx_StopAutoScript();
