------------------------------------------------------------------------
r3902 | havoc | 2004-02-17 04:13:51 -0800 (Tue, 17 Feb 2004) | 2 lines
Changed paths:
   M /trunk/hmap/hmapreadme.txt

updated this old readme with correct website url and email address

------------------------------------------------------------------------
r3814 | havoc | 2004-01-19 14:25:13 -0800 (Mon, 19 Jan 2004) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/writebsp.c

write visofs = -1 in leaf 0 (the solid leaf), thanks to Vic for suggesting this

------------------------------------------------------------------------
r3663 | havoc | 2003-11-19 08:54:08 -0800 (Wed, 19 Nov 2003) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/portals.c

hush a harmless compiler warning

------------------------------------------------------------------------
r3629 | havoc | 2003-11-06 14:44:39 -0800 (Thu, 06 Nov 2003) | 4 lines
Changed paths:
   M /trunk/hmap/hqbsp/portals.c

Thanks to Vic for contributing these great fixes:
.prt files now have proper float coordinate output
fixed CheckWindingArea bug that chose the wrong triangles (including one past the end!)

------------------------------------------------------------------------
r3613 | havoc | 2003-10-28 08:17:17 -0800 (Tue, 28 Oct 2003) | 5 lines
Changed paths:
   M /trunk/hmap/hqbsp/outside.c
   M /trunk/hmap/hqbsp/portals.c
   M /trunk/hmap/hqbsp/region.c
   M /trunk/hmap/hqbsp/solidbsp.c
   M /trunk/hmap/hqbsp/tjunc.c

Thanks to Vic for contributing the following fixes:
Optimized PointInLeaf (no longer recursive)
Calculate node bounding box from portals, making it much smaller than qbsp when non-axial planes are used
Detect and skip degenerate edges (and report how many were removed)

------------------------------------------------------------------------
r3612 | havoc | 2003-10-28 08:09:16 -0800 (Tue, 28 Oct 2003) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/brush.c

added \n to point off plane warning

------------------------------------------------------------------------
r3348 | havoc | 2003-07-28 22:56:19 -0700 (Mon, 28 Jul 2003) | 2 lines
Changed paths:
   M /trunk/hmap/common/bspfile.c

signed/unsigned comparison

------------------------------------------------------------------------
r3347 | havoc | 2003-07-28 22:55:22 -0700 (Mon, 28 Jul 2003) | 2 lines
Changed paths:
   M /trunk/hmap/common/bspfile.h
   M /trunk/hmap/common/mathlib.c

newline at end

------------------------------------------------------------------------
r3110 | havoc | 2003-06-30 18:58:55 -0700 (Mon, 30 Jun 2003) | 2 lines
Changed paths:
   M /trunk/hmap/hmapreadme.txt

added HL texture definitions feature to the list

------------------------------------------------------------------------
r3109 | havoc | 2003-06-30 18:53:38 -0700 (Mon, 30 Jun 2003) | 4 lines
Changed paths:
   M /trunk/hmap/common/cmdlib.c
   M /trunk/hmap/common/cmdlib.h
   M /trunk/hmap/hlight/light.c
   M /trunk/hmap/hqbsp/brush.c
   M /trunk/hmap/hqbsp/csg4.c
   M /trunk/hmap/hqbsp/map.c
   M /trunk/hmap/hqbsp/qbsp.c
   M /trunk/hmap/hvis/vis.c

cleaned up some code and whitespace a bit
added ReplaceExtension which is used instead of StripExtension followed by DefaultExtension (and therefore less buggy about filenames containing dots)
fixed HL .map support

------------------------------------------------------------------------
r3108 | havoc | 2003-06-30 16:15:35 -0700 (Mon, 30 Jun 2003) | 3 lines
Changed paths:
   M /trunk/hmap/hlight/entities.c
   M /trunk/hmap/hlight/entities.h
   M /trunk/hmap/hqbsp/map.c
   M /trunk/hmap/hqbsp/map.h

added support for HL .map files (valve texturedefs)
removed unused function DoubleForKey

