KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
wizard.c File Reference
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/cdefs.h>
#include "hdr.h"

Functions

static int wizard (void)
 
void datime (int *d, int *t)
 
void poof ()
 
int Start ()
 
void ciao ()
 
int ran (int range)
 

Variables

static const char rcsid []
 
char magic [6]
 

Function Documentation

◆ ciao()

void ciao ( void )

References getchar(), printf, and save().

Referenced by main().

◆ datime()

void datime ( int * d,
int * t )

Referenced by main(), and Start().

◆ poof()

void poof ( void )

References DECR, latncy, magic, and r.

Referenced by my_init().

◆ ran()

int ran ( int range)

References random().

Referenced by fdwarf(), pct(), and trtoss().

◆ Start()

int Start ( void )

References datime(), FALSE, latncy, mspeak(), printf, saved, savet, and wizard().

Referenced by main(), and startup().

◆ wizard()

static int wizard ( void )
static

References FALSE, getin(), magic, mspeak(), TRUE, x, and yesm().

Referenced by Start().

Variable Documentation

◆ magic

char magic[6]

Referenced by poof(), and wizard().

◆ rcsid

const char rcsid[]
static
Initial value:
=
"$FreeBSD: src/games/adventure/wizard.c,v 1.10.2.1 2001/03/05 11:43:11 kris Exp $"