Limit visibility of ugly globals.
This commit is contained in:
parent
32b04f190e
commit
7485a8a1e1
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,9 @@
|
||||||
#include "advent.h"
|
#include "advent.h"
|
||||||
#include "database.h"
|
#include "database.h"
|
||||||
|
|
||||||
|
/* Limit visibility of ugly globals. Eventually these should go away. */
|
||||||
|
extern long K, SPK, WD1, WD1X, WD2, WD2X;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Action handlers. Eventually we'll do lookup through a method table
|
* Action handlers. Eventually we'll do lookup through a method table
|
||||||
* that calls these. Absolutely nothing like the original FORTRAN.
|
* that calls these. Absolutely nothing like the original FORTRAN.
|
||||||
|
|
2
advent.h
2
advent.h
|
@ -169,8 +169,6 @@ extern long AMBER, ATTACK, AXE, BACK, BATTER, BEAR,
|
||||||
RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY, SIGN, SNAKE,
|
RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY, SIGN, SNAKE,
|
||||||
STEPS, STICK, STREAM, THROW, TRIDNT, TROLL, TROLL2,
|
STEPS, STICK, STREAM, THROW, TRIDNT, TROLL, TROLL2,
|
||||||
URN, VASE, VEND, VOLCAN, WATER;
|
URN, VASE, VEND, VOLCAN, WATER;
|
||||||
/* everything else */
|
|
||||||
extern long K, SPK, WD1, WD1X, WD2, WD2X;
|
|
||||||
|
|
||||||
enum speechpart {unknown, intransitive, transitive};
|
enum speechpart {unknown, intransitive, transitive};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue