Subversion Repositories eduke32

Rev

Rev 6055 | Rev 7123 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 Plagman 1
//-------------------------------------------------------------------------
2
/*
1652 terminx 3
Copyright (C) 2010 EDuke32 developers and contributors
5 Plagman 4
 
1652 terminx 5
This file is part of EDuke32.
5 Plagman 6
 
484 terminx 7
EDuke32 is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License version 2
9
as published by the Free Software Foundation.
5 Plagman 10
 
11
This program 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.
14
 
15
See the GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
4541 hendricks2 19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
5 Plagman 20
*/
21
//-------------------------------------------------------------------------
22
 
23
//****************************************************************************
24
//
25
// gamedefs.h
26
//
27
// common defines between the game and the setup program
28
//
29
//****************************************************************************
30
 
4747 terminx 31
#ifndef gamedefs_public_h_
32
#define gamedefs_public_h_
4766 hendricks2 33
#ifdef __cplusplus
34
extern "C" {
5 Plagman 35
#endif
36
 
6015 terminx 37
// config file name
6010 terminx 38
#define SETUPFILENAME APPBASENAME ".cfg"
5 Plagman 39
 
6056 hendricks2 40
// KEEPINSYNC mact/include/_control.h, build/src/sdlayer.cpp
4826 hendricks2 41
#define MAXJOYBUTTONS 32
42
#define MAXJOYBUTTONSANDHATS (MAXJOYBUTTONS+4)
5 Plagman 43
 
6056 hendricks2 44
// KEEPINSYNC mact/include/_control.h, build/src/sdlayer.cpp
5 Plagman 45
#define MAXMOUSEAXES 2
4826 hendricks2 46
#define MAXMOUSEDIGITAL (MAXMOUSEAXES*2)
5 Plagman 47
 
6056 hendricks2 48
// KEEPINSYNC mact/include/_control.h, build/src/sdlayer.cpp
4827 hendricks2 49
#define MAXJOYAXES 9
4826 hendricks2 50
#define MAXJOYDIGITAL (MAXJOYAXES*2)
5 Plagman 51
 
6015 terminx 52
// default mouse sensitivity and scale
2728 hendricks2 53
#define DEFAULTMOUSESENSITIVITY             7
54
#define DEFAULTMOUSEANALOGUESCALE           65536
5 Plagman 55
 
6015 terminx 56
// default joystick settings
2728 hendricks2 57
 
58
#if defined(GEKKO)
59
#define DEFAULTJOYSTICKANALOGUESCALE        16384
60
#define DEFAULTJOYSTICKANALOGUEDEAD         1000
61
#define DEFAULTJOYSTICKANALOGUESATURATE     9500
62
#else
63
#define DEFAULTJOYSTICKANALOGUESCALE        65536
64
#define DEFAULTJOYSTICKANALOGUEDEAD         1000
65
#define DEFAULTJOYSTICKANALOGUESATURATE     9500
66
#endif
67
 
4766 hendricks2 68
#ifdef __cplusplus
69
}
5 Plagman 70
#endif
71
#endif
72