light.h

lima-1.0b5/lib/include/light.h · 342 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

#ifndef __LIGHT_H__
#define __LIGHT_H__

/*
 * This is the # of seconds between decaying the fuel
 */
#define FUEL_DELAY 10

/* When you pass this into set_fuel(), your light object will 
    be lit forever. */
#define INF_FUEL (-FUEL_DELAY)

#endif /* __LIGHT_H__*/

Site Stats

Snippets: 1791
Codebases: 571