]> git.pond.sub.org Git - empserver/blobdiff - include/actofgod.h
actofgod: New divine_nat_change(), similar to divine_sct_change()
[empserver] / include / actofgod.h
index 69ba33db5fa3b00d077e6c052175e0e91d9c03d7..87a3f2d26550e8aed57eac892c1114dbb34abc1e 100644 (file)
@@ -45,6 +45,10 @@ extern void divine_sct_change(struct sctstr *, char *, int, int, char *, ...)
     ATTRIBUTE((format (printf, 5, 6)));
 #define divine_sct_change_quiet(sp, name, change, ...) \
     divine_sct_change((sp), (name), -(change), 0, __VA_ARGS__)
+extern void divine_nat_change(struct natstr *, char *, int, int, char *, ...)
+    ATTRIBUTE((format (printf, 5, 6)));
+#define divine_nat_change_quiet(np, name, change, ...) \
+    divine_nat_change((np), (name), -(change), 0, __VA_ARGS__)
 extern void divine_unit_change(struct empobj *, char *, int, int, char *, ...)
     ATTRIBUTE((format (printf, 5, 6)));
 #define divine_unit_change_quiet(unit, name, change, ...) \