Difference between revisions of "UI"
From BotF2-Wiki
(→F1) |
(→Important Code Files) |
||
Line 79: | Line 79: | ||
* SupremacyCore\Game\CivilizationManager.cs ... handling Empires and other Civilizations | * SupremacyCore\Game\CivilizationManager.cs ... handling Empires and other Civilizations | ||
− | + | === Sector === | |
** contains a System, Nebulas are also a System | ** contains a System, Nebulas are also a System | ||
** a system might contain a Colony (which is a inhabitanted system) | ** a system might contain a Colony (which is a inhabitanted system) | ||
Line 85: | Line 85: | ||
* Colony.cs ... doing stuff for a single Colony | * Colony.cs ... doing stuff for a single Colony | ||
+ | |||
+ | === Civilization === | ||
+ | |||
+ | * CivilizationManager.cs > contains the civilizations (current credits and more) | ||
+ | * Civilization.cs > only stuff from Civilization.xaml like Name |
Revision as of 13:00, 11 July 2020
Contents
Intro
some words to UI....
- starting a game starts every of the five screens at the same time ! (Map/System/...)
- inside the screens it is mostly jumping to the last selected tab (e.g. System: Production or Shipbuilding)
- these complete screens are done by different parts:
- left top: Template like SystemInfo
- left bottom: Template like BuildQueue
- right: ProductionScreen
- right bottom: Planets...
- these complete screens are done by different parts:
Borg
- LCARS_GreenTextBrush
- DarkGreen
F1
- Expander EmpireInfo > EmpireInfoView.xaml
F2
F3
- NewDiplomacyScreen.xaml + NewDiplomacyScreen.xaml.cs
- DiplomacyScreenViewModel.cs
- DiplomatAI.cs
- ForeignPowerViewModel.cs
- DiplomacyMessageViewModel.cs and more
F4
F5
- AssetsScreen.xaml + AssetsScreen.xaml.cs
- TAB: Colonies -> a) Headline directly in AssetsScreen.xaml
- TAB: Colonies -> b) ColonyList ="{Binding Path=Colonies} -> SystemListItem.xaml (+.cs)
-
- TAB: SpyReport -> b)
- AssetScreenViewModel.cs
F11
- File:CheatMenu.xaml + File:CheatMenu.xaml.cs
CTRL+O
File:ClientOptionsDialog.xaml
- File:ClientOptionsDialog.xaml
File:TracesOptionsPage.xaml
- File:TracesOptionsPage.xaml + File:TracesOptionsPage.xaml.cs
GameOptionsPanel
at Starting
- GameOptionsPanel.xaml + GameOptionsPanel.xaml.cs
Important Code Files
- ClientModule.cs ... starts the App and 'ends' at StartScreen..
- ClientOptions ... like Music Volume
- GameEngine.cs ... start for example a SinglePlayerGame or MultiPlayerGame
- Do....
- GameOptions like GalaxySize
- SupremacyCore\Game\CivilizationManager.cs ... handling Empires and other Civilizations
Sector
- contains a System, Nebulas are also a System
- a system might contain a Colony (which is a inhabitanted system)
- a colony might have Planets (and them moons)
- Colony.cs ... doing stuff for a single Colony
Civilization
- CivilizationManager.cs > contains the civilizations (current credits and more)
- Civilization.cs > only stuff from Civilization.xaml like Name