This is what I have done with this patch

Added editloc to change the description of the closest location
Added delloc to remove closest location
Added dumploc to place locs in memory into a .loc file (required for
editloc and delloc)
Added zdumploc to place locs in memory into a .loc.gz file (requred for
markloc, editloc and delloc)
Added loc.gz saving support to markloc, editloc and delloc (via
zdumploc)

Altered locs_load to use _Com_FOpenFile instead of Com_FOpenFile
Fixed potentual bug in locs_markloc
Fixed bug in Team_ParseSay that cause wierd behaviour if $ or % was last
charactor in line.

patch created from a development tree via diff -ur ../newtree ./
newtree and development tree were up-to-date at time of creating the
patch


Please let me know what you change so I may learn from it

Chris Ison (WildCode)
This commit is contained in:
Bill Currie 2000-12-19 19:47:15 +00:00
parent 5163916a4d
commit 0e268f9ca7
3 changed files with 148 additions and 13 deletions

View file

@ -41,5 +41,9 @@ location_t *locs_find(vec3_t target);
void locs_load(char *mapname);
void locs_reset();
void locs_add(vec3_t location, char *name);
extern location_t **locations;
extern int locations_count;
#ifdef HAVE_ZLIB
extern int locisgz;
#endif
#endif // __locs_h