123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- /**
- * Copyright (c) 2006-2013 LOVE Development Team
- *
- * This software is provided 'as-is', without any express or implied
- * warranty. In no event will the authors be held liable for any damages
- * arising from the use of this software.
- *
- * Permission is granted to anyone to use this software for any purpose,
- * including commercial applications, and to alter it and redistribute it
- * freely, subject to the following restrictions:
- *
- * 1. The origin of this software must not be misrepresented; you must not
- * claim that you wrote the original software. If you use this software
- * in a product, an acknowledgment in the product documentation would be
- * appreciated but is not required.
- * 2. Altered source versions must be plainly marked as such, and must not be
- * misrepresented as being the original software.
- * 3. This notice may not be removed or altered from any source distribution.
- **/
- #ifndef LOVE_GRAPHICS_OPENGL_WRAP_GRAPHICS_H
- #define LOVE_GRAPHICS_OPENGL_WRAP_GRAPHICS_H
- // LOVE
- #include "wrap_Font.h"
- #include "wrap_Image.h"
- #include "wrap_Quad.h"
- #include "wrap_SpriteBatch.h"
- #include "wrap_ParticleSystem.h"
- #include "wrap_Canvas.h"
- #include "wrap_Shader.h"
- #include "Graphics.h"
- namespace love
- {
- namespace graphics
- {
- namespace opengl
- {
- int w_checkMode(lua_State *L);
- int w_setMode(lua_State *L);
- int w_getMode(lua_State *L);
- int w_toggleFullscreen(lua_State *L);
- int w_reset(lua_State *L);
- int w_clear(lua_State *L);
- int w_present(lua_State *L);
- int w_setIcon(lua_State *L);
- int w_setCaption(lua_State *L);
- int w_getCaption(lua_State *L);
- int w_getWidth(lua_State *L);
- int w_getHeight(lua_State *L);
- int w_getDimensions(lua_State *L);
- int w_isCreated(lua_State *L);
- int w_setScissor(lua_State *L);
- int w_getScissor(lua_State *L);
- int w_defineMask(lua_State *L);
- int w_setMask(lua_State *L);
- int w_newImage(lua_State *L);
- int w_newQuad(lua_State *L);
- int w_newQuad(lua_State *L);
- int w_newFont(lua_State *L);
- int w_newImageFont(lua_State *L);
- int w_newSpriteBatch(lua_State *L);
- int w_newParticleSystem(lua_State *L);
- int w_newCanvas(lua_State *L); // comments in function
- int w_newShader(lua_State *L);
- int w_setColor(lua_State *L);
- int w_getColor(lua_State *L);
- int w_setBackgroundColor(lua_State *L);
- int w_getBackgroundColor(lua_State *L);
- int w_setFont(lua_State *L);
- int w_getFont(lua_State *L);
- int w_setColorMask(lua_State *L);
- int w_getColorMask(lua_State *L);
- int w_setBlendMode(lua_State *L);
- int w_getBlendMode(lua_State *L);
- int w_setDefaultFilter(lua_State *L);
- int w_getDefaultFilter(lua_State *L);
- int w_setDefaultMipmapFilter(lua_State *L);
- int w_getDefaultMipmapFilter(lua_State *L);
- int w_setLineWidth(lua_State *L);
- int w_setLineStyle(lua_State *L);
- int w_setLine(lua_State *L);
- int w_getLineWidth(lua_State *L);
- int w_getLineStyle(lua_State *L);
- int w_setPointSize(lua_State *L);
- int w_setPointStyle(lua_State *L);
- int w_setPoint(lua_State *L);
- int w_getPointSize(lua_State *L);
- int w_getPointStyle(lua_State *L);
- int w_getMaxPointSize(lua_State *L);
- int w_newScreenshot(lua_State *L);
- int w_setCanvas(lua_State *L);
- int w_setCanvases(lua_State *L);
- int w_getCanvas(lua_State *L);
- int w_setShader(lua_State *L);
- int w_getShader(lua_State *L);
- int w_isSupported(lua_State *L);
- int w_draw(lua_State *L);
- int w_drawq(lua_State *L);
- int w_print(lua_State *L);
- int w_printf(lua_State *L);
- int w_point(lua_State *L);
- int w_line(lua_State *L);
- int w_rectangle(lua_State *L);
- int w_circle(lua_State *L);
- int w_arc(lua_State *L);
- int w_push(lua_State *L);
- int w_pop(lua_State *L);
- int w_rotate(lua_State *L);
- int w_scale(lua_State *L);
- int w_translate(lua_State *L);
- int w_shear(lua_State *L);
- int w_hasFocus(lua_State *L);
- extern "C" LOVE_EXPORT int luaopen_love_graphics(lua_State *L);
- } // opengl
- } // graphics
- } // love
- #endif // LOVE_GRAPHICS_OPENGL_WRAP_GRAPHICS_H
|