Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
efroemling committed Jan 15, 2025
1 parent 9de1789 commit d1aad2b
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 51 deletions.
48 changes: 24 additions & 24 deletions .efrocachemap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 1.7.37 (build 22189, api 9, 2025-01-14)
### 1.7.37 (build 22192, api 9, 2025-01-14)
- Bumping api version to 9. As you'll see below, there's some UI changes that
will require a bit of work for any UI mods to adapt to. If your mods don't
touch UI stuff at all you can simply bump your api version and call it a day.
Expand Down
2 changes: 1 addition & 1 deletion src/assets/ba_data/python/baenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

# Build number and version of the ballistica binary we expect to be
# using.
TARGET_BALLISTICA_BUILD = 22189
TARGET_BALLISTICA_BUILD = 22192
TARGET_BALLISTICA_VERSION = '1.7.37'


Expand Down
50 changes: 26 additions & 24 deletions src/assets/ba_data/python/bauiv1lib/inbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,34 +824,36 @@ def _do_tourney_scores(
),
label_color=(0.5, 0.7, 0.6),
spacing_top=7.0,
spacing_bottom=0.0 if component.prizes else 7.0,
)
total_height += section.get_height()
sections.append(section)

section = _TextSection(
sub_width=sub_width,
text=bui.Lstr(
translate=(
'serverResponses',
'Your prize:',
)
),
spacing_top=6,
color=(1.0, 1.0, 1.0, 0.4),
scale=0.35,
)
total_height += section.get_height()
sections.append(section)

section = _DisplayItemsSection(
sub_width=sub_width,
items=component.prizes,
width=70.0,
spacing_top=0.0,
spacing_bottom=0.0,
)
total_height += section.get_height()
sections.append(section)
if component.prizes:
section = _TextSection(
sub_width=sub_width,
text=bui.Lstr(
translate=(
'serverResponses',
'Your prize:',
)
),
spacing_top=6,
color=(1.0, 1.0, 1.0, 0.4),
scale=0.35,
)
total_height += section.get_height()
sections.append(section)

section = _DisplayItemsSection(
sub_width=sub_width,
items=component.prizes,
width=70.0,
spacing_top=0.0,
spacing_bottom=0.0,
)
total_height += section.get_height()
sections.append(section)

elif ctypeid is idcls.UNKNOWN:
raise RuntimeError('Should not get here.')
Expand Down
2 changes: 1 addition & 1 deletion src/ballistica/shared/ballistica.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ auto main(int argc, char** argv) -> int {
namespace ballistica {

// These are set automatically via script; don't modify them here.
const int kEngineBuildNumber = 22189;
const int kEngineBuildNumber = 22192;
const char* kEngineVersion = "1.7.37";
const int kEngineApiVersion = 9;

Expand Down

0 comments on commit d1aad2b

Please sign in to comment.