render.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. Copyright (C) 2005, 2010 - Cryptic Sea
  3. This file is part of Gish.
  4. Gish is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License
  6. as published by the Free Software Foundation; either version 2
  7. of the License, or (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. See the GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  15. */
  16. void renderlevelback(void);
  17. void renderlevel(void);
  18. void renderlevelfore(void);
  19. void renderbonds(void);
  20. void renderobjectinvisible(int objectnum);
  21. void setuplighttexcoord(int lightcount,float position[3]);
  22. float calclight(int lightcount,float position[3],float normal[3]);
  23. void renderparticles(void);
  24. void renderparticles2(void);
  25. void renderobjects(void);
  26. void rendersprites(void);
  27. struct
  28. {
  29. int numoflights;
  30. struct
  31. {
  32. float position[3];
  33. float color[3];
  34. float intensity;
  35. } light[16];
  36. } frame;