radiance.c

ds2.4.1/lib/lib/props/radiance.c · 465 B

From the archive ds2.4.1.zip

Download the archive   « Back to the archive contents

/*    /lib/props/radiance.c
 *    From the Dead Souls LPC Library
 *    Radiance is the capacity of one object to radiate light
 *    Created by Descartes of Borg 961221
 *    Version: @(#) radiance.c 1.1@(#)
 *    Last modified: 96/12/22
 */

private static int RadiantLight = 0;

int GetRadiantLight(int ambient) {
    return RadiantLight;
}

int SetRadiantLight(int x) {
    return (RadiantLight = x);
}

int GetBaseRadiance(int foo){
    return RadiantLight;
}

Site Stats

Snippets: 1791
Codebases: 571