2020-09-07 10:36:44 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-06-30 14:34:44 -07:00
|
|
|
|
|
|
|
|
<objects>
|
|
|
|
|
|
2017-11-27 08:29:23 -08:00
|
|
|
<script directory="gui/common/"/>
|
2021-03-02 07:43:44 -08:00
|
|
|
<script directory="gui/common/campaigns/"/>
|
2020-12-27 07:26:19 -08:00
|
|
|
<script directory="gui/maps/"/>
|
2014-06-11 10:14:35 -07:00
|
|
|
<script directory="gui/session/"/>
|
2021-03-02 07:43:44 -08:00
|
|
|
<script directory="gui/session/campaigns/"/>
|
2019-10-06 07:42:12 -07:00
|
|
|
<script directory="gui/session/chat/"/>
|
2026-01-04 06:22:19 -08:00
|
|
|
<script directory="gui/session/cinema/"/>
|
2019-10-18 17:26:34 -07:00
|
|
|
<script directory="gui/session/developer_overlay/"/>
|
2019-10-11 05:28:12 -07:00
|
|
|
<script directory="gui/session/diplomacy/"/>
|
|
|
|
|
<script directory="gui/session/diplomacy/playercontrols/"/>
|
2019-10-21 08:00:59 -07:00
|
|
|
<script directory="gui/session/lobby/"/>
|
|
|
|
|
<script directory="gui/session/lobby/LobbyRatingReport/"/>
|
2025-04-22 03:41:46 -07:00
|
|
|
<script directory="gui/session/match_settings/"/>
|
2019-10-30 04:14:55 -07:00
|
|
|
<script directory="gui/session/message_box/"/>
|
2019-10-11 05:28:12 -07:00
|
|
|
<script directory="gui/session/minimap/"/>
|
|
|
|
|
<script directory="gui/session/top_panel/"/>
|
Implement session event subscription system and rewrite TopPanel, PlayerViewControl, GameSpeed, Pausing, ObjectivesDialog to use object orientation, refs #5387.
New controller classes: PlayerViewControl, PauseControl,
GameSpeedControl
New viewer classes: ObjectivesDialog, PauseOverlay, FollowPlayer,
TopPanel (BuildLabel, CivIcon, CounterManager, CounterPopulation,
CounterResource refs 7e14a33411/D1113, GameSpeedButton,
ObjectivesDialogButton)
New events: SimulationUpdate, EntitySelectionChange, ViewedPlayerChange,
PreViewedPlayerChangeHandler, PlayerIDChange, PlayersInit,
PlayersFinished, Pause, DiplomacyColorsChange, HotkeyChange, refs #2604
Improves GUI onSimuationUpdate performance without selected entities by
allegedly 30%.
Delete misleading dead code resign command from leaveGame and rename to
endGame. The command is not sent via network (see fa85527baf) nor
processed in simulation, because the Game instance is deleted
immediately thereafter, introduced in fcedcae052, refs a3e1c68b9a,
39ffb0a6bd, 9f796068f8.
Remove explicitResume 0 value from e57c99c6f6 and 8ae67ed15f which
should have been a false if defined, and is equivalent to the default.
Restore fast forwarding option from cd571035bb/D595 for developers
changing the perspective to observer or player following 56308ec1ad.
Add pausing for the delete dialog missing following 7a7ebaa983.
Differential Revision: https://code.wildfiregames.com/D2378
This was SVN commit r23076.
2019-10-17 08:08:56 -07:00
|
|
|
<script directory="gui/session/top_panel/IconButtons/"/>
|
2019-10-12 20:43:42 -07:00
|
|
|
<script directory="gui/session/trade/"/>
|
2026-02-24 07:07:05 -08:00
|
|
|
<script directory="gui/session/tutorial/"/>
|
2026-03-09 10:42:43 -07:00
|
|
|
<script directory="gui/session/tutorial/panels/"/>
|
2014-03-05 18:24:06 -08:00
|
|
|
|
2018-04-23 02:33:03 -07:00
|
|
|
<object name="session">
|
2017-06-29 17:04:29 -07:00
|
|
|
|
2012-06-09 19:05:40 -07:00
|
|
|
<action on="Tick">
|
2014-03-05 18:24:06 -08:00
|
|
|
onTick();
|
2012-06-09 19:05:40 -07:00
|
|
|
</action>
|
|
|
|
|
|
2019-09-17 17:17:56 -07:00
|
|
|
<action on="SavegameLoaded">
|
|
|
|
|
restoreSavedGameData(arguments[0]);
|
|
|
|
|
</action>
|
|
|
|
|
|
2026-01-04 06:22:19 -08:00
|
|
|
<object name="primaryOverlays">
|
|
|
|
|
<!-- Chat messages -->
|
|
|
|
|
<object name="chatPanel" size="3 131 100% 100%-240" z="0" absolute="true">
|
|
|
|
|
<object name="chatLines">
|
|
|
|
|
<repeat count="20">
|
|
|
|
|
<object name="chatLine[n]" type="button" style="chatPanelOverlay" tooltip_style="sessionToolTipBottomBold" ghost="true" hidden="true"/>
|
|
|
|
|
</repeat>
|
|
|
|
|
</object>
|
2021-01-12 11:13:16 -08:00
|
|
|
</object>
|
2010-09-23 05:13:13 -07:00
|
|
|
|
2026-01-04 06:22:19 -08:00
|
|
|
<include directory="gui/session/chat/"/>
|
|
|
|
|
<include directory="gui/session/developer_overlay/"/>
|
|
|
|
|
<include directory="gui/session/dialogs/"/>
|
|
|
|
|
<include directory="gui/session/diplomacy/"/>
|
|
|
|
|
<include directory="gui/session/match_settings/"/>
|
|
|
|
|
<include file="gui/session/GameSpeedControl.xml"/>
|
|
|
|
|
<include file="gui/session/PanelEntities.xml"/>
|
|
|
|
|
<include file="gui/session/ResearchProgress.xml"/>
|
|
|
|
|
<include file="gui/session/TimeNotificationOverlay.xml"/>
|
|
|
|
|
<include file="gui/session/TopPanel.xml"/>
|
|
|
|
|
<include file="gui/session/trade/TradeDialog.xml"/>
|
2026-02-24 07:07:05 -08:00
|
|
|
<include file="gui/session/tutorial/Tutorial.xml"/>
|
2026-01-04 06:22:19 -08:00
|
|
|
<include file="gui/session/Menu.xml"/>
|
|
|
|
|
|
|
|
|
|
<!-- Contains miscellanious objects s.a.: the technology research -->
|
|
|
|
|
<!-- progress, group selection icons, and the hero selection icon -->
|
|
|
|
|
<include directory="gui/session/session_objects/"/>
|
|
|
|
|
|
|
|
|
|
<!-- Information tooltip -->
|
|
|
|
|
<!-- Follows the mouse around if 'independent' is set to 'true'. -->
|
|
|
|
|
<object name="informationTooltip" type="tooltip" independent="true" style="informationTooltip"/>
|
|
|
|
|
|
|
|
|
|
<!-- Structure placement info tooltip -->
|
|
|
|
|
<object name="placementTooltip" type="tooltip" independent="true" style="informationTooltip"/>
|
|
|
|
|
|
|
|
|
|
<!-- START of BOTTOM PANEL -->
|
|
|
|
|
<!-- Limit to the minimal supported width of 1024 pixels. -->
|
|
|
|
|
<object size="50%-512 0 50%+512 100%">
|
|
|
|
|
|
|
|
|
|
<object size="50%-512 100%-204 50%-312 100%">
|
|
|
|
|
<include file="gui/session/minimap/MiniMap.xml"/>
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
|
|
<!-- Supplemental Details Panel (left). -->
|
|
|
|
|
<object name="supplementalSelectionDetails"
|
|
|
|
|
size="50%-316 100%-166 50%-110 100%"
|
|
|
|
|
sprite="supplementalDetailsPanel"
|
|
|
|
|
type="image"
|
|
|
|
|
z="20"
|
|
|
|
|
>
|
|
|
|
|
<include directory="gui/session/selection_panels_left/"/>
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
|
|
<!-- Selection Details Panel (middle). -->
|
|
|
|
|
<object name="selectionDetails"
|
|
|
|
|
size="50%-114 100%-204 50%+114 100%"
|
|
|
|
|
sprite="selectionDetailsPanel"
|
|
|
|
|
type="image"
|
|
|
|
|
>
|
|
|
|
|
<include directory="gui/session/selection_panels_middle/"/>
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
|
|
<!-- Commands Panel (right). -->
|
|
|
|
|
<object name="unitCommands"
|
2025-09-24 07:52:59 -07:00
|
|
|
size="50%+110 100%-173 50%+512 100%"
|
2026-01-04 06:22:19 -08:00
|
|
|
sprite="unitCommandsPanel"
|
|
|
|
|
type="image"
|
|
|
|
|
z="20"
|
|
|
|
|
>
|
|
|
|
|
<include directory="gui/session/selection_panels_right/"/>
|
|
|
|
|
</object>
|
|
|
|
|
</object><!-- END OF BOTTOM PANEL -->
|
|
|
|
|
</object><!-- END OF PRIMARY OVERLAYS -->
|
|
|
|
|
|
|
|
|
|
<!-- Hotkeys of button objects can only be triggered while the object is neither set hidden nor disabled. -->
|
|
|
|
|
<!-- That is why they are placed outside of menus and overlays. -->
|
|
|
|
|
<!-- And this object can therefore be used to turn on and off all these hotkeys here at once. -->
|
|
|
|
|
<object name="hotkeys">
|
|
|
|
|
<include directory="gui/session/hotkeys/"/>
|
|
|
|
|
</object>
|
2011-09-06 11:15:27 -07:00
|
|
|
|
2026-01-04 06:22:19 -08:00
|
|
|
<!-- Selection bandbox. -->
|
|
|
|
|
<!-- Placed outside the primary overlays, so it can be shown even when all overlays are hidden (e.g. with the hotkey)-->
|
|
|
|
|
<object name="bandbox" type="image" sprite="bandbox" ghost="true" hidden="true" z="200"/>
|
2011-09-06 11:15:27 -07:00
|
|
|
|
2026-01-04 06:22:19 -08:00
|
|
|
<!-- Overlaps with the primary overlays, they're never shown both at once. -->
|
|
|
|
|
<include file="gui/session/cinema/CinemaOverlay.xml"/>
|
2016-08-27 08:33:22 -07:00
|
|
|
|
2026-01-04 06:22:19 -08:00
|
|
|
<!-- Objects that make sense to sometimes still show while the primary overlays are hidden. -->
|
2026-04-02 01:36:31 -07:00
|
|
|
<object name="supplementaryOverlays">
|
2026-01-04 06:22:19 -08:00
|
|
|
<include file="gui/session/NetworkStatusOverlay.xml"/>
|
|
|
|
|
<include file="gui/session/NetworkDelayOverlay.xml"/>
|
|
|
|
|
<include file="gui/session/PauseOverlay.xml"/>
|
|
|
|
|
</object>
|
2016-06-17 08:38:07 -07:00
|
|
|
</object> <!-- END OF SESSION OBJECT -->
|
2010-06-30 14:34:44 -07:00
|
|
|
</objects>
|