Skip to content

Commit

Permalink
bug fixes and tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
efroemling committed Jan 12, 2025
1 parent 2190568 commit 82ae193
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 29 deletions.
40 changes: 20 additions & 20 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 22178, api 9, 2025-01-11)
### 1.7.37 (build 22180, api 9, 2025-01-11)
- 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 = 22178
TARGET_BALLISTICA_BUILD = 22180
TARGET_BALLISTICA_VERSION = '1.7.37'


Expand Down
5 changes: 3 additions & 2 deletions src/assets/ba_data/python/bauiv1lib/coop/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
self._width = 1520 if uiscale is bui.UIScale.SMALL else 1120
self._x_inset = x_inset = 200 if uiscale is bui.UIScale.SMALL else 0
self._height = (
600
585
if uiscale is bui.UIScale.SMALL
else 730 if uiscale is bui.UIScale.MEDIUM else 800
)
Expand Down Expand Up @@ -114,7 +114,7 @@ def __init__(
else (0, 0) if uiscale is bui.UIScale.MEDIUM else (0, 0)
),
scale=(
1.28
1.31
if uiscale is bui.UIScale.SMALL
else 0.8 if uiscale is bui.UIScale.MEDIUM else 0.75
),
Expand Down Expand Up @@ -271,6 +271,7 @@ def __init__(
simple_culling_v=10.0,
claims_left_right=True,
selection_loops_to_parent=True,
border_opacity=0.3 if uiscale is bui.UIScale.SMALL else 1.0,
)
self._subcontainer: bui.Widget | None = None

Expand Down
3 changes: 2 additions & 1 deletion src/assets/ba_data/python/bauiv1lib/playlist/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(
else 'menu_full'
),
scale=(
1.83
1.85
if uiscale is bui.UIScale.SMALL
else 1.05 if uiscale is bui.UIScale.MEDIUM else 0.9
),
Expand Down Expand Up @@ -144,6 +144,7 @@ def __init__(
(self._width - self._scroll_width) * 0.5,
65 + scroll_offs,
),
border_opacity=0.4 if uiscale is bui.UIScale.SMALL else 1.0,
)
bui.containerwidget(edit=self._scrollwidget, claims_left_right=True)
self._subcontainer: bui.Widget | None = None
Expand Down
6 changes: 3 additions & 3 deletions src/ballistica/classic/support/classic_app_mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ class ClassicAppMode : public base::AppMode {
int public_party_max_size_{8};
int public_party_player_count_{0};
int public_party_max_player_count_{8};
int root_ui_tickets_meter_value_;
int root_ui_tokens_meter_value_;
int root_ui_league_rank_value_;
int root_ui_tickets_meter_value_{-1};
int root_ui_tokens_meter_value_{-1};
int root_ui_league_rank_value_{-1};
float debug_speed_mult_{1.0f};
float replay_speed_mult_{1.0f};
std::set<std::string> admin_public_ids_;
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 = 22178;
const int kEngineBuildNumber = 22180;
const char* kEngineVersion = "1.7.37";
const int kEngineApiVersion = 9;

Expand Down

0 comments on commit 82ae193

Please sign in to comment.