pueblo.h
pennmush-1.8.3p3/hdrs/pueblo.h · 843 B
From the archive pennmush-1.8.3p3.tar.gz
Download the archive « Back to the archive contents
/* pueblo.h */
#ifndef __PUEBLO_H
#define __PUEBLO_H
/* Ok. The original idea for this came from seeing the Tiny patch for Pueblo.
* A few months later I felt the urge to add some pueblo thingies to Penn,
* and did so, though at a quite different level. This led to the
* discovery of the trouble with bsd.c, which also got partly rewritten.
* The commands @emit/html and pemit_html() were added to have Tiny compability
*/
#include "conf.h"
#define PUEBLOBUFF \
char pbuff[BUFFER_LEN]; \
char *pp
#define PUSE \
pp=pbuff
#define PEND \
*pp=0;
#define tag_wrap(a,b,c) safe_tag_wrap(a,b,c,pbuff,&pp,NOTHING)
#define tag(a) safe_tag(a,pbuff,&pp)
#define tag_cancel(a) safe_tag_cancel(a,pbuff,&pp)
/* Please STAY SANE when modifying.
* Making this something like 'x' and 'y' is a BAD IDEA
*/
#endif