added install rules for d2k mod, fixes carryall landing

This commit is contained in:
Matthias Mailänder
2012-06-09 22:46:13 +02:00
parent 22e0828566
commit d110b45679
5 changed files with 19 additions and 10 deletions

View File

@@ -202,7 +202,7 @@ BIN_INSTALL_DIR = $(DESTDIR)$(bindir)
INSTALL_DIR = $(DESTDIR)$(datadir)/openra INSTALL_DIR = $(DESTDIR)$(datadir)/openra
INSTALL = install INSTALL = install
INSTALL_PROGRAM = $(INSTALL) INSTALL_PROGRAM = $(INSTALL)
CORE = fileformats rcg rgl rsdl rnull game editor utility CORE = fileformats rcg rgl rsdl rnull game editor utility tsbuild
install: all install: all
@-echo "Installing OpenRA to $(INSTALL_DIR)" @-echo "Installing OpenRA to $(INSTALL_DIR)"
@@ -210,6 +210,10 @@ install: all
@$(INSTALL_PROGRAM) $(foreach prog,$(CORE),$($(prog)_TARGET)) $(INSTALL_DIR) @$(INSTALL_PROGRAM) $(foreach prog,$(CORE),$($(prog)_TARGET)) $(INSTALL_DIR)
@$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/cnc @$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/cnc
@$(INSTALL_PROGRAM) $(mod_cnc_TARGET) $(INSTALL_DIR)/mods/cnc @$(INSTALL_PROGRAM) $(mod_cnc_TARGET) $(INSTALL_DIR)/mods/cnc
@$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/ra
@$(INSTALL_PROGRAM) $(mod_ra_TARGET) $(INSTALL_DIR)/mods/ra
@$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/d2k
@$(INSTALL_PROGRAM) $(mod_d2k_TARGET) $(INSTALL_DIR)/mods/d2k
@-cp $(foreach f,$(shell ls mods/cnc --hide=*.dll),mods/cnc/$(f)) $(INSTALL_DIR)/mods/cnc @-cp $(foreach f,$(shell ls mods/cnc --hide=*.dll),mods/cnc/$(f)) $(INSTALL_DIR)/mods/cnc
@cp -r mods/cnc/maps $(INSTALL_DIR)/mods/cnc @cp -r mods/cnc/maps $(INSTALL_DIR)/mods/cnc
@@ -219,8 +223,6 @@ install: all
@cp -r mods/cnc/sequences $(INSTALL_DIR)/mods/cnc @cp -r mods/cnc/sequences $(INSTALL_DIR)/mods/cnc
@cp -r mods/cnc/tilesets $(INSTALL_DIR)/mods/cnc @cp -r mods/cnc/tilesets $(INSTALL_DIR)/mods/cnc
@cp -r mods/cnc/uibits $(INSTALL_DIR)/mods/cnc @cp -r mods/cnc/uibits $(INSTALL_DIR)/mods/cnc
@$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/ra
@$(INSTALL_PROGRAM) $(mod_ra_TARGET) $(INSTALL_DIR)/mods/ra
@-cp $(foreach f,$(shell ls mods/ra --hide=*.dll),mods/ra/$(f)) $(INSTALL_DIR)/mods/ra @-cp $(foreach f,$(shell ls mods/ra --hide=*.dll),mods/ra/$(f)) $(INSTALL_DIR)/mods/ra
@cp -r mods/ra/maps $(INSTALL_DIR)/mods/ra @cp -r mods/ra/maps $(INSTALL_DIR)/mods/ra
@@ -229,6 +231,14 @@ install: all
@cp -r mods/ra/rules $(INSTALL_DIR)/mods/ra @cp -r mods/ra/rules $(INSTALL_DIR)/mods/ra
@cp -r mods/ra/tilesets $(INSTALL_DIR)/mods/ra @cp -r mods/ra/tilesets $(INSTALL_DIR)/mods/ra
@cp -r mods/ra/uibits $(INSTALL_DIR)/mods/ra @cp -r mods/ra/uibits $(INSTALL_DIR)/mods/ra
@-cp $(foreach f,$(shell ls mods/d2k --hide=*.dll),mods/d2k/$(f)) $(INSTALL_DIR)/mods/d2k
@cp -r mods/d2k/maps $(INSTALL_DIR)/mods/d2k
@cp -r mods/d2k/bits $(INSTALL_DIR)/mods/d2k
@cp -r mods/d2k/chrome $(INSTALL_DIR)/mods/d2k
@cp -r mods/d2k/rules $(INSTALL_DIR)/mods/d2k
@cp -r mods/d2k/tilesets $(INSTALL_DIR)/mods/d2k
@cp -r mods/d2k/uibits $(INSTALL_DIR)/mods/d2k
@cp -r glsl $(INSTALL_DIR) @cp -r glsl $(INSTALL_DIR)
@cp -r cg $(INSTALL_DIR) @cp -r cg $(INSTALL_DIR)
@@ -251,3 +261,4 @@ install: all
uninstall: uninstall:
@-rm -r $(INSTALL_DIR) @-rm -r $(INSTALL_DIR)
@-rm $(DESTDIR)$(bindir)/openra @-rm $(DESTDIR)$(bindir)/openra
@-rm $(DESTDIR)$(bindir)/openra-editor

