diff options
author | Simon Howard | 2008-10-31 20:28:57 +0000 |
---|---|---|
committer | Simon Howard | 2008-10-31 20:28:57 +0000 |
commit | 96879d84140634a23050157c8899dbc1616c7b54 (patch) | |
tree | 4bb2e37b5bf74f94147f42ee878ecaa6c96274a0 /src/tables.h | |
parent | 280ae3a4c0b849f98291495b8b5a8f2a775b9b7d (diff) | |
download | chocolate-doom-96879d84140634a23050157c8899dbc1616c7b54.tar.gz chocolate-doom-96879d84140634a23050157c8899dbc1616c7b54.tar.bz2 chocolate-doom-96879d84140634a23050157c8899dbc1616c7b54.zip |
Move gamma correction table to tables.c.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1373
Diffstat (limited to 'src/tables.h')
-rw-r--r-- | src/tables.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tables.h b/src/tables.h index 544631d5..3652a79c 100644 --- a/src/tables.h +++ b/src/tables.h @@ -41,7 +41,7 @@ #ifndef __TABLES__ #define __TABLES__ - +#include "doomtype.h" #include "m_fixed.h" @@ -62,6 +62,9 @@ extern const fixed_t *finecosine; // Effective size is 4096. extern const fixed_t finetangent[FINEANGLES/2]; +// Gamma correction tables. +extern const byte gammatable[5][256]; + // Binary Angle Measument, BAM. #define ANG45 0x20000000 |