mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Move CHINESE BOBBYR_ITEMS_BOUGHT_X conditional definition to i18n
Just awful
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user