tennis.map: Texture tweak
[neverball] / share / fs_ov.c
1 /*
2  * Copyright (C) 2003-2010 Neverball authors
3  *
4  * NEVERBALL is  free software; you can redistribute  it and/or modify
5  * it under the  terms of the GNU General  Public License as published
6  * by the Free  Software Foundation; either version 2  of the License,
7  * or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of
11  * MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU
12  * General Public License for more details.
13  */
14
15 #include "fs.h"
16 #include "fs_ov.h"
17
18 size_t fs_ov_read(void *ptr, size_t size, size_t nmemb, void *datasource)
19 {
20     return fs_read(ptr, size, nmemb, datasource);
21 }
22
23 int fs_ov_seek(void *datasource, ogg_int64_t offset, int whence)
24 {
25     return fs_seek(datasource, offset, whence);
26 }
27
28 int fs_ov_close(void *datasource)
29 {
30     return fs_close(datasource);
31 }
32
33 long fs_ov_tell(void *datasource)
34 {
35     return fs_tell(datasource);
36 }