From: Alexey Aleshkov Date: Sun, 10 Dec 2017 11:16:58 +0000 (+0300) Subject: Expose `fexists` function X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=commitdiff_plain;h=8e453e73a1f6cbbc133f45bf909488cf1cd12fc5 Expose `fexists` function --- diff --git a/src/config.c b/src/config.c index 2985a4f..5751a16 100644 --- a/src/config.c +++ b/src/config.c @@ -35,6 +35,7 @@ #include "memory.h" #include "view.h" #include "player.h" +#include "my.h" #include diff --git a/src/main.c b/src/main.c index e1fce37..50387ff 100644 --- a/src/main.c +++ b/src/main.c @@ -40,6 +40,7 @@ #include "menu.h" #include "player.h" #include "misc.h" +#include "my.h" #include diff --git a/src/my.h b/src/my.h new file mode 100644 index 0000000..607cccd --- /dev/null +++ b/src/my.h @@ -0,0 +1,30 @@ +/* + 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 +*/ + +#ifdef __cplusplus +extern "C" { +#endif + +int fexists(char * filename); + +#ifdef __cplusplus +} +#endif