]> git.pond.sub.org Git - empserver/blobdiff - include/loan.h
Remove unused members of struct lndstr, lonstr, nukstr, trtstr
[empserver] / include / loan.h
index 21c60b13b58c119601040911fa406385a5d70cb5..f0a8416adeb1024db422c326318f474c680673c7 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,9 +26,9 @@
  *  ---
  *
  *  loan.h: Definitions for loans
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef LOAN_H
 #define SECS_PER_DAY   (60*60*24)
 
 struct lonstr {
+    /* initial part must match struct empobj */
     short ef_type;
-    natid l_loner;             /* loan shark */
     short l_uid;
+    unsigned l_seqno;
+    time_t l_timestamp;
+    /* end of part matching struct empobj */
+    natid l_loner;             /* loan shark */
     natid l_lonee;             /* sucker */
     signed char l_status;      /* loan status */
-    short l_sell;              /* pointer to trade file (unused) */
     int l_irate;               /* interest rate */
     int l_ldur;                        /* intended duration */
     long l_amtpaid;            /* amount paid so far */