Diplomacy scenes#
Scenes related to managing relationships, alliances, and faction information between noble houses.
0x09 — Faction stats#
Summary. A dialog showing the military and economic statistics of a selected faction: army strength, gold, prosperity, and standing. Primarily an informational overlay accessed from the campaign toolbar.
Entry. Exit dispatcher routes mode 0x09 to
lotr2_game_ui_draw_faction_stats_dialog.
| Symbol | Address | Role |
|---|---|---|
lotr2_game_ui_draw_faction_stats_dialog |
(pass 37) | Faction stats dialog draw |
Evidence. src/LORDS2.EXE.c line 19387 — exit dispatcher case '\t'
(0x09); architecture ../architecture/game/MODULE.md
(Castle interior / gateway UI pass 37).
Confidence. likely — handler name recovered; stat layout not yet traced.
0x0b — Diplomacy faction dialog#
Summary. The primary diplomacy screen for a selected enemy or neutral faction. The player chooses a diplomatic action (alliance proposal, tribute, declare war, etc.). Entered when the player opens a faction's diplomacy menu from the campaign map.
Entry. lotr2_game_action_enter_diplomacy_faction_dialog (0x43db3d)
sets mode 0x0b; this also advances turn phase to 5.
Exit. Action confirm or cancel; returns to campaign map.
| Symbol | Address | Role |
|---|---|---|
lotr2_game_ui_draw_diplomacy_faction_dialog |
(pass 37) | Diplomacy faction dialog draw |
lotr2_game_action_enter_diplomacy_faction_dialog |
0x43db3d | Enter mode 0x0b; turn phase 5 |
lotr2_game_diplomacy_tick_player |
0x451511 | Per-player diplomacy tick at end of turn |
lotr2_game_ai_process_diplomacy_queue |
0x4b86e5 | Drain per-player diplomacy action queue |
Evidence. src/LORDS2.EXE.c line 19390 — exit dispatcher case '\v'
(0x0b); lotr2_game_action_enter_diplomacy_faction_dialog address from
architecture MODULE.
Confidence. likely — entry function and mode confirmed; dialog row encoding not fully mapped.
0x18 — Diplomacy minimap#
Summary. A minimap overlay showing faction territory ownership in colour, used during diplomacy or as a strategic overview. Provides context for diplomatic decisions by showing relative faction strengths geographically.
Entry. Exit dispatcher routes mode 0x18 to
lotr2_game_ui_draw_diplomacy_minimap_panel; also entered via
lotr2_game_ui_exit_build_submode which can restore to mode 0x18.
| Symbol | Address | Role |
|---|---|---|
lotr2_game_ui_draw_diplomacy_minimap_panel |
0x422acd | Diplomacy minimap overlay draw |
lotr2_game_refresh_minimap_overlay_colors |
0x45a173 | Update minimap overlay indices before pixel paint |
Evidence. src/LORDS2.EXE.c line 19413–19414 — exit dispatcher case
'\x18'; architecture ../architecture/game/MODULE.md
(Castle interior / gateway UI pass 37; province development pass 44).
Confidence. likely — handler named and minimap colour refresh confirmed.
0x1a — Diplomacy text subdialog#
Summary. A text-input sub-mode used during diplomacy to enter a message
or proposal text (e.g. treaty wording, tribute amount, alliance terms). Up to
six sub-mode variants exist, dispatched by lotr2_game_wizard_step or an
equivalent sub-step index.
Entry. lotr2_game_action_enter_diplomacy_text_mode_1 through _6
(addresses 0x43dbad–0x43dd40) set mode 0x1a with a sub-step value.
Turn actions dispatch to these from the diplomacy faction dialog.
Exit. Text submit via lotr2_game_action_apply_diplomacy_text_submit
(0x43de2a); SP queues result locally, MP sends opcodes 0x48/0x49.
Returns to diplomacy faction dialog or campaign map.
| Symbol | Address | Role |
|---|---|---|
lotr2_game_ui_draw_diplomacy_subdialog_router |
(pass 38) | Route to active subdialog variant |
lotr2_game_action_enter_diplomacy_text_mode_1 … _6 |
0x43dbad–0x43dd40 | Enter text input sub-modes |
lotr2_game_action_apply_diplomacy_text_submit |
0x43de2a | Submit; SP or MP 0x48/0x49 |
Evidence. src/LORDS2.EXE.c line 19408 — exit dispatcher case '\x1a';
architecture ../architecture/game/MODULE.md
(Wizard + turn actions pass 38).
Confidence. likely — entry chain confirmed; subdialog variant layout not fully traced.
0x20 — Great-noble screen#
Summary. A full-panel character screen for the player's noble lord (or a selected opponent's noble). Shows portrait, title, personal stats, and possibly court or allegiance information.
Entry. Exit dispatcher routes mode 0x20 to
lotr2_game_ui_enter_great_noble_screen; mode 0x20 = ASCII space (' ').
| Symbol | Address | Role |
|---|---|---|
lotr2_game_ui_enter_great_noble_screen |
(pass 37) | Great-noble character screen enter/draw |
Evidence. src/LORDS2.EXE.c line 19381 — exit dispatcher case ' '
(0x20); architecture ../architecture/game/MODULE.md
(Castle interior / gateway UI pass 37).
Confidence. likely — handler name recovered; screen layout not yet traced.
Evidence sources#
../architecture/game/MODULE.md— passes 27, 31d, 37, 38src/LORDS2.EXE.clines 19322–19442 — exit/init dispatcher