comparison urogue/rogue.h @ 257:c4b12d2d1dcd

UltraRogue: fix various build failures.
author John "Elwin" Edwards
date Tue, 31 Jan 2017 20:33:49 -0500
parents c495a4f288c6
children 096d3cfd9afd
comparison
equal deleted inserted replaced
256:c495a4f288c6 257:c4b12d2d1dcd
1060 #define EMPTY 0 1060 #define EMPTY 0
1061 #define DAEMON 1 1061 #define DAEMON 1
1062 #define FUSE 2 1062 #define FUSE 2
1063 1063
1064 typedef void fuse; 1064 typedef void fuse;
1065 typedef void daemon;
1066 1065
1067 typedef union 1066 typedef union
1068 { 1067 {
1069 void *varg; 1068 void *varg;
1070 int *iarg; 1069 int *iarg;
1085 }; 1084 };
1086 1085
1087 struct daemon 1086 struct daemon
1088 { 1087 {
1089 int index; 1088 int index;
1090 daemon (*func)(daemon_arg *arg); 1089 void (*func)(daemon_arg *arg);
1091 }; 1090 };
1092 1091
1093 #define MAXDAEMONS 60 1092 #define MAXDAEMONS 60
1094 1093
1095 #define FUSE_NULL 0 1094 #define FUSE_NULL 0
1154 extern void activity(void); 1153 extern void activity(void);
1155 1154
1156 /* daemons.c */ 1155 /* daemons.c */
1157 1156
1158 extern void doctor_spell_points(struct thing *tp); 1157 extern void doctor_spell_points(struct thing *tp);
1159 extern daemon runners(daemon_arg *arg); 1158 extern void runners(daemon_arg *arg);
1160 extern daemon doctor(daemon_arg *tp); 1159 extern void doctor(daemon_arg *tp);
1161 extern daemon rollwand(daemon_arg *arg); 1160 extern void rollwand(daemon_arg *arg);
1162 extern daemon stomach(daemon_arg *arg); 1161 extern void stomach(daemon_arg *arg);
1163 extern fuse swander(fuse_arg *arg); 1162 extern fuse swander(fuse_arg *arg);
1164 extern fuse unconfuse(fuse_arg *arg); 1163 extern fuse unconfuse(fuse_arg *arg);
1165 extern fuse unscent(fuse_arg *arg); 1164 extern fuse unscent(fuse_arg *arg);
1166 extern fuse scent(fuse_arg *arg); 1165 extern fuse scent(fuse_arg *arg);
1167 extern fuse unhear(fuse_arg *arg); 1166 extern fuse unhear(fuse_arg *arg);