28.04.98
================================================================
Title                   : Killfields

Filename                : Kfields.zip

Files			: Kfields.exe
			  Kfields.txt

Author                  : Nick Nougat

Contact 		: nicknougat@hotmail.com 

Originally Conceived for: Worldcraft TeamFortress entities managing 
			  patch (WcTfPat4.zip), which adds support for TF 
			  entities to Worldcraft. But also suitable for
			  any other Worldcraft user.

Description             : Killfields is a tool to remove 'zero-lines'
			  created by Worldcraft. (Lines with an integer 
			  value of 0. E.g. "health" "0"). These are totally
			  useless and only waste space in map (and bsp?) files.
			  Killfields removes these after creating a backup of 
			  the original map file.
-----------------------------------------------------------------------

History and info:
-------------------
After a while of testing the WC-.fgd Patch V3.0 I found I also had to 
write this little Prog (My FIRST C-Prog ever, BTW). 
This is because wherever you have an unused integer value in Worldcraft
(especially when using the choice function) it will still be written as a 
field into the .MAP file.(Like "health"  "0"). Well, and as the new fields 
I added in the WcTfPatch contain so many integer Values...
I really don't feel too comfortable thinking that my new patch produces
more garbage than useful fields (considering the map-file),so I simply
decided to test my new knowledge of  C and code a little helper which 
could be used for any mapfile around while I could get a bit of distance for 
the final test of the patch in exchange.

-----------------------------------------------------------------------------
Usage:
-----------------------------------------------------------------------------

State the name of your Map file in the command line, e.g.: 

kfields mymap.map

If it passes the check the file will be backed up to the same name with 
the extension .bak (Be careful I didn't implement any overwrite checks for 
the .bak files) while the 'cleaned' version will be stored under the 
original name. 
I thought this way would be best to enable Batch Processing.

------------------------------------------------------------------------------
For any comment or error reports mail to adress above.
