Skip to content

Commit 810f0e4

Browse files
committed
rename(Event): fix remaining BML_Event references to BML_GameEvent
- Source comments: EventMod.cpp, bml_game_topics.h - mod.toml dependencies: BML_Gameplay, BML_Scripting, BML_InputRecorder now depend on com.bml.gameevent instead of stale com.bml.event
1 parent 95f16ac commit 810f0e4

11 files changed

Lines changed: 14 additions & 14 deletions

File tree

cmake/CheckMigration.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set(required_modules
1212
BML_Render
1313
BML_Physics
1414
BML_ObjectLoad
15-
BML_Event
15+
BML_GameEvent
1616
BML_Gameplay
1717
BML_NewBallType
1818
)

modules/BML_GameEvent/include/bml_game_topics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define BML_GAME_TOPICS_H
33

44
/*
5-
* Canonical first-party gameplay topic strings published by BML_Event.
5+
* Canonical first-party gameplay topic strings published by BML_GameEvent.
66
* Keep these in public headers so modules do not hardcode topic literals.
77
*/
88

modules/BML_GameEvent/src/EventMod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static bool IsScriptBehavior(CKObject *object) {
262262
} // anonymous namespace
263263

264264
// ---------------------------------------------------------------------------
265-
// BML_Event namespace -- script registration functions
265+
// BML_GameEvent namespace -- script registration functions
266266
// ---------------------------------------------------------------------------
267267

268268
namespace BML_GameEvent {

modules/BML_Gameplay/mod.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ entry = "BML_Gameplay.dll"
99
[dependencies]
1010
"com.bml.ui" = ">=0.4.0"
1111
"com.bml.objectload" = ">=0.4.0"
12-
"com.bml.event" = ">=0.4.0"
12+
"com.bml.gameevent" = ">=0.4.0"

modules/BML_InputRecorder/mod.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ entry = "BML_InputRecorder.dll"
99
[dependencies]
1010
"com.bml.input" = ">=0.4.0"
1111
"com.bml.console" = ">=0.4.0"
12-
"com.bml.event" = ">=0.4.0"
12+
"com.bml.gameevent" = ">=0.4.0"

modules/BML_Scripting/mod.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ entry = "BML_Scripting.dll"
99
[dependencies]
1010
"com.bml.console" = ">=0.4.0"
1111
"com.bml.input" = ">=0.4.0"
12-
"com.bml.event" = ">=0.4.0"
12+
"com.bml.gameevent" = ">=0.4.0"

tools/analyze_builtin_modules.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ $BuiltinModules = @(
8181
[ordered]@{ Name = "BML_Render"; Id = "com.bml.render"; Dependencies = @() },
8282
[ordered]@{ Name = "BML_Physics"; Id = "com.bml.physics"; Dependencies = @() },
8383
[ordered]@{ Name = "BML_ObjectLoad"; Id = "com.bml.objectload"; Dependencies = @() },
84-
[ordered]@{ Name = "BML_Event"; Id = "com.bml.event"; Dependencies = @("BML_ObjectLoad") },
84+
[ordered]@{ Name = "BML_GameEvent"; Id = "com.bml.gameevent"; Dependencies = @("BML_ObjectLoad") },
8585
[ordered]@{ Name = "BML_Console"; Id = "com.bml.console"; Dependencies = @("BML_UI", "BML_Input") },
86-
[ordered]@{ Name = "BML_HUD"; Id = "com.bml.hud"; Dependencies = @("BML_UI", "BML_Input", "BML_Console", "BML_Event") },
86+
[ordered]@{ Name = "BML_HUD"; Id = "com.bml.hud"; Dependencies = @("BML_UI", "BML_Input", "BML_Console", "BML_GameEvent") },
8787
[ordered]@{ Name = "BML_ModMenu"; Id = "com.bml.modmenu"; Dependencies = @("BML_UI", "BML_Input") },
8888
[ordered]@{ Name = "BML_MapMenu"; Id = "com.bml.mapmenu"; Dependencies = @("BML_UI", "BML_Input", "BML_Console", "BML_ObjectLoad") }
8989
)
@@ -504,7 +504,7 @@ function Get-ProbeAssessment {
504504
"com.bml.objectload" {
505505
if ($ProbeReport.counts.objectload_script -gt 0) { $Result.signals += "objectload_script_events" } else { $Result.missing += "objectload_script_events" }
506506
}
507-
"com.bml.event" {
507+
"com.bml.gameevent" {
508508
if ($ProbeReport.counts.menu_post_start -gt 0) { $Result.signals += "menu_post_start_event" } else { $Result.missing += "menu_post_start_event" }
509509
}
510510
"com.bml.console" {

tools/debug_hud_realdeploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ param(
22
[string]$GameDir = "C:\Users\kakut\Games\Ballance",
33
[string]$Config = "Release",
44
[int]$RuntimeSeconds = 18,
5-
[string[]]$Modules = @("BML_UI", "BML_Input", "BML_Console", "BML_ObjectLoad", "BML_Event", "BML_HUD"),
5+
[string[]]$Modules = @("BML_UI", "BML_Input", "BML_Console", "BML_ObjectLoad", "BML_GameEvent", "BML_HUD"),
66
[switch]$BuildFirst,
77
[string[]]$BuildTargets = @(),
88
[switch]$PreserveDeployment,

tools/loader_smoke.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $GameBml = Join-Path $GameDir "Bin\BML.dll"
1515
$BuiltBml = Join-Path $BuildRoot ("bin\" + $BuildConfig + "\BML.dll")
1616
$BuiltModsRoot = Join-Path $BuildRoot "Mods"
1717

18-
$BaseModules = @("BML_UI", "BML_Input", "BML_Console", "BML_ObjectLoad", "BML_Event")
18+
$BaseModules = @("BML_UI", "BML_Input", "BML_Console", "BML_ObjectLoad", "BML_GameEvent")
1919
$CaseMap = @{
2020
"base5" = $BaseModules
2121
"base5_hud" = $BaseModules + @("BML_HUD")
@@ -28,7 +28,7 @@ $CaseMap = @{
2828
"BML_Input",
2929
"BML_Console",
3030
"BML_ObjectLoad",
31-
"BML_Event",
31+
"BML_GameEvent",
3232
"BML_HUD",
3333
"BML_ModMenu",
3434
"BML_MapMenu",

tools/package_sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def package_sdk(
9090
# 2. Module public headers
9191
modules_with_api = [
9292
"BML_Input", "BML_UI", "BML_Console", "BML_Menu",
93-
"BML_NewBallType", "BML_Event",
93+
"BML_NewBallType", "BML_GameEvent",
9494
]
9595
for mod_name in modules_with_api:
9696
mod_inc = repo_root / "modules" / mod_name / "include"

0 commit comments

Comments
 (0)