View File

@@ -259,7 +259,7 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
{ {
new string[] {"--shp", Path.Combine(PathToImages, "overlay.png"), "32"}, new string[] {"--shp", Path.Combine(PathToImages, "overlay.png"), "32"},
new string[] {"--shp", Path.Combine(PathToImages, "crates.png"), "32"}, new string[] {"--shp", Path.Combine(PathToImages, "crates.png"), "32"},
//new string[] {"--shp", Path.Combine(PathToImages, "shadow.png"), "32 //new string[] {"--shp", Path.Combine(PathToImages, "shadow.png"), "32"},
new string[] {"--shp", Path.Combine(PathToImages, "spicebloom.png"), "32"}, new string[] {"--shp", Path.Combine(PathToImages, "spicebloom.png"), "32"},
new string[] {"--shp", Path.Combine(PathToImages, "rockcrater1.png"), "32"}, new string[] {"--shp", Path.Combine(PathToImages, "rockcrater1.png"), "32"},
new string[] {"--shp", Path.Combine(PathToImages, "rockcrater2.png"), "32"}, new string[] {"--shp", Path.Combine(PathToImages, "rockcrater2.png"), "32"},

View File

@@ -19,16 +19,14 @@
# add deathhand missile (nuke) # add deathhand missile (nuke)
# add sandworm # add sandworm
# add thumper which really attracts sandworms # add thumper which really attracts sandworms
# add neutral buildings: emperor palace, fremen siech, smugglers house # add neutral buildings: emperor palace, fremen siech, smugglers factory
# allow upgrades # allow upgrades
# allow different EVA voices for each faction (currently Atreides only) # allow different EVA voices for each faction (currently Atreides only)
# add SOUND.TS .wav file extractor to RA.Utility.exe # add SOUND.TS .wav file extractor to RA.Utility.exe
# convert .wav to .aud or support .wav files for Dune 2000 sounds # convert .wav to .aud or support .wav files for Dune 2000 sounds
# add muzzles and explosions with lightning (might need engine update) # add muzzles and explosions with lightning (might need engine update)
# ingame gamefile extractor at first start when SHPs are not found
# create a shellmap (currently just a blank placeholder) # create a shellmap (currently just a blank placeholder)
# rework chrome UI, dialoges, tabs # rework chrome UI, dialoges, tabs
# add install rules to makefile (once more polished)
# add sonic tank weapon (currently uses tesla) # add sonic tank weapon (currently uses tesla)
# make deviator change the allegiance of ememy units (currently shoots rockets) # make deviator change the allegiance of ememy units (currently shoots rockets)
# allow frigate to deliver 5 units at once to starport # allow frigate to deliver 5 units at once to starport

View File

@@ -1,6 +1,6 @@
Metadata: Metadata:
Title: Dune 2000 Title: Dune 2000
Description: Converting the OpenRA Red Alert Mod one by one to Dune 2000 Description: early version of the Dune 2000 mod
Version: {DEV_VERSION} Version: {DEV_VERSION}
Author: The OpenD2k Developers Author: The OpenD2k Developers

View File

@@ -12,7 +12,7 @@ CARRYALL:
Name: Carryall Name: Carryall
Description: Fast drop ship.\n Unarmed Description: Fast drop ship.\n Unarmed
Health: Health:
HP: 90 HP: 500
Armor: Armor:
Type: Light Type: Light
RevealsShroud: RevealsShroud:
@@ -21,7 +21,7 @@ CARRYALL:
InitialFacing: 0 InitialFacing: 0
ROT: 5 ROT: 5
Speed: 15 Speed: 15
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach LandableTerrainTypes: Sand, Rock, Spice, Dune
RepairBuildings: repaira,repairo,repairh RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha RearmBuildings: hightecha
RenderUnit: RenderUnit: