wrap_ParticleSystem.h 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**
  2. * Copyright (c) 2006-2014 LOVE Development Team
  3. *
  4. * This software is provided 'as-is', without any express or implied
  5. * warranty. In no event will the authors be held liable for any damages
  6. * arising from the use of this software.
  7. *
  8. * Permission is granted to anyone to use this software for any purpose,
  9. * including commercial applications, and to alter it and redistribute it
  10. * freely, subject to the following restrictions:
  11. *
  12. * 1. The origin of this software must not be misrepresented; you must not
  13. * claim that you wrote the original software. If you use this software
  14. * in a product, an acknowledgment in the product documentation would be
  15. * appreciated but is not required.
  16. * 2. Altered source versions must be plainly marked as such, and must not be
  17. * misrepresented as being the original software.
  18. * 3. This notice may not be removed or altered from any source distribution.
  19. **/
  20. #ifndef LOVE_GRAPHICS_OPENGL_WRAP_PARTICLE_SYSTEM_H
  21. #define LOVE_GRAPHICS_OPENGL_WRAP_PARTICLE_SYSTEM_H
  22. // LOVE
  23. #include "common/runtime.h"
  24. #include "ParticleSystem.h"
  25. namespace love
  26. {
  27. namespace graphics
  28. {
  29. namespace opengl
  30. {
  31. ParticleSystem *luax_checkparticlesystem(lua_State *L, int idx);
  32. int w_ParticleSystem_clone(lua_State *L);
  33. int w_ParticleSystem_setTexture(lua_State *L);
  34. int w_ParticleSystem_getTexture(lua_State *L);
  35. int w_ParticleSystem_setBufferSize(lua_State *L);
  36. int w_ParticleSystem_getBufferSize(lua_State *L);
  37. int w_ParticleSystem_setInsertMode(lua_State *L);
  38. int w_ParticleSystem_getInsertMode(lua_State *L);
  39. int w_ParticleSystem_setEmissionRate(lua_State *L);
  40. int w_ParticleSystem_getEmissionRate(lua_State *L);
  41. int w_ParticleSystem_setEmitterLifetime(lua_State *L);
  42. int w_ParticleSystem_getEmitterLifetime(lua_State *L);
  43. int w_ParticleSystem_setParticleLifetime(lua_State *L);
  44. int w_ParticleSystem_getParticleLifetime(lua_State *L);
  45. int w_ParticleSystem_setPosition(lua_State *L);
  46. int w_ParticleSystem_getPosition(lua_State *L);
  47. int w_ParticleSystem_moveTo(lua_State *L);
  48. int w_ParticleSystem_setAreaSpread(lua_State *L);
  49. int w_ParticleSystem_getAreaSpread(lua_State *L);
  50. int w_ParticleSystem_setDirection(lua_State *L);
  51. int w_ParticleSystem_getDirection(lua_State *L);
  52. int w_ParticleSystem_setSpread(lua_State *L);
  53. int w_ParticleSystem_getSpread(lua_State *L);
  54. int w_ParticleSystem_setSpeed(lua_State *L);
  55. int w_ParticleSystem_getSpeed(lua_State *L);
  56. int w_ParticleSystem_setLinearAcceleration(lua_State *L);
  57. int w_ParticleSystem_getLinearAcceleration(lua_State *L);
  58. int w_ParticleSystem_setRadialAcceleration(lua_State *L);
  59. int w_ParticleSystem_getRadialAcceleration(lua_State *L);
  60. int w_ParticleSystem_setTangentialAcceleration(lua_State *L);
  61. int w_ParticleSystem_getTangentialAcceleration(lua_State *L);
  62. int w_ParticleSystem_setSizes(lua_State *L);
  63. int w_ParticleSystem_getSizes(lua_State *L);
  64. int w_ParticleSystem_setSizeVariation(lua_State *L);
  65. int w_ParticleSystem_getSizeVariation(lua_State *L);
  66. int w_ParticleSystem_setRotation(lua_State *L);
  67. int w_ParticleSystem_getRotation(lua_State *L);
  68. int w_ParticleSystem_setSpin(lua_State *L);
  69. int w_ParticleSystem_getSpin(lua_State *L);
  70. int w_ParticleSystem_setSpinVariation(lua_State *L);
  71. int w_ParticleSystem_getSpinVariation(lua_State *L);
  72. int w_ParticleSystem_setColors(lua_State *L);
  73. int w_ParticleSystem_getColors(lua_State *L);
  74. int w_ParticleSystem_setOffset(lua_State *L);
  75. int w_ParticleSystem_getOffset(lua_State *L);
  76. int w_ParticleSystem_setRelativeRotation(lua_State *L);
  77. int w_ParticleSystem_hasRelativeRotation(lua_State *L);
  78. int w_ParticleSystem_getCount(lua_State *L);
  79. int w_ParticleSystem_start(lua_State *L);
  80. int w_ParticleSystem_stop(lua_State *L);
  81. int w_ParticleSystem_pause(lua_State *L);
  82. int w_ParticleSystem_reset(lua_State *L);
  83. int w_ParticleSystem_emit(lua_State *L);
  84. int w_ParticleSystem_isActive(lua_State *L);
  85. int w_ParticleSystem_isPaused(lua_State *L);
  86. int w_ParticleSystem_isStopped(lua_State *L);
  87. int w_ParticleSystem_update(lua_State *L);
  88. extern "C" int luaopen_particlesystem(lua_State *L);
  89. } // opengl
  90. } // graphics
  91. } // love
  92. #endif // LOVE_GRAPHICS_OPENGL_WRAP_PARTICLE_SYSTEM_H