diff options
author | hop311 <hop3114@gmail.com> | 2023-12-12 21:43:34 +0100 |
---|---|---|
committer | Hop311 <Hop3114@gmail.com> | 2023-12-18 22:27:24 +0100 |
commit | 5ecbade59609265901caf55266af217e309e2d24 (patch) | |
tree | 0c336e402341a141e58206c458c617d2c1e36727 /game | |
parent | e35b9ed5d753a6690e720d5403953f89d8f1faad (diff) |
New pop history loading + bookmark selection by index
Diffstat (limited to 'game')
-rw-r--r-- | game/localisation/en_GB/mapmodes.csv | 2 | ||||
-rw-r--r-- | game/src/Game/GameSession/GameSession.gd | 2 | ||||
-rw-r--r-- | game/src/Game/GameSession/MapView.gd | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/game/localisation/en_GB/mapmodes.csv b/game/localisation/en_GB/mapmodes.csv index 0372192..f3e6417 100644 --- a/game/localisation/en_GB/mapmodes.csv +++ b/game/localisation/en_GB/mapmodes.csv @@ -11,3 +11,5 @@ mapmode_infrastructure;Infrastructure mapmode_population;Population Density mapmode_culture;Nationality mapmode_religion;Religion +mapmode_adjacencies;Adjacencies +mapmode_port;Ports diff --git a/game/src/Game/GameSession/GameSession.gd b/game/src/Game/GameSession/GameSession.gd index 2a27e3d..305709c 100644 --- a/game/src/Game/GameSession/GameSession.gd +++ b/game/src/Game/GameSession/GameSession.gd @@ -4,7 +4,7 @@ extends Control func _ready(): Events.Options.load_settings_from_file() - if GameSingleton.setup_game() != OK: + if GameSingleton.setup_game(0) != OK: push_error("Failed to setup game") func _process(_delta : float): diff --git a/game/src/Game/GameSession/MapView.gd b/game/src/Game/GameSession/MapView.gd index 62bdd20..01e5844 100644 --- a/game/src/Game/GameSession/MapView.gd +++ b/game/src/Game/GameSession/MapView.gd @@ -129,6 +129,7 @@ func zoom_out() -> void: func _on_province_selected(index : int) -> void: _map_shader_material.set_shader_parameter(GameLoader.ShaderManager.param_selected_index, index) + print("Province selected with index: ", index) # REQUIREMENTS # * SS-31 |