New Empire table game, to be used for global stuff:
(gamestr, EF_GAME, game_ca): New. (empfile): Declare the table. (ef_open_srv, ef_close_srv): Open and close it. (main): Create it. (empobj_storage): New member game. (EF_DYNMAX): New. (EF_IS_GAME_STATE): Use it.
This commit is contained in:
parent
4ba4cd98c6
commit
654335c621
9 changed files with 68 additions and 1 deletions
|
@ -36,6 +36,7 @@
|
|||
#define EMPOBJ_H
|
||||
|
||||
#include "commodity.h"
|
||||
#include "game.h"
|
||||
#include "land.h"
|
||||
#include "loan.h"
|
||||
#include "lost.h"
|
||||
|
@ -70,6 +71,7 @@ union empobj_storage {
|
|||
short ef_type;
|
||||
struct empobj gen;
|
||||
struct comstr comm;
|
||||
struct gamestr game;
|
||||
struct lndstr land;
|
||||
struct lonstr loan;
|
||||
struct loststr lost;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue