Skip to content

Commit

Permalink
fixes #4723: increase capacity of design, build and research screens …
Browse files Browse the repository at this point in the history
…for EB mod (amends #4677)

as requested by MIH-XTC a.k.a. Calculus:
- design screen can now display 512 components (previously 128)
- build screen can now display 512 structures (previously 200)
- research screen can now display 600 topics (previously 200)
  • Loading branch information
Forgon2100 committed Jan 28, 2018
1 parent e2a4e25 commit cef6b6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/design.cpp
Expand Up @@ -69,7 +69,7 @@


#define MAX_DESIGN_COMPONENTS 40 // Max number of stats the design screen can cope with.
#define MAX_SYSTEM_COMPONENTS 128
#define MAX_SYSTEM_COMPONENTS 512 // bumped from 128 for EB mod


/***************************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions src/hci.h
Expand Up @@ -219,8 +219,8 @@ enum // Reticule button indecies.
#define STAT_POWERBARY (OBJ_BUTHEIGHT-STAT_PROGBARHEIGHT-6)

/* maximum array sizes */
#define MAXSTRUCTURES 200 //bumped up from 80. NOTE: was used for max # in build menus.
#define MAXRESEARCH 200 //was 80 topic displayed " "
#define MAXSTRUCTURES 512 // bumped from 200 for EB mod
#define MAXRESEARCH 600 // bumped for 545 research topics of EB mod
#define MAXFEATURES 80
#define MAXCOMPONENT 200
#define MAXEXTRASYS 80
Expand Down

0 comments on commit cef6b6a

Please sign in to comment.