wrap_ParticleSystem.h 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /**
  2. * Copyright (c) 2006-2013 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 "wrap_Image.h"
  25. #include "ParticleSystem.h"
  26. namespace love
  27. {
  28. namespace graphics
  29. {
  30. namespace opengl
  31. {
  32. ParticleSystem *luax_checkparticlesystem(lua_State *L, int idx);
  33. int w_ParticleSystem_setImage(lua_State *L);
  34. int w_ParticleSystem_getImage(lua_State *L);
  35. int w_ParticleSystem_setBufferSize(lua_State *L);
  36. int w_ParticleSystem_getBufferSize(lua_State *L);
  37. int w_ParticleSystem_setEmissionRate(lua_State *L);
  38. int w_ParticleSystem_getEmissionRate(lua_State *L);
  39. int w_ParticleSystem_setEmitterLifetime(lua_State *L);
  40. int w_ParticleSystem_getEmitterLifetime(lua_State *L);
  41. int w_ParticleSystem_setParticleLifetime(lua_State *L);
  42. int w_ParticleSystem_getParticleLifetime(lua_State *L);
  43. int w_ParticleSystem_setPosition(lua_State *L);
  44. int w_ParticleSystem_getPosition(lua_State *L);
  45. int w_ParticleSystem_getX(lua_State *L);
  46. int w_ParticleSystem_getY(lua_State *L);
  47. int w_ParticleSystem_setAreaSpread(lua_State *L);
  48. int w_ParticleSystem_getAreaSpread(lua_State *L);
  49. int w_ParticleSystem_setDirection(lua_State *L);
  50. int w_ParticleSystem_getDirection(lua_State *L);
  51. int w_ParticleSystem_setSpread(lua_State *L);
  52. int w_ParticleSystem_getSpread(lua_State *L);
  53. int w_ParticleSystem_setRelativeDirection(lua_State *L);
  54. int w_ParticleSystem_isRelativeDirection(lua_State *L);
  55. int w_ParticleSystem_setSpeed(lua_State *L);
  56. int w_ParticleSystem_getSpeed(lua_State *L);
  57. int w_ParticleSystem_setLinearAcceleration(lua_State *L);
  58. int w_ParticleSystem_getLinearAcceleration(lua_State *L);
  59. int w_ParticleSystem_setRadialAcceleration(lua_State *L);
  60. int w_ParticleSystem_getRadialAcceleration(lua_State *L);
  61. int w_ParticleSystem_setTangentialAcceleration(lua_State *L);
  62. int w_ParticleSystem_getTangentialAcceleration(lua_State *L);
  63. int w_ParticleSystem_setSizes(lua_State *L);
  64. int w_ParticleSystem_getSizes(lua_State *L);
  65. int w_ParticleSystem_setSizeVariation(lua_State *L);
  66. int w_ParticleSystem_getSizeVariation(lua_State *L);
  67. int w_ParticleSystem_setRotation(lua_State *L);
  68. int w_ParticleSystem_getRotation(lua_State *L);
  69. int w_ParticleSystem_setSpin(lua_State *L);
  70. int w_ParticleSystem_getSpin(lua_State *L);
  71. int w_ParticleSystem_setSpinVariation(lua_State *L);
  72. int w_ParticleSystem_getSpinVariation(lua_State *L);
  73. int w_ParticleSystem_setColors(lua_State *L);
  74. int w_ParticleSystem_getColors(lua_State *L);
  75. int w_ParticleSystem_setOffset(lua_State *L);
  76. int w_ParticleSystem_getOffset(lua_State *L);
  77. int w_ParticleSystem_getCount(lua_State *L);
  78. int w_ParticleSystem_start(lua_State *L);
  79. int w_ParticleSystem_stop(lua_State *L);
  80. int w_ParticleSystem_pause(lua_State *L);
  81. int w_ParticleSystem_reset(lua_State *L);
  82. int w_ParticleSystem_emit(lua_State *L);
  83. int w_ParticleSystem_isActive(lua_State *L);
  84. int w_ParticleSystem_isPaused(lua_State *L);
  85. int w_ParticleSystem_isStopped(lua_State *L);
  86. int w_ParticleSystem_update(lua_State *L);
  87. extern "C" int luaopen_particlesystem(lua_State *L);
  88. } // opengl
  89. } // graphics
  90. } // love
  91. #endif // LOVE_GRAPHICS_OPENGL_WRAP_PARTICLE_SYSTEM_H