#include <sys/file.h>
#include <sys/types.h>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <string>
#include <vector>
#include "gb/config.h"
#include "gb/files.h"
#include "gb/tweakables.h"
#include "gb/gameobj.h"
Go to the source code of this file.
◆ clrbit
| #define clrbit |
( |
|
a, |
|
|
|
i |
|
) |
| ((a)[(i) / 32] &= ~((i) < 32 ? 1 << (i) : 1 << ((i)-32))) |
◆ Crystals
◆ Destruct
◆ Fuel
◆ HUGESTRLEN
◆ isclr
| #define isclr |
( |
|
a, |
|
|
|
i |
|
) |
| (!isset((a), (i))) |
◆ isset
| #define isset |
( |
|
a, |
|
|
|
i |
|
) |
| ((a)[(i) / 32] & ((i) < 32 ? 1 << (i) : 1 << ((i)-32))) |
◆ M_CRYSTALS
◆ M_DESTRUCT
◆ M_FUEL
◆ M_RESOURCES
◆ MAXPLAYERS
◆ MAXSTRLEN
◆ Resources
◆ setbit
| #define setbit |
( |
|
a, |
|
|
|
i |
|
) |
| ((a)[(i) / 32] |= ((i) < 32 ? 1 << (i) : 1 << ((i)-32))) |
◆ command_t
◆ commodnum_t
◆ commodtype
◆ governor_t
◆ hugestr
◆ money_t
◆ planetnum_t
◆ planettype
◆ player_t
◆ population_t
◆ resource_t
◆ shipnum_t
◆ starnum_t
◆ startype
◆ ScopeLevel
| Enumerator |
|---|
| LEVEL_UNIV | |
| LEVEL_STAR | |
| LEVEL_PLAN | |
| LEVEL_SHIP | |
Definition at line 30 of file vars.h.
◆ avg_mob
◆ Claims
◆ Compat
◆ ground_assaults
◆ inhabited
◆ MAX_ROUTES
| constexpr int MAX_ROUTES = 4 |
◆ newslength
| unsigned long newslength[4] |
◆ Nuked
◆ Num_commods
| unsigned long Num_commods |
◆ Num_races
◆ Planet_count
◆ planets
◆ prod_crystals
◆ prod_destruct
◆ prod_eff
◆ prod_fuel
◆ prod_mob
◆ prod_money
◆ prod_res
◆ Sdata
◆ Sdatanumships
◆ Sdatapopns
◆ sects_gained
◆ sects_lost
◆ segments
◆ starnumships
◆ starpopns
◆ Stars
◆ StarsExpl
◆ StarsInhab
◆ tot_captured
| unsigned long tot_captured |
◆ tot_resdep