/* 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 #include "glob.h" #define SAVE_MAX 7 #define SAVE_MAXLEN 24 extern char savname[SAVE_MAX][SAVE_MAXLEN]; extern char savok[SAVE_MAX]; extern int d_start, d_end; void F_addwad (const char *fn); void F_initwads (void); int F_findres (const char n[8]); int F_getresid (const char n[8]); void F_getresname (char n[8], int r); int F_getsprid (const char n[4], int s, int d, char *dir); int F_getreslen (int r); // void F_nextmus (char *s); // void F_randmus (char *s); void F_loadmap (char n[8]); void F_getsavnames (void); void F_savegame (int n, char *s); void F_loadgame (int n); #endif /* FILES_H_INCLUDED */