| version 1.1 | | version 1.2 |
|---|
| | |
| * Lighting functions. | | * Lighting functions. |
| * | | * |
| * $Log$ | | * $Log$ |
| * Revision 1.1 1999/06/14 22:08:28 donut | | * Revision 1.2 2003/03/09 06:34:10 donut |
| * Initial revision | | * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned |
| | | * |
| | | * Revision 1.1.1.1 1999/06/14 22:08:28 donut |
| | | * Import of d1x 1.37 source. |
| * | | * |
| * Revision 2.1 1995/07/24 13:21:56 john | | * Revision 2.1 1995/07/24 13:21:56 john |
| * Added new lighting calculation code to speed things up. | | * Added new lighting calculation code to speed things up. |
| | |
| int objnum,vertnum; | | int objnum,vertnum; |
| int n_render_vertices; | | int n_render_vertices; |
| short render_vertices[MAX_VERTICES]; | | short render_vertices[MAX_VERTICES]; |
| byte render_vertex_flags[MAX_VERTICES]; | | sbyte render_vertex_flags[MAX_VERTICES]; |
| int render_seg,segnum, v; | | int render_seg,segnum, v; |
| | | |
| if (!Do_dynamic_light) | | if (!Do_dynamic_light) |