Move CHINESE BOBBYR_ITEMS_BOUGHT_X conditional definition to i18n

Just awful
This commit is contained in:
Marco Antonio J. Costa
2024-12-31 16:28:44 -03:00
parent 4b563fefc8
commit ecdc8916f2
4 changed files with 12 additions and 7 deletions
+9
View File
@@ -1,5 +1,8 @@
#include <language.hpp>
#include <BobbyR.h>
#include <laptop.h>
/* FIXME: The ugliest of ugly hacks. Getting rid of this and letting language
* (ideally text and voice separately) be set in the options menu would be
* ideal. */
@@ -31,6 +34,12 @@ const int MAX_MESSAGES_ON_MAP_BOTTOM{
#endif
};
const int BOBBYR_ITEMS_BOUGHT_X{BOBBYR_GRIDLOC_X + 105 - BOBBYR_ORDER_NUM_WIDTH
#ifdef CHINESE
- 10
#endif
};
auto GetLanguagePrefix() -> const STR {
return
#if defined(ENGLISH)