Commit 63eaef72 authored by sirjorj's avatar sirjorj

rename to xhud1e and update to v0.9

parent a3af079a
*
* xhud (https://github.com/sirjorj/xhud)
* xhud1e (https://xhud.sirjorj.com)
*
BSD 3-Clause License
......
This diff is collapsed.
......@@ -9,8 +9,8 @@
SquadBuilder::SquadBuilder(Squad s) : squad(s), isRunning(true) {
this->squad.AddVendorSpecific("xhud");
this->squad.GetVendorSpecific().SetUrl("https://github.com/sirjorj/xhud");
this->squad.GetVendorSpecific().SetBuilder("xhud overlay generator");
this->squad.GetVendorSpecific().SetUrl("https://gitlab.com/sirjorj/xhud1e");
this->squad.GetVendorSpecific().SetBuilder("xhud1e overlay generator");
}
......
......@@ -109,21 +109,21 @@ STATIC_DLIBS=$M_STATIC_DLIBS
STATICS=$M_STATICS
all: xhud
all: xhud1e
static: main.cpp settings.o imagegen.o game.o builder.o helpers.o printhelpers.o colors.h portable.h ./libxwing/libxwing.a
\$(CPP) \$(CPPFLAGS) \$(STATIC_FLAGS) \$(INCDIR) -v main.cpp -o xhud ./settings.o ./imagegen.o ./game.o ./builder.o helpers.o printhelpers.o -L$M_LIBSDIR_SO -L$M_XLIBSDIR_SO -lm \$(STATICS) ./libxwing/libxwing.a \$(STATIC_DLIBS)
\$(CPP) \$(CPPFLAGS) \$(STATIC_FLAGS) \$(INCDIR) -v main.cpp -o xhud1e ./settings.o ./imagegen.o ./game.o ./builder.o helpers.o printhelpers.o -L$M_LIBSDIR_SO -L$M_XLIBSDIR_SO -lm \$(STATICS) ./libxwing/libxwing.a \$(STATIC_DLIBS)
release: clean static
set -e
mkdir -p ./rel/xhud/fonts
cp fonts/xwing-miniatures-ships.ttf fonts/xwing-miniatures.ttf fonts/SquarishSansCTRegularSC.ttf fonts/xwstats.ttf rel/xhud/fonts/
cp xhud LICENSE rel/xhud
tar zcvfC xhud_\`./xhud | head -n1 | cut -d' ' -f2 | sed s/v// | sed "/+\$\$/ s/\$\$/\$\$(date '+%Y%m%d')/"\`_$PLATFORM.tgz rel xhud/
mkdir -p ./rel/xhud1e/fonts
cp fonts/xwing-miniatures-ships.ttf fonts/xwing-miniatures.ttf fonts/SquarishSansCTRegularSC.ttf fonts/xwstats.ttf rel/xhud1e/fonts/
cp xhud1e LICENSE rel/xhud1e
tar zcvfC xhud1e_\`./xhud1e | head -n1 | cut -d' ' -f2 | sed s/v// | sed "/+\$\$/ s/\$\$/\$\$(date '+%Y%m%d')/"\`_$PLATFORM.tgz rel xhud1e/
rm -rf rel
xhud: main.cpp settings.o imagegen.o game.o builder.o helpers.o printhelpers.o colors.h portable.h ./libxwing/libxwing.a
\$(CPP) \$(CPPFLAGS) \$(INCDIR) -v main.cpp -o xhud ./settings.o ./imagegen.o ./game.o ./builder.o helpers.o printhelpers.o -L$M_LIBSDIR_SO -L/usr/X11R6/lib -lm -lgd ./libxwing/libxwing.a
xhud1e: main.cpp settings.o imagegen.o game.o builder.o helpers.o printhelpers.o colors.h portable.h ./libxwing/libxwing.a
\$(CPP) \$(CPPFLAGS) \$(INCDIR) -v main.cpp -o xhud1e ./settings.o ./imagegen.o ./game.o ./builder.o helpers.o printhelpers.o -L$M_LIBSDIR_SO -L/usr/X11R6/lib -lm -lgd ./libxwing/libxwing.a
settings.o: settings.cpp settings.h
helpers.o: helpers.cpp helpers.h
......@@ -133,7 +133,7 @@ game.o: game.cpp game.h colors.h
builder.o: builder.cpp builder.h colors.h
clean:
rm -rf *.o *~ xhud xhud.dSYM rel
rm -rf *.o *~ xhud1e xhud1e.dSYM rel
clean2: clean
rm -rf Makefile portable.h
......
Subproject commit 8d2d840002bd0e66ec7daa52ac756641a9e668c8
Subproject commit db14ad0865b3f0100b6c8e7b180b6b4207fa5a57
......@@ -17,17 +17,17 @@
const static std::string VERSTR = "0.8";
const static std::string VERSTR = "0.9";
using namespace libxwing;
std::string GetVersionInfo() {
return "xhud v" + VERSTR + " (using libgd " + GetGdVersion() + ")";
return "xhud1e v" + VERSTR + " (using libgd " + GetGdVersion() + ")";
}
static void printOptions() {
printf("%s\n", GetVersionInfo().c_str());
printf("Usage: './xhud *option* {params}'\n");
printf("Usage: './xhud1e *option* {params}'\n");
printf("Options:\n");
printf(" check - check for required files\n");
......@@ -111,7 +111,7 @@ std::string GetConfigFile() {
if(home) {
configPath += home;
}
configPath += "/.xhud.conf";
configPath += "/.xhud1e.conf";
return configPath;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment