diff --git a/Makefile b/Makefile index 147e328..1b2561b 100644 --- a/Makefile +++ b/Makefile @@ -20,20 +20,20 @@ clean: cd src/enet && make clean apply-patches: - $(PATCH) < patches/moviehud.patch dos2unix src/vcpp/sauerbraten.vcxproj + $(PATCH) < patches/moviehud.patch $(PATCH) < patches/scoreboard.patch - unix2dos src/vcpp/sauerbraten.vcxproj $(PATCH) < patches/macos_builds.patch $(PATCH) < patches/hudfragmessages.patch + unix2dos src/vcpp/sauerbraten.vcxproj undo-patches: - $(PATCH) --reverse < patches/macos_builds.patch dos2unix src/vcpp/sauerbraten.vcxproj + $(PATCH) --reverse < patches/macos_builds.patch $(PATCH) --reverse < patches/scoreboard.patch - unix2dos src/vcpp/sauerbraten.vcxproj $(PATCH) --reverse < patches/moviehud.patch $(PATCH) < patches/hudfragmessages.patch + unix2dos src/vcpp/sauerbraten.vcxproj clean-sauer: check-env cd $(SAUER_DIR)/src/enet && make clean diff --git a/patches/hudfragmessages.patch b/patches/hudfragmessages.patch index 96e7aa0..554ef5a 100644 --- a/patches/hudfragmessages.patch +++ b/patches/hudfragmessages.patch @@ -199,3 +199,28 @@ Index: src/fpsgame/game.h namespace server { extern const char *modename(int n, const char *unknown = "unknown"); +Index: src/vcpp/sauerbraten.vcxproj +=================================================================== +--- src/vcpp/sauerbraten.vcxproj (revision 6470) ++++ src/vcpp/sauerbraten.vcxproj (working copy) +@@ -1078,6 +1078,20 @@ + $(IntDir)game.pch + $(IntDir)game.pch + ++ ++ game.h ++ game.h ++ $(IntDir)game.pch ++ $(IntDir)game.pch ++ game.h ++ game.h ++ $(IntDir)game.pch ++ $(IntDir)game.pch ++ game.h ++ game.h ++ $(IntDir)game.pch ++ $(IntDir)game.pch ++ + + game.h + game.h diff --git a/src/vcpp/sauerbraten.vcxproj b/src/vcpp/sauerbraten.vcxproj index 9b1c8ac..8d73de9 100644 --- a/src/vcpp/sauerbraten.vcxproj +++ b/src/vcpp/sauerbraten.vcxproj @@ -1078,6 +1078,20 @@ $(IntDir)game.pch $(IntDir)game.pch + + game.h + game.h + $(IntDir)game.pch + $(IntDir)game.pch + game.h + game.h + $(IntDir)game.pch + $(IntDir)game.pch + game.h + game.h + $(IntDir)game.pch + $(IntDir)game.pch + game.h game.h