------------------------------------------------------------------------
r3064 | havoc | 2003-06-02 22:49:19 -0700 (Mon, 02 Jun 2003) | 3 lines
Changed paths:
   M /trunk/hmap/hqbsp/map.c

expanded WriteEntitiesToString line buffer from 128 bytes to 16384 bytes (thanks to FrikaC for reporting this bug)
some whitespace cleanup

------------------------------------------------------------------------
r3011 | havoc | 2003-05-22 05:21:40 -0700 (Thu, 22 May 2003) | 2 lines
Changed paths:
   M /trunk/hmap/Makefile
   D /trunk/hmap/Makefile.mingw

Makefile upgraded to handle compilation on win32 mingw, Linux native, and Linux cross-gcc (Thanks to Elric for the makefile this was based on)

------------------------------------------------------------------------
r2982 | havoc | 2003-04-24 05:54:41 -0700 (Thu, 24 Apr 2003) | 3 lines
Changed paths:
   M /trunk/hmap/hqbsp/wad.c

now supports -wadpath (multiple -wadpath options even...) and also checks the map's directory and the parent directory of that when trying to load .wad files (this makes it work correctly with GTKRadiant)
MAX_MAP_MIPTEX is now only a warning rather than a fatal error (of course the textures that did not fit are omitted from the .bsp)

------------------------------------------------------------------------
r2612 | havoc | 2002-11-09 00:50:16 -0800 (Sat, 09 Nov 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/brush.c
   M /trunk/hmap/hqbsp/map.h

expanded MAX_FACES from 32 to 256, and also faces[] array to match, a hint of cleanup as well

------------------------------------------------------------------------
r2611 | havoc | 2002-11-09 00:49:09 -0800 (Sat, 09 Nov 2002) | 2 lines
Changed paths:
   M /trunk/hmap/Makefile

disable profiling by default

------------------------------------------------------------------------
r2604 | havoc | 2002-11-07 12:14:42 -0800 (Thu, 07 Nov 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/entities.c

metlslime mentioned that WriteEntitiesToString's buffer was too small (and indeed it was way too small)

------------------------------------------------------------------------
r2495 | havoc | 2002-10-04 05:24:25 -0700 (Fri, 04 Oct 2002) | 2 lines
Changed paths:
   M /trunk/hmap/common/cmdlib.c

set timer to millisecond accuracy in windows

------------------------------------------------------------------------
r2219 | havoc | 2002-08-07 14:42:17 -0700 (Wed, 07 Aug 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/qbsp.c

fixed bug in BasePlaneWinding which was limiting map size to +-8192 (or rather, polygons bigger than that were getting clipped off)

------------------------------------------------------------------------
r2218 | havoc | 2002-08-07 13:59:57 -0700 (Wed, 07 Aug 2002) | 2 lines
Changed paths:
   M /trunk/hmap/Makefile.mingw

cleaned up CFLAGS

------------------------------------------------------------------------
r2215 | havoc | 2002-08-06 23:08:37 -0700 (Tue, 06 Aug 2002) | 2 lines
Changed paths:
   M /trunk/hmap/Makefile.mingw

added -lwinmm

------------------------------------------------------------------------
r2214 | havoc | 2002-08-06 22:41:01 -0700 (Tue, 06 Aug 2002) | 2 lines
Changed paths:
   M /trunk/hmap/common/cmdlib.c
   M /trunk/hmap/common/cmdlib.h

filelength renamed to Q_filelength to avoid conflicting with mingw headers

------------------------------------------------------------------------
r2113 | havoc | 2002-07-29 03:13:57 -0700 (Mon, 29 Jul 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hvis/vis.h

increased MAX_PORTALS_ON_LEAF from 256 to 512

------------------------------------------------------------------------
r2073 | havoc | 2002-07-23 19:31:16 -0700 (Tue, 23 Jul 2002) | 2 lines
Changed paths:
   M /trunk/hmap/Makefile
   M /trunk/hmap/Makefile.mingw

fixed some things that were not being cleaned

------------------------------------------------------------------------
r2022 | havoc | 2002-07-08 01:01:26 -0700 (Mon, 08 Jul 2002) | 2 lines
Changed paths:
   M /trunk/hmap/Makefile

updated makefile to kill .d files in main directory

------------------------------------------------------------------------
r2021 | havoc | 2002-07-08 00:44:57 -0700 (Mon, 08 Jul 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/light.c
   M /trunk/hmap/hvis/flow.c
   M /trunk/hmap/hvis/vis.c

improved progress reports, they now update only once per second, and do an fflush on stdout to make sure they are actually seen in Linux

------------------------------------------------------------------------
r1918 | lordhavoc | 2002-06-07 11:30:11 -0700 (Fri, 07 Jun 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/light.c
   M /trunk/hmap/hqbsp/qbsp.c
   M /trunk/hmap/hvis/vis.c

was passing hvis usage as format string to Error, now passed as merely a string to print (format string is now "%s"), also did this to hqbsp and hlight, fixes the hvis usage crash

------------------------------------------------------------------------
r1912 | knghtbrd | 2002-06-05 09:44:16 -0700 (Wed, 05 Jun 2002) | 2 lines
Changed paths:
   M /trunk/hmap
   A /trunk/hmap/.cvsignore
   M /trunk/hmap/bin
   A /trunk/hmap/bin/.cvsignore

Added cvsignore stuff..

------------------------------------------------------------------------
r1908 | lordhavoc | 2002-06-04 12:11:34 -0700 (Tue, 04 Jun 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/brush.c

allow 16x as many points/edges per brush in hull building as qbsp allowed (was 4x before)

------------------------------------------------------------------------
r1907 | lordhavoc | 2002-06-04 12:05:59 -0700 (Tue, 04 Jun 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hmapreadme.txt

updated email address

------------------------------------------------------------------------
r1870 | lordhavoc | 2002-05-26 21:56:57 -0700 (Sun, 26 May 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/entities.c
   M /trunk/hmap/hlight/entities.h
   M /trunk/hmap/hlight/light.c
   M /trunk/hmap/hlight/light.h
   M /trunk/hmap/hlight/ltface.c

added generation of .lights file, also optimized spotlight code a little

------------------------------------------------------------------------
r1751 | lordhavoc | 2002-04-12 03:34:48 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   A /trunk/hmap/hmapreadme.txt

utilities need readme files, this is no exception.

------------------------------------------------------------------------
r1750 | lordhavoc | 2002-04-12 03:30:00 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/light.c
   M /trunk/hmap/hqbsp/bsp5.h
   M /trunk/hmap/hqbsp/qbsp.c
   M /trunk/hmap/hvis/vis.c

removed unused drawflag variable, cleaned up usage statements a bit, initialize various settings correctly in hqbsp startup

------------------------------------------------------------------------
r1749 | lordhavoc | 2002-04-12 02:37:27 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hvis/vis.c

default rvis optimization on, -norvis to turn it off (who would want to?)

------------------------------------------------------------------------
r1748 | lordhavoc | 2002-04-12 02:13:25 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/hlight.dsp
   M /trunk/hmap/hqbsp/hqbsp.dsp
   M /trunk/hmap/hvis/hvis.dsp

finished making the MSVC 6 project files

------------------------------------------------------------------------
r1747 | lordhavoc | 2002-04-12 02:12:24 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/map.c

tried to make plane misalignment/correction work better and gave up, disabled it entirely now...

------------------------------------------------------------------------
r1746 | lordhavoc | 2002-04-12 02:11:01 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/wad.c

disabled lump size check (which attempted to detect compression) because some wad editors write garbage for the lump size, sigh

------------------------------------------------------------------------
r1745 | lordhavoc | 2002-04-12 02:09:48 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/writebsp.c

moved the 'WriteBSPFile' printf and added a heading for the BSP information

------------------------------------------------------------------------
r1744 | lordhavoc | 2002-04-12 02:07:47 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/brush.c

automatic fixing of 'CheckFace: point off plane' (which is now a warning rather than an error)

------------------------------------------------------------------------
r1743 | lordhavoc | 2002-04-12 02:04:35 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hqbsp/outside.c

using DotProduct instead of VectorCompare

------------------------------------------------------------------------
r1742 | lordhavoc | 2002-04-12 02:03:42 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/light.c
   M /trunk/hmap/hqbsp/qbsp.c
   M /trunk/hmap/hvis/vis.c

added 'press any key' prompt when debugging in windows so the window doesn't disappear when done

------------------------------------------------------------------------
r1741 | lordhavoc | 2002-04-12 02:01:21 -0700 (Fri, 12 Apr 2002) | 2 lines
Changed paths:
   M /trunk/hmap/hlight/ltface.c

apparently a 38mb structure on the stack is something MSVC does not like

------------------------------------------------------------------------
r1740 | lordhavoc | 2002-04-12 02:00:08 -0700 (Fri, 12 Apr 2002) | 4 lines
Changed paths:
   M /trunk/hmap/common/cmdlib.c
   M /trunk/hmap/common/cmdlib.h
   M /trunk/hmap/common/mathlib.c
   M /trunk/hmap/common/mathlib.h

removed ColorNormalize and other unused functions in mathlib
added Q_rint as a normal function (not sure that the macro works correctly)
renamed strupr and strlower to Q_strupr and Q_strlower to avoid conflicts with MSVC stuff

------------------------------------------------------------------------
r1736 | lordhavoc | 2002-04-11 22:00:53 -0700 (Thu, 11 Apr 2002) | 2 lines
Changed paths:
   A /trunk/hmap
   A /trunk/hmap/Makefile
   A /trunk/hmap/Makefile.mingw
   A /trunk/hmap/bin
   A /trunk/hmap/bin/note.txt
   A /trunk/hmap/common
   A /trunk/hmap/common/bspfile.c
   A /trunk/hmap/common/bspfile.h
   A /trunk/hmap/common/cmdlib.c
   A /trunk/hmap/common/cmdlib.h
   A /trunk/hmap/common/mathlib.c
   A /trunk/hmap/common/mathlib.h
   A /trunk/hmap/hlight
   A /trunk/hmap/hlight/entities.c
   A /trunk/hmap/hlight/entities.h
   A /trunk/hmap/hlight/hlight.dsp
   A /trunk/hmap/hlight/light.c
   A /trunk/hmap/hlight/light.h
   A /trunk/hmap/hlight/ltface.c
   A /trunk/hmap/hlight/trace.c
   A /trunk/hmap/hmap.dsw
   A /trunk/hmap/hqbsp
   A /trunk/hmap/hqbsp/brush.c
   A /trunk/hmap/hqbsp/bsp5.h
   A /trunk/hmap/hqbsp/csg4.c
   A /trunk/hmap/hqbsp/hqbsp.dsp
   A /trunk/hmap/hqbsp/map.c
   A /trunk/hmap/hqbsp/map.h
   A /trunk/hmap/hqbsp/merge.c
   A /trunk/hmap/hqbsp/nodraw.c
   A /trunk/hmap/hqbsp/outside.c
   A /trunk/hmap/hqbsp/portals.c
   A /trunk/hmap/hqbsp/qbsp.c
   A /trunk/hmap/hqbsp/region.c
   A /trunk/hmap/hqbsp/solidbsp.c
   A /trunk/hmap/hqbsp/surfaces.c
   A /trunk/hmap/hqbsp/tjunc.c
   A /trunk/hmap/hqbsp/wad.c
   A /trunk/hmap/hqbsp/writebsp.c
   A /trunk/hmap/hvis
   A /trunk/hmap/hvis/flow.c
   A /trunk/hmap/hvis/hvis.dsp
   A /trunk/hmap/hvis/soundpvs.c
   A /trunk/hmap/hvis/vis.c
   A /trunk/hmap/hvis/vis.h

Initial revision

------------------------------------------------------------------------
