2019-09-18 22:27:46 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
Copyright (C) 2016 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2019-09-21 18:59:54 +00:00
|
|
|
#include "ns.h" // Must come before everything else!
|
|
|
|
|
2019-09-18 22:27:46 +00:00
|
|
|
#include "duke3d.h"
|
|
|
|
#include "osdcmds.h"
|
|
|
|
#include "renderlayer.h"
|
|
|
|
#include "cmdline.h"
|
|
|
|
|
|
|
|
// we load this in to get default button and key assignments
|
|
|
|
// as well as setting up function mappings
|
|
|
|
|
2019-09-21 22:10:48 +00:00
|
|
|
BEGIN_RR_NS
|
|
|
|
|
2019-12-23 18:37:40 +00:00
|
|
|
int32_t CONFIG_ReadSetup(void)
|
2019-09-18 22:27:46 +00:00
|
|
|
{
|
2019-10-22 22:59:01 +00:00
|
|
|
g_player[0].ps->aim_mode = 1;
|
2019-09-18 22:27:46 +00:00
|
|
|
ud.config.ShowOpponentWeapons = 0;
|
|
|
|
ud.automsg = 0;
|
|
|
|
ud.camerasprite = -1;
|
|
|
|
|
2019-12-23 18:37:40 +00:00
|
|
|
ud.camera_time = 0;//4;
|
2019-09-18 22:27:46 +00:00
|
|
|
|
2019-12-23 18:37:40 +00:00
|
|
|
ud.screen_tilting = 1;
|
2019-09-18 22:27:46 +00:00
|
|
|
ud.statusbarflags = STATUSBAR_NOSHRINK;
|
|
|
|
ud.statusbarscale = 100;
|
2019-11-09 18:15:03 +00:00
|
|
|
playerteam = 0;
|
2019-09-18 22:27:46 +00:00
|
|
|
ud.angleinterpolation = 0;
|
2019-06-08 11:38:08 +00:00
|
|
|
|
2019-09-18 22:27:46 +00:00
|
|
|
ud.display_bonus_screen = 1;
|
|
|
|
ud.show_level_text = 1;
|
|
|
|
ud.screenfade = 1;
|
|
|
|
ud.menubackground = 1;
|
|
|
|
ud.slidebar_paldisabled = 1;
|
|
|
|
ud.shadow_pal = 4;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-09-21 22:10:48 +00:00
|
|
|
END_RR_NS
|