forked from github/server
region- und shipcurse kompilieren auch
This commit is contained in:
parent
b8125fb624
commit
b5e2fd8b36
|
@ -16,10 +16,11 @@
|
|||
#include "regioncurse.h"
|
||||
|
||||
/* kernel includes */
|
||||
#include "message.h"
|
||||
#include "nrmessage.h"
|
||||
#include "objtypes.h"
|
||||
#include "curse.h"
|
||||
#include <region.h>
|
||||
#include <message.h>
|
||||
#include <nrmessage.h>
|
||||
#include <objtypes.h>
|
||||
#include <curse.h>
|
||||
|
||||
/* util includes */
|
||||
#include <message.h>
|
||||
|
@ -112,3 +113,8 @@ cinfo_magicstreet(const locale * lang,void * obj, typ_t typ, curse *c, int self)
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
void register_regioncurse(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -14,10 +14,14 @@
|
|||
#ifndef _RCURSE_H
|
||||
#define _RCURSE_H
|
||||
|
||||
/*
|
||||
int cinfo_region(const locale *, void *, typ_t, curse *, int);
|
||||
|
||||
int cinfo_cursed_by_the_gods(const locale *, void *, typ_t, curse *, int);
|
||||
int cinfo_dreamcurse(const locale *, void *, typ_t, curse *, int);
|
||||
int cinfo_magicstreet(const locale *, void *, typ_t, curse *, int);
|
||||
*/
|
||||
|
||||
extern void register_regioncurse(void);
|
||||
|
||||
#endif /* _RCURSE_H */
|
||||
|
|
|
@ -16,13 +16,15 @@
|
|||
#include "shipcurse.h"
|
||||
|
||||
/* kernel includes */
|
||||
#include "message.h"
|
||||
#include "nrmessage.h"
|
||||
#include "objtypes.h"
|
||||
#include "curse.h"
|
||||
#include <message.h>
|
||||
#include <ship.h>
|
||||
#include <nrmessage.h>
|
||||
#include <objtypes.h>
|
||||
#include <curse.h>
|
||||
|
||||
/* util includes */
|
||||
#include <message.h>
|
||||
#include <base36.h>
|
||||
|
||||
/* libc includes */
|
||||
#include <string.h>
|
||||
|
@ -53,11 +55,10 @@ static int
|
|||
cinfo_ship_onlyowner(const locale * lang, void * obj, typ_t typ, curse *c, int self)
|
||||
{
|
||||
message * msg;
|
||||
ship * sh;
|
||||
|
||||
unused(obj);
|
||||
unused(typ);
|
||||
assert(typ == TYP_SHIP);
|
||||
sh = (ship*)obj;
|
||||
|
||||
if (self){
|
||||
msg = msg_message(mkname("curseinfo", c->type->cname), "id", c->no);
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
#ifndef _SCURSE_H
|
||||
#define _SCURSE_H
|
||||
|
||||
/*
|
||||
int cinfo_shipnodrift(const locale *, void *, typ_t, curse *, int);
|
||||
*/
|
||||
|
||||
#endif /* _SCURSE_H */
|
||||
|
|
Loading…
Reference in New Issue