added ground object templates :

- iads-power
- iads-controlcenter
- iads-ewr
- iads-commnode
This commit is contained in:
David Pierron
2020-10-28 08:09:51 +01:00
parent 14a3279b2c
commit ca5204634a
9 changed files with 17 additions and 1 deletions

12
.vscode/launch.json vendored
View File

@@ -4,6 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Main",
"type": "python",
@@ -15,6 +16,17 @@
},
"preLaunchTask": "Prepare Environment"
},
{
"name": "Python: build ground objects templates",
"type": "python",
"request": "launch",
"program": "resources\\tools\\generate_groundobject_templates.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": ".;./pydcs"
},
"preLaunchTask": "Prepare Environment"
},
{
"name": "Python: Make Release",
"type": "python",

View File

@@ -1,7 +1,7 @@
import inspect
import dcs
DEFAULT_AVAILABLE_BUILDINGS = ['fuel', 'ammo', 'comms', 'oil', 'ware', 'farp', 'fob', 'power', 'factory', 'derrick', 'aa']
DEFAULT_AVAILABLE_BUILDINGS = ['fuel', 'ammo', 'comms', 'oil', 'ware', 'farp', 'fob', 'power', 'factory', 'derrick', 'aa', 'iads-controlcenter', 'iads-ewr', 'iads-commnode', 'iads-power']
WW2_GERMANY_BUILDINGS = ['fuel', 'factory', 'ww2bunker', 'ww2bunker', 'ww2bunker', 'allycamp', 'allycamp', 'aa']
WW2_ALLIES_BUILDINGS = ['fuel', 'factory', 'allycamp', 'allycamp', 'allycamp', 'allycamp', 'allycamp', 'aa']

View File

@@ -109,6 +109,10 @@ def load_icons():
ICONS["ship"] = QPixmap("./resources/ui/ground_assets/ship.png")
ICONS["ship_blue"] = QPixmap("./resources/ui/ground_assets/ship_blue.png")
ICONS["iads-controlcenter"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/iads-controlcenter.png")
ICONS["iads-commnode"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/iads-commnode.png")
ICONS["iads-ewr"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/iads-ewr.png")
ICONS["iads-power"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/iads-power.png")
ICONS["Generator"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/generator.png")
ICONS["Missile"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/missile.png")
ICONS["Cheat"] = QPixmap("./resources/ui/misc/"+get_theme_icons()+"/cheat.png")

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 891 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B