version 1.1 | | version 1.2 |
---|
| | |
* Include file for entities using texture mapper library. | | * Include file for entities using texture mapper library. |
* | | * |
* $Log$ | | * $Log$ |
* Revision 1.1 1999/06/14 22:02:20 donut | | * Revision 1.2 1999/07/07 21:21:56 donut |
* Initial revision | | * increased recip table size to better accommodate 640 res |
| | * |
| | * Revision 1.1.1.1 1999/06/14 22:02:20 donut |
| | * Import of d1x 1.37 source. |
* | | * |
* Revision 1.2 1995/09/04 14:22:10 allender | | * Revision 1.2 1995/09/04 14:22:10 allender |
* #defines for fixed point limits on render buffer | | * #defines for fixed point limits on render buffer |
| | |
#define MAX_LIGHTING_VALUE ((NUM_LIGHTING_LEVELS-1)*F1_0/NUM_LIGHTING_LEVELS) | | #define MAX_LIGHTING_VALUE ((NUM_LIGHTING_LEVELS-1)*F1_0/NUM_LIGHTING_LEVELS) |
#define MIN_LIGHTING_VALUE (F1_0/NUM_LIGHTING_LEVELS) | | #define MIN_LIGHTING_VALUE (F1_0/NUM_LIGHTING_LEVELS) |
| | |
#define FIX_RECIP_TABLE_SIZE 321 | | #define FIX_RECIP_TABLE_SIZE 641 //increased from 321 to 641, since this res is now quite achievable.. slight fps boost -MM |
// ------------------------------------------------------------------------------------------------------- | | // ------------------------------------------------------------------------------------------------------- |
extern fix compute_lighting_value(g3s_point *vertptr); | | extern fix compute_lighting_value(g3s_point *vertptr); |
| | |