home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
License everything (GPL).
[plomrogue]
/
src
/
server
/
world.h
diff --git
a/src/server/world.h
b/src/server/world.h
index 4318562ef437068cde27d908f35614420e8c0673..f895ff21a05674679f6d1781e3a5210a30331faa 100644
(file)
--- a/
src/server/world.h
+++ b/
src/server/world.h
@@
-1,4
+1,8
@@
/* src/server/world.h
/* src/server/world.h
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
*
* Contains the World struct holding all game data together.
*/
*
* Contains the World struct holding all game data together.
*/
@@
-31,10
+35,10
@@
struct World
uint32_t seed_map; /* Map seed. */
uint16_t replay; /* Turn up to which to replay game. No replay if zero. */
uint16_t turn; /* Current game turn. */
uint32_t seed_map; /* Map seed. */
uint16_t replay; /* Turn up to which to replay game. No replay if zero. */
uint16_t turn; /* Current game turn. */
- uint16_t last_update_turn; /* Last turn the .path_out file was updated. */
+ uint8_t do_update; /* Update worldstate file if !0. */
+ uint8_t exists; /* If !0, remake_world() has been run successfully. */
uint8_t player_type; /* Thing type that player will start as. */
uint8_t is_verbose; /* Should server send debugging info to stdout? */
uint8_t player_type; /* Thing type that player will start as. */
uint8_t is_verbose; /* Should server send debugging info to stdout? */
- uint8_t enemy_fov; /* != 0 if non-player actors only see field of view. */
};
extern struct World world;
};
extern struct World world;