diff --git a/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/.gitignore b/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/.gitignore index dd471bd6..04b19de5 100644 --- a/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/.gitignore +++ b/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/.gitignore @@ -1,4 +1,5 @@ *.blend1 +*.cfg +*.dds *.mu *.png -*.cfg diff --git a/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/Makefile b/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/Makefile index 75b638b6..59d84a00 100644 --- a/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/Makefile +++ b/GameData/ExtraplanetaryLaunchpads/Parts/Lathe/Makefile @@ -1,10 +1,21 @@ LATHE = \ - Lathe.png \ Lathe.cfg \ Lathe.mu \ + Lathe.png \ + Lathe_NRM.png \ $e -all: ${LATHE} +LATHE_DDS = \ + Lathe.dds \ + Lathe_NRM.dds \ + $e + +all: ${LATHE} ${LATHE_DDS} + +Lathe.dds: Lathe.png + nvcompress -bc1 -alpha -color $< $@ +Lathe_NRM.dds: Lathe_NRM.png + nvcompress -bc3 -alpha -normal $< $@ install: all #nothing to do as GameData makefile will take care of installation @@ -13,6 +24,6 @@ ${LATHE} : Lathe.blend Lathe.cfg.in blender -noaudio --background Lathe.blend -P ../../../../tools/mass-export.py clean: - rm -f ${LATHE} + rm -f ${LATHE} ${LATHE_DDS} .PHONY: all clean install diff --git a/GameData/files b/GameData/files index b704c273..6a2dbc90 100644 --- a/GameData/files +++ b/GameData/files @@ -61,8 +61,8 @@ ExtraplanetaryLaunchpads/Parts/LandingPad/LandingPad.mu ExtraplanetaryLaunchpads/Parts/LandingPad/LandingPad.png ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.cfg ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.mu -ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.png -ExtraplanetaryLaunchpads/Parts/Lathe/Lathe_NRM.png +ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.dds +ExtraplanetaryLaunchpads/Parts/Lathe/Lathe_NRM.dds ExtraplanetaryLaunchpads/Parts/Magnetometer/Magnetometer.png ExtraplanetaryLaunchpads/Parts/Magnetometer/model.mu ExtraplanetaryLaunchpads/Parts/Magnetometer/part.cfg