DEADSOFTWARE

f52be8b093009b1de67e6161b7ee479900b221cd
[flatwaifu.git] / src / my.h
1 /*
2 Copyright (C) Prikol Software 1996-1997
3 Copyright (C) Aleksey Volynskov 1996-1997
5 This file is part of the Doom2D:Rembo project.
7 Doom2D:Rembo is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as
9 published by the Free Software Foundation.
11 Doom2D:Rembo is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, see <http://www.gnu.org/licenses/> or
18 write to the Free Software Foundation, Inc.,
19 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #include <stdio.h>
27 #include <stdint.h>
29 void mysplitpath (const char *path, char *drv, char *dir, char *name, char *ext);
31 size_t myfreadc(void *ptr, size_t size, size_t n, FILE *f);
33 void myfread (void *ptr, size_t size, size_t n, FILE *f);
34 int8_t myfread8 (FILE *f);
35 int16_t myfread16 (FILE *f);
36 int32_t myfread32 (FILE *f);
38 void myfwrite(void *ptr, size_t size, size_t n, FILE *f);
39 void myfwrite8 (int8_t x, FILE *f);
40 void myfwrite16 (int16_t x, FILE *f);
41 void myfwrite32 (int32_t x, FILE *f);
43 void myrandomize (void);
44 int fexists (char *filename);
46 #ifdef __cplusplus
47 }
48 #endif