]> git.pond.sub.org Git - empserver/blobdiff - include/file.h
ship: Unbreak MOB_ACCESS real-time mobility update for ships
[empserver] / include / file.h
index a0e767664f6e7fb0b771c2a088463fc163e6669e..07dae38dadfd23f50ca81d75c2abe0aac98cdd0b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -55,7 +55,7 @@ struct empfile {
     /* flags bits EFF_MEM, EFF_PRIVATE, EFF_NOTIME also fixed then */
 
     /* Members whose values may vary throughout operation */
-    int baseid;                        /* id of first entry in cache */
+    int baseid;                        /* ID of first entry in cache */
     int cids;                  /* # entries in cache */
     int fids;                  /* # entries in table */
     int fd;                    /* file descriptor, -1 if not open */
@@ -68,13 +68,13 @@ struct empfile {
      */
     void (*oninit)(void *elt);
     /*
-     * Called after read.  @id is the element id, and @elt is the
+     * Called after read.  @id is the element ID, and @elt is the
      * element read.  May modify the element.  Modifications are
      * visible to caller of ef_read(), but have no effect on the file.
      */
     void (*postread)(int id, void *elt);
     /*
-     * Called before write.  @id is the element id, @old is the
+     * Called before write.  @id is the element ID, @old is the
      * element being updated (null unless it is cached) and @elt is
      * the element being written.  May modify the element.
      * Modifications will be visible to caller of ef_write() and are