diff --git a/sc2/src/msvc++/Starcon2.dsp b/sc2/src/msvc++/Starcon2.dsp index 53c12bdcd..14072d2f9 100644 --- a/sc2/src/msvc++/Starcon2.dsp +++ b/sc2/src/msvc++/Starcon2.dsp @@ -530,10 +530,6 @@ SOURCE=..\sc2code\libs\declib.h # End Source File # Begin Source File -SOURCE=..\sc2code\libs\errlib.h -# End Source File -# Begin Source File - SOURCE=..\sc2code\libs\gfxlib.h # End Source File # Begin Source File diff --git a/sc2/src/sc2code/libs/Makefile.am b/sc2/src/sc2code/libs/Makefile.am index 9ef5b8f29..1482c4e56 100644 --- a/sc2/src/sc2code/libs/Makefile.am +++ b/sc2/src/sc2code/libs/Makefile.am @@ -2,7 +2,7 @@ SUBDIRS = decomp graphics input math memory resource sound strings \ task threads time video noinst_HEADERS = \ - compiler.h declib.h errlib.h gfxlib.h inplib.h mathlib.h \ + compiler.h declib.h gfxlib.h inplib.h mathlib.h \ memlib.h reslib.h sndlib.h strlib.h tasklib.h threadlib.h \ timelib.h vargs.h vidlib.h misc.h diff --git a/sc2/src/sc2code/libs/errlib.h b/sc2/src/sc2code/libs/errlib.h deleted file mode 100644 index 2f3873823..000000000 --- a/sc2/src/sc2code/libs/errlib.h +++ /dev/null @@ -1,48 +0,0 @@ -//Copyright Paul Reiche, Fred Ford. 1992-2002 - -/* - * 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 the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -#ifndef _ERRLIB_H -#define _ERRLIB_H - -#include "compiler.h" -#include "vargs.h" - -typedef SWORD ERR_ID; -typedef DWORD ERR_NO; - -typedef BOOLEAN ERR_BOOL; -#define ERR_FAILURE FALSE -#define ERR_SUCCESS TRUE - -typedef enum -{ - ERR_IN_MEMORY, - ERR_IN_FILE -} ERR_LOC; - -extern ERR_ID err_register (PSTR module_name, ERR_LOC err_loc, PSTR - err_string_path, COUNT num_errors); -extern ERR_BOOL err_unregister (ERR_ID err_id); -extern ERR_BOOL err_push (ERR_ID err_id, PSTR func_name, ERR_NO err_no, - vararg_dcl alist, ...); -extern ERR_BOOL err_clear (void); -extern ERR_BOOL err_report (ERR_BOOL (*err_func) (COUNT top_stack, PSTR - mname, PSTR fname, PSTR pStr)); - -#endif /* _ERRLIB_H */ -