timing.h

dyrt/include/timing.h · 672 B

From the archive dyrt_19.tar.gz

Download the archive   « Back to the archive contents

#ifndef __TIMING_H__ 
#define __TIMING_H__ 


Boolean mud_open(time_t *next_ev, time_t *now);
char *time2ascii(time_t t);
void timecom(void);
void eltime(void);
long int gametime( void );
char *sec_to_str( long int sec );
char *sec_to_hhmmss( long int seconds );
time_t round_to_min( time_t t );
char *my_ctime( time_t *clock );
void set_timer(void);
void on_timer(void);
int boot_hours(FILE *f,char *fname);

#define  TIME_CURRENT           ((time_t)(0))
#define  TIME_NEVER             ((time_t)(-1))
#define  TIME_UNAVAIL           ((time_t)(-2))
#define  TIMER_INTERRUPT        2 /* How often do we do timer interrupts? */


#endif /* Add nothing past this line... */

Site Stats

Snippets: 1791
Codebases: 571