Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/bensch/orxonox_gui_file.c @ 1817

Last change on this file since 1817 was 1817, checked in by bensch, 21 years ago

orxonox/branches/bensch: added default settings and video-init

File size: 563 bytes
Line 
1#include <stdio.h>
2#include <stdlib.h>
3#include <sys/stat.h>
4#include "orxonox_gui_file.h"
5
6
7void orxonox_gui_file_default (struct settings *orxonox_settings)
8{
9  if (verbose >= 1)
10    printf("Setting orxonox to it's default settings.\n");
11
12  orxonox_settings->video_fullscreen = 1;
13  orxonox_settings->video_wireframe = 0;
14 
15  orxonox_settings->audio_enable_sound = 1;
16  orxonox_settings->audio_music_volume = 80;
17  orxonox_settings->audio_effects_volume = 80;
18 
19  orxonox_settings->exec_save_settings = 1;
20  orxonox_settings->exec_show_menu = 0;
21
22  return;
23}
Note: See TracBrowser for help on using the repository browser.