ReactOS 0.4.15-dev-7842-g558ab78
settings.h
Go to the documentation of this file.
1/*
2 * Star field screensaver
3 *
4 * Copyright 2011 Carlo Bramini
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library 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 GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef __SETTINGS_H__
22#define __SETTINGS_H__
23
24#define ROTATION_NONE 0
25#define ROTATION_LINEAR 1
26#define ROTATION_PERIODIC 2
27#define ROTATION_ITEMS 3
28
29#define MIN_STARS 10
30#define MAX_STARS 500
31
32#define MIN_SPEED 1
33#define MAX_SPEED 100
34
35typedef struct {
43} SSSTARS;
44
45extern SSSTARS Settings;
46
47void LoadSettings(void);
48void SaveSettings(void);
49
50#endif
void SaveSettings(void)
Definition: settings.c:115
void LoadSettings(void)
Definition: settings.c:53
unsigned long DWORD
Definition: ntddk_ex.h:95
SSSTARS Settings
Definition: charmap.c:25
DWORD bFinePerspective
Definition: settings.h:40
DWORD uiRotation
Definition: settings.h:38
DWORD bSmoothShading
Definition: settings.h:42
DWORD bEnableFiltering
Definition: settings.h:41
DWORD bDoBlending
Definition: settings.h:39
DWORD uiNumStars
Definition: settings.h:36
DWORD uiSpeed
Definition: settings.h:37