]> git.pond.sub.org Git - empserver/blobdiff - include/commodity.h
Extend the common header of struct empobj to include uid
[empserver] / include / commodity.h
index 3877b6b4d283da519410c25d6edc6992a7c87700..46a038eb8c96f3b111abb9be244d56954c3cfe46 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
 #ifndef COMMODITY_H
 #define COMMODITY_H
 
+#include <time.h>
 #include "types.h"
 #include "item.h"
 
 struct comstr {
+    /* initial part must match struct empobj */
     short ef_type;
-    natid com_owner;
     short com_uid;
+    natid com_owner;
+    /* end of part matching struct empobj */
     i_type com_type;
     int com_amount;
     float com_price;