From 14fc2d0b6ca6b604726a915437dc38465aa995e2 Mon Sep 17 00:00:00 2001 From: Chris Ison Date: Fri, 25 May 2001 20:31:47 +0000 Subject: [PATCH] added GPL comments and fixed missing include in gib_modules.c --- include/QF/gib.h | 31 +++++++++++++++++++++++++++++++ include/gib_error.h | 31 +++++++++++++++++++++++++++++++ include/gib_instructions.h | 31 +++++++++++++++++++++++++++++++ include/gib_interpret.h | 31 +++++++++++++++++++++++++++++++ include/gib_modules.h | 31 +++++++++++++++++++++++++++++++ include/gib_parse.h | 31 +++++++++++++++++++++++++++++++ include/gib_stack.h | 31 +++++++++++++++++++++++++++++++ include/gib_vars.h | 31 +++++++++++++++++++++++++++++++ libs/gib/gib.c | 31 +++++++++++++++++++++++++++++++ libs/gib/gib_instructions.c | 31 +++++++++++++++++++++++++++++++ libs/gib/gib_interpret.c | 31 +++++++++++++++++++++++++++++++ libs/gib/gib_modules.c | 35 +++++++++++++++++++++++++++++++++++ libs/gib/gib_parse.c | 31 +++++++++++++++++++++++++++++++ libs/gib/gib_stack.c | 31 +++++++++++++++++++++++++++++++ libs/gib/gib_vars.c | 31 +++++++++++++++++++++++++++++++ 15 files changed, 469 insertions(+) diff --git a/include/QF/gib.h b/include/QF/gib.h index f7ff724d5..fc89aee68 100644 --- a/include/QF/gib.h +++ b/include/QF/gib.h @@ -1,3 +1,34 @@ +/* + gib.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifndef __GIB_H #define __GIB_H diff --git a/include/gib_error.h b/include/gib_error.h index 8a31d714f..a757cf347 100644 --- a/include/gib_error.h +++ b/include/gib_error.h @@ -1,3 +1,34 @@ +/* + gib_error.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #define GIB_E_EXIT -2 #define GIB_E_RETURN -1 #define GIB_E_PARSE 1 diff --git a/include/gib_instructions.h b/include/gib_instructions.h index e681fb5ae..1be5dc82b 100644 --- a/include/gib_instructions.h +++ b/include/gib_instructions.h @@ -1,3 +1,34 @@ +/* + gib_instructions.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #include "QF/gib.h" void GIB_AddInstruction (char *name, gib_func_t func); diff --git a/include/gib_interpret.h b/include/gib_interpret.h index a1163295a..bebaf25ed 100644 --- a/include/gib_interpret.h +++ b/include/gib_interpret.h @@ -1,3 +1,34 @@ +/* + gib_interpret.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #include "QF/gib.h" #define GIB_MAXCALLS 2048 diff --git a/include/gib_modules.h b/include/gib_modules.h index 358427043..8c0982695 100644 --- a/include/gib_modules.h +++ b/include/gib_modules.h @@ -1,3 +1,34 @@ +/* + gib_modules.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #include "QF/gib.h" #include "QF/quakeio.h" diff --git a/include/gib_parse.h b/include/gib_parse.h index 3eeda3ada..baeaf237d 100644 --- a/include/gib_parse.h +++ b/include/gib_parse.h @@ -1,3 +1,34 @@ +/* + gib_parse.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #include "QF/gib.h" int GIB_Get_Inst (char *start); diff --git a/include/gib_stack.h b/include/gib_stack.h index 1340b9c93..1b54e801d 100644 --- a/include/gib_stack.h +++ b/include/gib_stack.h @@ -1,3 +1,34 @@ +/* + gib_stack.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #include "QF/gib.h" #define GIB_LOCALS gib_substack[gib_subsp - 1].local diff --git a/include/gib_vars.h b/include/gib_vars.h index 4b5114192..dee9e37e1 100644 --- a/include/gib_vars.h +++ b/include/gib_vars.h @@ -1,3 +1,34 @@ +/* + gib_vars.h + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #include "QF/gib.h" gib_var_t *GIB_Var_FindLocal (char *key); diff --git a/libs/gib/gib.c b/libs/gib/gib.c index 58fa2b187..5a2951036 100644 --- a/libs/gib/gib.c +++ b/libs/gib/gib.c @@ -1,3 +1,34 @@ +/* + gib.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifdef HAVE_CONFIG_H # include #endif diff --git a/libs/gib/gib_instructions.c b/libs/gib/gib_instructions.c index f01ae83dd..5aafd970e 100644 --- a/libs/gib/gib_instructions.c +++ b/libs/gib/gib_instructions.c @@ -1,3 +1,34 @@ +/* + gib_instructions.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifdef HAVE_CONFIG_H # include #endif diff --git a/libs/gib/gib_interpret.c b/libs/gib/gib_interpret.c index 2287b3538..fc172d428 100644 --- a/libs/gib/gib_interpret.c +++ b/libs/gib/gib_interpret.c @@ -1,3 +1,34 @@ +/* + gib_interpret.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifdef HAVE_CONFIG_H # include #endif diff --git a/libs/gib/gib_modules.c b/libs/gib/gib_modules.c index ffd2fb991..2c3dcf814 100644 --- a/libs/gib/gib_modules.c +++ b/libs/gib/gib_modules.c @@ -1,3 +1,37 @@ +/* + gib_modules.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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: + + along with this program; if not, write to: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA + + $Id$ + +*/ + #ifdef HAVE_CONFIG_H # include #endif @@ -8,6 +42,7 @@ # include #endif #include +#include #include "QF/console.h" #include "QF/gib.h" diff --git a/libs/gib/gib_parse.c b/libs/gib/gib_parse.c index 5b66708e2..3c0a8180b 100644 --- a/libs/gib/gib_parse.c +++ b/libs/gib/gib_parse.c @@ -1,3 +1,34 @@ +/* + gib_parse.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifdef HAVE_CONFIG_H # include #endif diff --git a/libs/gib/gib_stack.c b/libs/gib/gib_stack.c index 1d7581c6f..d8c233d59 100644 --- a/libs/gib/gib_stack.c +++ b/libs/gib/gib_stack.c @@ -1,3 +1,34 @@ +/* + gib_stack.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifdef HAVE_CONFIG_H # include #endif diff --git a/libs/gib/gib_vars.c b/libs/gib/gib_vars.c index 22be9068a..fedecc06c 100644 --- a/libs/gib/gib_vars.c +++ b/libs/gib/gib_vars.c @@ -1,3 +1,34 @@ +/* + gib_vars.c + + #DESCRIPTION# + + Copyright (C) 2000 #AUTHOR# + + Author: #AUTHOR# + Date: #DATE# + + 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 + + $Id$ +*/ + #ifdef HAVE_CONFIG_H # include #endif