…aaand add PREFIX to the freebsd makefile too
[voxelands-alt.git] / src / server / dummy_commands.c
blob5a07cfecda9ca58bd0d99e89e1268c16d2978d2d
1 /************************************************************************
2 * dummy_commands.c
3 * voxelands - 3d voxel world sandbox game
4 * Copyright (C) Lisa 'darkrose' Milne 2016 <lisa@ltmnet.com>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the 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/>
18 ************************************************************************/
20 #include "common.h"
22 /* these are dummy functions, so config_default.c and command.c don't
23 * have to be compiled twice, and all commands work even if they do
24 * nothing */
26 /* setters */
27 int wm_width_setter(char* value)
29 return 0;
31 int wm_height_setter(char* value)
33 return 0;
35 int wm_cap_setter(char* value)
37 return 0;
39 int wm_fullscreen_setter(char* value)
41 return 0;
43 int opengl_anisotropic_setter(char* value)
45 return 0;
47 int opengl_bilinear_setter(char* value)
49 return 0;
51 int opengl_trilinear_setter(char* value)
53 return 0;
55 int opengl_mipmap_setter(char* value)
57 return 0;
59 int opengl_particles_setter(char* value)
61 return 0;
63 int opengl_particles_max_setter(char* value)
65 return 0;
67 int opengl_bumpmap_setter(char* value)
69 return 0;
72 /* commands */
73 int event_bind(array_t *args)
75 return 0;
78 /* other */
79 void events_save(file_t *f)