summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a429ec)
raw | patch | inline | side by side (parent: 0a429ec)
author | Alexey Aleshkov <djmadcat@gmail.com> | |
Sun, 10 Dec 2017 11:16:58 +0000 (14:16 +0300) | ||
committer | Alexey Aleshkov <djmadcat@gmail.com> | |
Sun, 10 Dec 2017 11:32:10 +0000 (14:32 +0300) |
src/config.c | patch | blob | history | |
src/main.c | patch | blob | history | |
src/my.h | [new file with mode: 0644] | patch | blob |
diff --git a/src/config.c b/src/config.c
index 2985a4f8e6e0e427736db2c2a700a49e873601c4..5751a16173198a2ae43ec26ebb6d3c57470fa344 100644 (file)
--- a/src/config.c
+++ b/src/config.c
#include "memory.h"
#include "view.h"
#include "player.h"
+#include "my.h"
#include <SDL_keyboard.h>
diff --git a/src/main.c b/src/main.c
index e1fce3757293a3a9d3be55d89c8f6213589fe812..50387ff9569990323880d872d55ffb8298652315 100644 (file)
--- a/src/main.c
+++ b/src/main.c
#include "menu.h"
#include "player.h"
#include "misc.h"
+#include "my.h"
#include <SDL.h>
diff --git a/src/my.h b/src/my.h
--- /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 <http://www.gnu.org/licenses/> 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