Skip to content

Commit

Permalink
Sync with 4.13.4 game version
Browse files Browse the repository at this point in the history
  • Loading branch information
o3bvv committed May 9, 2017
1 parent e0c120f commit 91025a7
Show file tree
Hide file tree
Showing 8 changed files with 194 additions and 164 deletions.
2 changes: 1 addition & 1 deletion il2fb/config/difficulty/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from collections import OrderedDict

from .constants import SETTINGS, FLAT_SETTINGS, RULE_TYPES, RULES, PRESETS
from .constants import SETTINGS, FLAT_SETTINGS, RULE_TYPES, RULES
from .exceptions import LockedParameterException
from .utils.bitwise import is_bit_set, toggle_bit
from .utils.transforms import flatten_dict
Expand Down
12 changes: 12 additions & 0 deletions il2fb/config/difficulty/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,17 @@ class PARAMETERS(Values):
verbose_name=_("Realistic bombing"),
help_text=_("Use realistic bombsight inputs"),
)
#: Introduced in v4.13.4
USE_24BIT_SKINS = VerboseValueConstant(
value='Use24bitSkins',
verbose_name=_("Allow custom TrueColor (24-bit) skins"),
help_text=_(
"Allow players to use custom TrueColor skins, which support "
"16'777'216 (24 bit) colors instead of 256 (8 bit). "
"Not recommended for usage in online mode, as it can introduce "
"performance issues and can cause game crashes."
),
)


class TABS(Constants):
Expand Down Expand Up @@ -287,6 +298,7 @@ class TABS(Constants):
(PARAMETERS.HEAD_SHAKE, 10),
(PARAMETERS.WIND_N_TURBULENCE, 0),
(PARAMETERS.CLOUDS, 17),
(PARAMETERS.USE_24BIT_SKINS, 43),
])),
])

Expand Down
Binary file not shown.
Loading

0 comments on commit 91025a7

Please sign in to comment.