From b93fdf75840f570bcd9483fa16f0bbfa6ac1cb11 Mon Sep 17 00:00:00 2001 From: div0 Date: Thu, 11 Sep 2008 09:01:43 +0000 Subject: [PATCH] add a trivial patch to write BSP version 46 again git-svn-id: svn://svn.icculus.org/nexuiz/trunk@4446 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- misc/gtkradiant/gtkradiant-nexuiz-patchset.diff | 15 ++++++++++++++- .../gtkradiant/singlepatches/q3map2-format46.diff | 13 +++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 misc/gtkradiant/singlepatches/q3map2-format46.diff diff --git a/misc/gtkradiant/gtkradiant-nexuiz-patchset.diff b/misc/gtkradiant/gtkradiant-nexuiz-patchset.diff index eecd33490..b95ccd915 100644 --- a/misc/gtkradiant/gtkradiant-nexuiz-patchset.diff +++ b/misc/gtkradiant/gtkradiant-nexuiz-patchset.diff @@ -856,6 +856,19 @@ Index: tools/quake3/q3map2/main.c } /* clean up map name */ +Index: tools/quake3/q3map2/game_quake3.h +=================================================================== +--- tools/quake3/q3map2/game_quake3.h.orig 2008-09-11 10:59:01.000000000 +0200 ++++ tools/quake3/q3map2/game_quake3.h 2008-09-11 10:59:07.000000000 +0200 +@@ -114,7 +114,7 @@ + 1.0f, /* lightmap gamma */ + 1.0f, /* lightmap compensate */ + "IBSP", /* bsp file prefix */ +- 47, /* bsp file version */ ++ 46, /* bsp file version */ + qfalse, /* cod-style lump len/ofs order */ + LoadIBSPFile, /* bsp load function */ + WriteIBSPFile, /* bsp write function */ Index: tools/quake3/q3map2/model.c =================================================================== --- tools/quake3/q3map2/model.c.orig 2008-09-06 15:32:05.000000000 +0200 @@ -2296,7 +2309,7 @@ Index: tools/quake3/q3map2/q3map2.h /* version */ -#define Q3MAP_VERSION "2.5.17" -#define Q3MAP_MOTD "Last one turns the lights off" -+#define Q3MAP_VERSION "2.5.17-div0-obj-decomptexcoords-snapplane-UTavgcolorfix-UTfloodlight-UTlmexposure-UTtrianglecheck" ++#define Q3MAP_VERSION "2.5.17-div0-obj-decomptexcoords-format46-snapplane-UTavgcolorfix-UTfloodlight-UTlmexposure-UTtrianglecheck" +#define Q3MAP_MOTD "Light some candles, put them on a wooden table, take a photo, and paste it on the lightmaps!" diff --git a/misc/gtkradiant/singlepatches/q3map2-format46.diff b/misc/gtkradiant/singlepatches/q3map2-format46.diff new file mode 100644 index 000000000..6a9a8bc82 --- /dev/null +++ b/misc/gtkradiant/singlepatches/q3map2-format46.diff @@ -0,0 +1,13 @@ +Index: tools/quake3/q3map2/game_quake3.h +=================================================================== +--- tools/quake3/q3map2/game_quake3.h.orig 2008-09-11 10:59:01.000000000 +0200 ++++ tools/quake3/q3map2/game_quake3.h 2008-09-11 10:59:07.000000000 +0200 +@@ -114,7 +114,7 @@ + 1.0f, /* lightmap gamma */ + 1.0f, /* lightmap compensate */ + "IBSP", /* bsp file prefix */ +- 47, /* bsp file version */ ++ 46, /* bsp file version */ + qfalse, /* cod-style lump len/ofs order */ + LoadIBSPFile, /* bsp load function */ + WriteIBSPFile, /* bsp write function */ -- 2.39.2