KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
subr.c File Reference
#include <stdio.h>
#include <string.h>
#include "hdr.h"

Functions

static void badmove (void)
 
static int bitset (int, int)
 
static int dropper (void)
 
static int liq2 (int)
 
static int mback (void)
 
static int specials (void)
 
static int trbridge (void)
 
int toting (int objj)
 
int here (int objj)
 
int at (int objj)
 
int liq ()
 
int liqloc (int locc)
 
int forced (int locc)
 
int dark ()
 
int pct (int n)
 
int fdwarf ()
 
int march ()
 
int bug (int n)
 
void checkhints ()
 
int trsay ()
 
int trtake ()
 
int trdrop ()
 
int tropen ()
 
int trkill ()
 
int trtoss ()
 
int trfeed ()
 
int trfill ()
 
void closing ()
 
void caveclose ()
 

Variables

static const char rcsid []
 

Function Documentation

◆ at()

int at ( int objj)

References FALSE, fixed, loc, place, and TRUE.

Referenced by fdwarf(), main(), march(), trdrop(), trkill(), and trtoss().

◆ badmove()

static void badmove ( void )
static

References find, invent, k, rspeak(), spk, and verb.

Referenced by march().

◆ bitset()

static int bitset ( int l,
int n )
static

References cond, FALSE, l, setbit, and TRUE.

Referenced by checkhints(), and fdwarf().

◆ bug()

int bug ( int n)

References printf.

Referenced by checkhints(), main(), march(), and specials().

◆ caveclose()

void caveclose ( void )

◆ checkhints()

void checkhints ( void )

◆ closing()

void closing ( void )

◆ dark()

int dark ( void )

References cond, FALSE, here(), lamp, loc, prop, and TRUE.

Referenced by main().

◆ dropper()

static int dropper ( void )
static

References bird, bottle, cage, drop(), k, liq(), loc, obj, place, and prop.

Referenced by trdrop().

◆ fdwarf()

◆ forced()

int forced ( int locc)

References cond, FALSE, and TRUE.

Referenced by fdwarf(), main(), and mback().

◆ here()

int here ( int objj)

◆ liq()

int liq ( void )

References bottle, liq2(), and prop.

Referenced by dropper(), main(), trfill(), and trtake().

◆ liq2()

static int liq2 ( int pbotl)
static

References oil, and water.

Referenced by liq(), and liqloc().

◆ liqloc()

int liqloc ( int locc)

References cond, l, and liq2().

Referenced by main(), and trfill().

◆ march()

◆ mback()

static int mback ( void )
static

◆ pct()

int pct ( int n)

References FALSE, ran(), and TRUE.

Referenced by fdwarf(), main(), march(), pm_draw(), and pm_drawbar().

◆ specials()

static int specials ( void )
static

References bug(), drop(), emrald, holdng, loc, newloc, rspeak(), toting(), and trbridge().

Referenced by march().

◆ toting()

int toting ( int objj)

◆ trbridge()

static int trbridge ( void )
static

◆ trdrop()

◆ trfeed()

int trfeed ( void )

References axe, bear, bird, closed, dflag, dragon, dstroy(), dwarf, fixed, food, here(), obj, prop, snake, spk, tally2, and troll.

Referenced by main().

◆ trfill()

int trfill ( void )

References bottle, cond, fixed, here(), k, liq(), liqloc(), loc, obj, oil, place, prop, rspeak(), spk, toting(), and vase.

Referenced by main().

◆ trkill()

int trkill ( void )

◆ tropen()

int tropen ( void )

◆ trsay()

int trsay ( void )

References obj, printf, vocab(), wd1, and wd2.

Referenced by main().

◆ trtake()

int trtake ( void )

References bear, bird, bottle, cage, carry(), chain, fixed, here(), holdng, k, liq(), loc, obj, oil, place, plant, prop, rod, rspeak(), spk, toting(), and water.

Referenced by main().

◆ trtoss()

int trtoss ( void )

Variable Documentation

◆ rcsid

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