mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
added ground object templates :
- iads-power - iads-controlcenter - iads-ewr - iads-commnode
This commit is contained in:
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@@ -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",
|
||||
|
||||
@@ -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']
|
||||
|
||||
@@ -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.
BIN
resources/ui/misc/light/iads-commnode.png
Normal file
BIN
resources/ui/misc/light/iads-commnode.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 938 B |
BIN
resources/ui/misc/light/iads-controlcenter.png
Normal file
BIN
resources/ui/misc/light/iads-controlcenter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 891 B |
BIN
resources/ui/misc/light/iads-ewr.png
Normal file
BIN
resources/ui/misc/light/iads-ewr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 923 B |
BIN
resources/ui/misc/light/iads-power.png
Normal file
BIN
resources/ui/misc/light/iads-power.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1000 B |
Reference in New Issue
Block a user