Move general config file to the config folder (#4805)
This commit is contained in:
parent
9538d53f93
commit
4d6452e14e
11 changed files with 15 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
#include "config/battle.h"
|
||||
#include "constants/battle.h"
|
||||
#include "constants/battle_anim.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
#include "config/battle.h"
|
||||
#include "constants/global.h"
|
||||
#include "constants/battle.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
#include "constants/global.h"
|
||||
#include "constants/contest.h"
|
||||
.include "asm/macros.inc"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
#include "config/battle.h"
|
||||
#include "config/item.h"
|
||||
#include "constants/global.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef GUARD_CONFIG_H
|
||||
#define GUARD_CONFIG_H
|
||||
#ifndef GUARD_CONFIG_GENERAL_H
|
||||
#define GUARD_CONFIG_GENERAL_H
|
||||
|
||||
// In the Generation 3 games, Asserts were used in various debug builds.
|
||||
// Ruby/Sapphire and Emerald do not have these asserts while Fire Red
|
||||
|
@ -53,7 +53,7 @@
|
|||
#define POKEMON_EXPANSION
|
||||
#define ITEM_EXPANSION
|
||||
|
||||
// Generation constants used in configs to define behavior
|
||||
// Generation constants used in configs to define behavior.
|
||||
#define GEN_1 0
|
||||
#define GEN_2 1
|
||||
#define GEN_3 2
|
||||
|
@ -63,6 +63,7 @@
|
|||
#define GEN_7 6
|
||||
#define GEN_8 7
|
||||
#define GEN_9 8
|
||||
// Changing GEN_LATEST's value to a different Generation will change every default setting that uses it at once.
|
||||
#define GEN_LATEST GEN_9
|
||||
|
||||
// General settings
|
||||
|
@ -79,4 +80,4 @@
|
|||
#define UNITS UNITS_IMPERIAL
|
||||
#define CHAR_DEC_SEPARATOR CHAR_PERIOD // CHAR_PERIOD is used as a decimal separator only in the UK and the US. The rest of the world uses CHAR_COMMA.
|
||||
|
||||
#endif // GUARD_CONFIG_H
|
||||
#endif // GUARD_CONFIG_GENERAL_H
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef GUARD_CONSTANTS_GLOBAL_H
|
||||
#define GUARD_CONSTANTS_GLOBAL_H
|
||||
|
||||
#include "config/general.h"
|
||||
#include "config/battle.h"
|
||||
#include "config/debug.h"
|
||||
#include "config/item.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include "config.h" // we need to define config before gba headers as print stuff needs the functions nulled before defines.
|
||||
#include "config/general.h" // we need to define config before gba headers as print stuff needs the functions nulled before defines.
|
||||
#include "gba/gba.h"
|
||||
#include "fpmath.h"
|
||||
#include "metaprogram.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include "gba/gba.h"
|
||||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
#include "malloc.h"
|
||||
#include "mini_printf.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#include "constants/layouts.h"
|
||||
#include "constants/region_map_sections.h"
|
||||
#include "constants/weather.h"
|
||||
#include "config/general.h"
|
||||
#include "config/overworld.h"
|
||||
#include "config.h"
|
||||
|
||||
// enums
|
||||
enum MapPopUp_Themes
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "mini_printf.h"
|
||||
#include "gba/types.h"
|
||||
#include "gba/defines.h"
|
||||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
#include "characters.h"
|
||||
#include "string_util.h"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "gba/gba.h"
|
||||
#include "siirtc.h"
|
||||
#include "config.h"
|
||||
#include "config/general.h"
|
||||
|
||||
#define STATUS_INTFE 0x02 // frequency interrupt enable
|
||||
#define STATUS_INTME 0x08 // per-minute interrupt enable
|
||||
|
|
Loading…
Reference in a new issue