X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Ffiles.h;h=5433bfc15b16acb69580b2b73aa0a0822b18fe07;hb=b56f1875b3e8f5c2dfe1f00e35bc3b103044870a;hp=ee1b8bb67e4e979b758b62eb4a0f0783ab073aca;hpb=563dffaf02ff36da4054f937fcc9f99a072e15bf;p=flatwaifu.git diff --git a/src/files.h b/src/files.h index ee1b8bb..5433bfc 100644 --- a/src/files.h +++ b/src/files.h @@ -1,23 +1,19 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - - This file is part of the Doom2D:Rembo project. - - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - Doom2D:Rembo 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, see or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * Copyright (C) 2020 SovietPony + * + * 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, version 3 of the License ONLY. + * + * 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, see . + */ #ifndef FILES_H_INCLUDED #define FILES_H_INCLUDED @@ -44,7 +40,8 @@ typedef struct { extern int d_start, d_end; extern mwad_t wad[MAX_WAD]; -extern map_block_t blk; +extern char wads[MAX_WADS][__MAX_PATH]; +extern FILE* wadh[MAX_WADS]; void F_startup (void); void F_addwad (const char *fn); @@ -59,6 +56,5 @@ int F_getreslen (int r); void F_nextmus (char *s); void F_randmus (char *s); void F_readstr (FILE* h, char *s, int m); -void F_loadmap (char n[8]); #endif /* FILES_H_INCLUDED */