include: Rename budg.h to update.h
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
c7000117e8
commit
2e7efd1e9b
12 changed files with 15 additions and 23 deletions
|
@ -648,7 +648,7 @@ extern void age_levels(int);
|
|||
/* anno.c */
|
||||
extern void delete_old_announcements(void);
|
||||
/* bp.c */
|
||||
/* in budg.h */
|
||||
/* in update.h */
|
||||
/* deliver.c */
|
||||
extern void dodeliver(struct sctstr *);
|
||||
/* distribute.c */
|
||||
|
|
|
@ -24,18 +24,17 @@
|
|||
*
|
||||
* ---
|
||||
*
|
||||
* budg.h: Budget related definitions
|
||||
* update.h: Definitions related to the update
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ville Virrankoski, 1995
|
||||
* Markus Armbruster, 2004-2016
|
||||
*/
|
||||
|
||||
#ifndef BUDG_H
|
||||
#define BUDG_H
|
||||
#ifndef UPDATE_H
|
||||
#define UPDATE_H
|
||||
|
||||
#include "types.h"
|
||||
#include "item.h"
|
||||
#include "sect.h"
|
||||
|
||||
#define SCT_EFFIC (SCT_TYPE_MAX + 1)
|
||||
#define SCT_MAINT (SCT_TYPE_MAX + 2)
|
|
@ -36,11 +36,11 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "budg.h"
|
||||
#include "commands.h"
|
||||
#include "item.h"
|
||||
#include "optlist.h"
|
||||
#include "product.h"
|
||||
#include "update.h"
|
||||
|
||||
static void calc_all(int (*p_sect)[2], int *taxes, int *Ncivs,
|
||||
int *Nuws, int *bars, int *Nbars, int *mil,
|
||||
|
|
|
@ -41,9 +41,8 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "budg.h"
|
||||
#include "optlist.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
/* Item types we want to track. */
|
||||
enum bp_item_idx {
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <math.h>
|
||||
#include "budg.h"
|
||||
#include "chance.h"
|
||||
#include "file.h"
|
||||
#include "land.h"
|
||||
|
@ -47,7 +46,7 @@
|
|||
#include "plague.h"
|
||||
#include "player.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
static void landrepair(struct lndstr *, struct natstr *, struct bp *, int);
|
||||
static void upd_land(struct lndstr *, int, struct natstr *, struct bp *, int);
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <sys/resource.h>
|
||||
#include "budg.h"
|
||||
#include "empthread.h"
|
||||
#include "file.h"
|
||||
#include "game.h"
|
||||
|
@ -45,6 +44,7 @@
|
|||
#include "prototypes.h"
|
||||
#include "server.h"
|
||||
#include "unit.h"
|
||||
#include "update.h"
|
||||
|
||||
int money[MAXNOC];
|
||||
int pops[MAXNOC];
|
||||
|
|
|
@ -35,13 +35,13 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <math.h>
|
||||
#include "budg.h"
|
||||
#include "file.h"
|
||||
#include "game.h"
|
||||
#include "item.h"
|
||||
#include "optlist.h"
|
||||
#include "prototypes.h"
|
||||
#include "nat.h"
|
||||
#include "update.h"
|
||||
|
||||
/*
|
||||
* hap and edu avg mean that the weight on current happiness is
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include "budg.h"
|
||||
#include "chance.h"
|
||||
#include "file.h"
|
||||
#include "lost.h"
|
||||
|
@ -43,8 +42,8 @@
|
|||
#include "plane.h"
|
||||
#include "player.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "ship.h"
|
||||
#include "update.h"
|
||||
|
||||
static void planerepair(struct plnstr *, struct natstr *, struct bp *, int);
|
||||
static void upd_plane(struct plnstr *, int, struct natstr *, struct bp *, int);
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include "budg.h"
|
||||
#include "chance.h"
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
|
@ -44,8 +43,8 @@
|
|||
#include "optlist.h"
|
||||
#include "player.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "ship.h"
|
||||
#include "update.h"
|
||||
|
||||
void
|
||||
prepare_sects(int etu)
|
||||
|
|
|
@ -32,14 +32,13 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include "budg.h"
|
||||
#include "chance.h"
|
||||
#include "nat.h"
|
||||
#include "optlist.h"
|
||||
#include "player.h"
|
||||
#include "product.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "update.h"
|
||||
|
||||
static void materials_charge(struct pchrstr *, short *, int);
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include "budg.h"
|
||||
#include "chance.h"
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
|
@ -45,8 +44,8 @@
|
|||
#include "path.h"
|
||||
#include "player.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "ship.h"
|
||||
#include "update.h"
|
||||
|
||||
double
|
||||
buildeff(struct sctstr *sp)
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <math.h>
|
||||
#include "budg.h"
|
||||
#include "chance.h"
|
||||
#include "file.h"
|
||||
#include "land.h"
|
||||
|
@ -48,8 +47,8 @@
|
|||
#include "player.h"
|
||||
#include "product.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "ship.h"
|
||||
#include "update.h"
|
||||
|
||||
static void shiprepair(struct shpstr *, struct natstr *, struct bp *, int);
|
||||
static void upd_ship(struct shpstr *, int, struct natstr *, struct bp *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue