diff --git a/tools/qfcc/include/class.h b/tools/qfcc/include/class.h index 32ce21808..da014fff6 100644 --- a/tools/qfcc/include/class.h +++ b/tools/qfcc/include/class.h @@ -1,12 +1,12 @@ /* - #FILENAME# + class.h - #DESCRIPTION# + QC class support code - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/05/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/cmdlib.h b/tools/qfcc/include/cmdlib.h index 4b2eec935..dae8c8d72 100644 --- a/tools/qfcc/include/cmdlib.h +++ b/tools/qfcc/include/cmdlib.h @@ -26,15 +26,6 @@ #include -int FileLength (FILE *f); - -void Error (char *error, ...)__attribute__((format(printf, 1,2))); - -FILE *SafeOpenWrite (const char *filename); -FILE *SafeOpenRead (const char *filename); -void SafeRead (FILE *f, void *buffer, int count); -void SafeWrite (FILE *f, void *buffer, int count); - int LoadFile (const char *filename, void **bufferptr); #endif diff --git a/tools/qfcc/include/cpp.h b/tools/qfcc/include/cpp.h index f2663e5a0..d285ec7eb 100644 --- a/tools/qfcc/include/cpp.h +++ b/tools/qfcc/include/cpp.h @@ -1,12 +1,12 @@ /* - #FILENAME# + cpp.h - #DESCRIPTION# + cpp preprocessing support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/debug.h b/tools/qfcc/include/debug.h index 8c1092315..96e0d443f 100644 --- a/tools/qfcc/include/debug.h +++ b/tools/qfcc/include/debug.h @@ -1,12 +1,12 @@ /* debug.h - #DESCRIPTION# + debug info support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/def.h b/tools/qfcc/include/def.h index 439dd249f..f2d50079d 100644 --- a/tools/qfcc/include/def.h +++ b/tools/qfcc/include/def.h @@ -1,12 +1,12 @@ /* def.h - #DESCRIPTION# + def management and symbol tables - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/emit.h b/tools/qfcc/include/emit.h index 20051f38b..0bda1ab05 100644 --- a/tools/qfcc/include/emit.h +++ b/tools/qfcc/include/emit.h @@ -1,12 +1,12 @@ /* - #FILENAME# + emit.h - #DESCRIPTION# + statement emittion - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/07/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/expr.h b/tools/qfcc/include/expr.h index 83c987315..66c03dce7 100644 --- a/tools/qfcc/include/expr.h +++ b/tools/qfcc/include/expr.h @@ -1,12 +1,12 @@ /* - #FILENAME# + expr.h - #DESCRIPTION# + expression construction and manipulations - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/06/15 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/function.h b/tools/qfcc/include/function.h index 967bcf2bc..d4c0d220c 100644 --- a/tools/qfcc/include/function.h +++ b/tools/qfcc/include/function.h @@ -1,12 +1,12 @@ /* - #FILENAME# + function.h - #DESCRIPTION# + QC function support code - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/05/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/idstuff.h b/tools/qfcc/include/idstuff.h index 88e87651e..1ec63b3ae 100644 --- a/tools/qfcc/include/idstuff.h +++ b/tools/qfcc/include/idstuff.h @@ -1,12 +1,12 @@ /* idstuff.h - #DESCRIPTION# + qcc compatable output stuff - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/immediate.h b/tools/qfcc/include/immediate.h index d77c298d3..0d8d01efd 100644 --- a/tools/qfcc/include/immediate.h +++ b/tools/qfcc/include/immediate.h @@ -1,12 +1,12 @@ /* immediate.h - #DESCRIPTION# + shared immediate value handling - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/method.h b/tools/qfcc/include/method.h index 190411473..802e736ef 100644 --- a/tools/qfcc/include/method.h +++ b/tools/qfcc/include/method.h @@ -1,12 +1,12 @@ /* - #FILENAME# + method.h - #DESCRIPTION# + QC method support code - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/05/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/opcodes.h b/tools/qfcc/include/opcodes.h index b2c2df654..7533cf7e2 100644 --- a/tools/qfcc/include/opcodes.h +++ b/tools/qfcc/include/opcodes.h @@ -1,12 +1,12 @@ /* opcodes.h - #DESCRIPTION# + opcode searching - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/options.h b/tools/qfcc/include/options.h index 1b2fa9138..e49340347 100644 --- a/tools/qfcc/include/options.h +++ b/tools/qfcc/include/options.h @@ -1,12 +1,12 @@ /* - #FILENAME# + options.h - #DESCRIPTION# + command line options handlnig - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Jeff Teunissen - Author: #AUTHOR# - Date: #DATE# + Author: Jeff Teunissen + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/qfcc.h b/tools/qfcc/include/qfcc.h index 388fc6188..00f4feacb 100644 --- a/tools/qfcc/include/qfcc.h +++ b/tools/qfcc/include/qfcc.h @@ -1,12 +1,11 @@ /* qfcc.h - #DESCRIPTION# + QuakeForge Code Compiler (main program) - Copyright (C) 2001 #AUTHOR# - - Author: #AUTHOR# - Date: #DATE# + Copyright (C) 1996-1997 id Software, Inc. + Copyright (C) 2001 Jeff Teunissen + Copyright (C) 2001 Bill Currie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/reloc.h b/tools/qfcc/include/reloc.h index 4fc9d07d1..0c370dd3f 100644 --- a/tools/qfcc/include/reloc.h +++ b/tools/qfcc/include/reloc.h @@ -1,12 +1,12 @@ /* reloc.h - #DESCRIPTION# + relocation support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/07 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/struct.h b/tools/qfcc/include/struct.h index 07b82b505..07cf6b12a 100644 --- a/tools/qfcc/include/struct.h +++ b/tools/qfcc/include/struct.h @@ -1,12 +1,12 @@ /* - #FILENAME# + struct.h - #DESCRIPTION# + structure support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/12/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/switch.h b/tools/qfcc/include/switch.h index e3c9ad2bd..a19b34347 100644 --- a/tools/qfcc/include/switch.h +++ b/tools/qfcc/include/switch.h @@ -1,12 +1,12 @@ /* - #FILENAME# + switch.h - #DESCRIPTION# + qc switch statement support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/10/25 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/include/type.h b/tools/qfcc/include/type.h index 1ad2140e2..4335bf922 100644 --- a/tools/qfcc/include/type.h +++ b/tools/qfcc/include/type.h @@ -1,12 +1,12 @@ /* - #FILENAME# + type.h - #DESCRIPTION# + type system - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/12/11 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/class.c b/tools/qfcc/source/class.c index 1e2f0b46d..3831546d7 100644 --- a/tools/qfcc/source/class.c +++ b/tools/qfcc/source/class.c @@ -1,7 +1,7 @@ /* - function.c + class.c - QC function support code + QC class support code Copyright (C) 2002 Bill Currie @@ -64,9 +64,9 @@ static hashtab_t *class_hash; static hashtab_t *category_hash; static hashtab_t *protocol_hash; -class_t class_id = {1, "id", 0, 0, 0, 0, 0, 0, &type_id}; -class_t class_Class = {1, "Class", 0, 0, 0, 0, 0, 0, &type_Class}; -class_t class_Protocol = {1, "Protocl", 0, 0, 0, 0, 0, 0, &type_Protocol}; +class_t class_id = {1, "id", 0, 0, 0, 0, 0, 0, &type_id}; +class_t class_Class = {1, "Class", 0, 0, 0, 0, 0, 0, &type_Class}; +class_t class_Protocol = {1, "Protocl", 0, 0, 0, 0, 0, 0, &type_Protocol}; static const char * class_get_key (void *class, void *unused) diff --git a/tools/qfcc/source/cpp.c b/tools/qfcc/source/cpp.c index 437ddc1fb..4e438e202 100644 --- a/tools/qfcc/source/cpp.c +++ b/tools/qfcc/source/cpp.c @@ -3,10 +3,10 @@ cpp preprocessing support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/debug.c b/tools/qfcc/source/debug.c index ba3d2b34c..4df9a38c1 100644 --- a/tools/qfcc/source/debug.c +++ b/tools/qfcc/source/debug.c @@ -1,12 +1,12 @@ /* - #FILENAME# + debug.c - #DESCRIPTION# + debug info support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/7/14 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/def.c b/tools/qfcc/source/def.c index f620fbd94..cac9183f2 100644 --- a/tools/qfcc/source/def.c +++ b/tools/qfcc/source/def.c @@ -1,20 +1,32 @@ -/* Copyright (C) 1996-1997 Id Software, Inc. +/* + def.c - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + def management and symbol tables - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Copyright (C) 2002 Bill Currie + Copyright (C) 1996-1997 Id Software, Inc. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Author: Bill Currie + Date: 2002/06/09 + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA - See file, 'COPYING', for details. */ static const char rcsid[] = "$Id$"; diff --git a/tools/qfcc/source/emit.c b/tools/qfcc/source/emit.c index e55766a5b..3f8d6377c 100644 --- a/tools/qfcc/source/emit.c +++ b/tools/qfcc/source/emit.c @@ -1,12 +1,12 @@ /* - #FILENAME# + emit.c - #DESCRIPTION# + statement emittion - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/07/26 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index 20bdde91f..63c8a37f8 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1,12 +1,12 @@ /* - #FILENAME# + expr.c - #DESCRIPTION# + expression construction and manipulations - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/06/15 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/idstuff.c b/tools/qfcc/source/idstuff.c index 1d91c1e72..99a6dcef0 100644 --- a/tools/qfcc/source/idstuff.c +++ b/tools/qfcc/source/idstuff.c @@ -1,20 +1,32 @@ -/* Copyright (C) 1996-1997 Id Software, Inc. +/* + idstuff.c - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + qcc compatable output stuff - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Copyright (C) 2002 Bill Currie + Copyright (C) 1996-1997 Id Software, Inc. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Author: Bill Currie + Date: 2002/06/04 + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA - See file, 'COPYING', for details. */ static const char rcsid[] = "$Id$"; diff --git a/tools/qfcc/source/immediate.c b/tools/qfcc/source/immediate.c index 43cad0f4d..e6829711e 100644 --- a/tools/qfcc/source/immediate.c +++ b/tools/qfcc/source/immediate.c @@ -1,20 +1,31 @@ -/* Copyright (C) 1996-1997 Id Software, Inc. +/* + immediate.c - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + shared immediate value handling - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Copyright (C) 2002 Bill Currie - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Author: Bill Currie + Date: 2002/06/04 + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA - See file, 'COPYING', for details. */ static const char rcsid[] = "$Id$"; diff --git a/tools/qfcc/source/opcodes.c b/tools/qfcc/source/opcodes.c index 0f4a3dcaa..8a896b678 100644 --- a/tools/qfcc/source/opcodes.c +++ b/tools/qfcc/source/opcodes.c @@ -1,20 +1,31 @@ -/* Copyright (C) 1996-1997 Id Software, Inc. +/* + opcodes.c - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + opcode searching - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Copyright (C) 2002 Bill Currie - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Author: Bill Currie + Date: 2002/06/01 + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA - See file, 'COPYING', for details. */ static const char rcsid[] = "$Id$"; diff --git a/tools/qfcc/source/options.c b/tools/qfcc/source/options.c index 912c2182b..661b75730 100644 --- a/tools/qfcc/source/options.c +++ b/tools/qfcc/source/options.c @@ -3,10 +3,10 @@ command line options handlnig - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Jeff Teunissen - Author: #AUTHOR# - Date: #DATE# + Author: Jeff Teunissen + Date: 2002/06/04 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/qfodump.c b/tools/qfcc/source/qfodump.c index 5e5c92eb2..e5adcd496 100644 --- a/tools/qfcc/source/qfodump.c +++ b/tools/qfcc/source/qfodump.c @@ -1,12 +1,12 @@ /* - #FILENAME# + qfodump.c - #DESCRIPTION# + qfcc object file dumping - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/07/12 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/reloc.c b/tools/qfcc/source/reloc.c index 3b44a9d26..3a82c172b 100644 --- a/tools/qfcc/source/reloc.c +++ b/tools/qfcc/source/reloc.c @@ -1,12 +1,12 @@ /* - #FILENAME# + reloc.c - #DESCRIPTION# + relocation support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2002 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2002/06/07 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/struct.c b/tools/qfcc/source/struct.c index 885f03685..8d0a4b31e 100644 --- a/tools/qfcc/source/struct.c +++ b/tools/qfcc/source/struct.c @@ -1,12 +1,12 @@ /* - #FILENAME# + struct.c - #DESCRIPTION# + structure support - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/12/08 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qfcc/source/type.c b/tools/qfcc/source/type.c index 8b8ad29b8..367871ae9 100644 --- a/tools/qfcc/source/type.c +++ b/tools/qfcc/source/type.c @@ -1,12 +1,12 @@ /* - #FILENAME# + type.c - #DESCRIPTION# + type system - Copyright (C) 2001 #AUTHOR# + Copyright (C) 2001 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2001/12/11 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License