X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=include%2Floan.h;h=c4819cf65583e43f1a1f291da227310afaf34ec0;hp=0daf30e572d3a97935d49744ecf019d5e671f4e4;hb=87952c7f7c263dd2f4155982a3079dd5c1848663;hpb=bb467c335df2ac0e4794a8c628681b42937c490d diff --git a/include/loan.h b/include/loan.h index 0daf30e57..c4819cf65 100644 --- a/include/loan.h +++ b/include/loan.h @@ -1,6 +1,6 @@ /* * Empire - A multi-player, client/server Internet based war game. - * Copyright (C) 1986-2014, Dave Pare, Jeff Bailey, Thomas Ruschak, + * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak, * Ken Stevens, Steve McClure, Markus Armbruster * * Empire is free software: you can redistribute it and/or modify @@ -33,7 +33,7 @@ #ifndef LOAN_H #define LOAN_H -#include +#include "file.h" #include "types.h" #define MAXLOAN 100000 @@ -58,9 +58,9 @@ struct lonstr { time_t l_duedate; /* date after which interest doubles, etc */ }; -#define LS_FREE AGREE_FREE -#define LS_PROPOSED AGREE_PROPOSED -#define LS_SIGNED AGREE_SIGNED +#define LS_FREE 0 +#define LS_PROPOSED 1 +#define LS_SIGNED 2 extern double loan_owed(struct lonstr *loan, time_t paytime);