mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
27c0c9c342
That section was only ever read in for little profit and never written out! Keyboard input is actually dispatched as OSD commands for a good while, so that old cruft has to go! git-svn-id: https://svn.eduke32.com/eduke32@3125 1a8010ca-5511-0410-912e-c29ae57300e0
46 lines
1.6 KiB
C
46 lines
1.6 KiB
C
//-------------------------------------------------------------------------
|
|
/*
|
|
Copyright (C) 2010 EDuke32 developers and contributors
|
|
|
|
This file is part of EDuke32.
|
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License version 2
|
|
as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
//-------------------------------------------------------------------------
|
|
|
|
#ifndef _config_public
|
|
#define _config_public
|
|
|
|
#define SETUPNAMEPARM "SETUPFILE"
|
|
|
|
int32_t CONFIG_ReadSetup( void );
|
|
void CONFIG_GetSetupFilename( void );
|
|
void CONFIG_WriteSetup(uint32_t flags);
|
|
void CONFIG_SetupMouse( void );
|
|
void CONFIG_SetupJoystick( void );
|
|
void CONFIG_SetDefaultKeys(int32_t type);
|
|
|
|
int32_t CONFIG_GetMapBestTime(char *mapname);
|
|
int32_t CONFIG_SetMapBestTime(char *mapname, int32_t tm);
|
|
|
|
void CONFIG_MapKey(int32_t which, kb_scancode key1, kb_scancode oldkey1, kb_scancode key2, kb_scancode oldkey2);
|
|
|
|
int32_t CONFIG_FunctionNameToNum(const char *func);
|
|
char *CONFIG_FunctionNumToName(int32_t func);
|
|
int32_t CONFIG_AnalogNameToNum(const char *func);
|
|
const char *CONFIG_AnalogNumToName(int32_t func);
|
|
void CONFIG_SetDefaults(void);
|
|
|
|
#endif
|