mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
Fixes default text speed (#207)
* Fixes text speed * Adds text speed default to ConfigFile.cpp + removes workaround
This commit is contained in:
parent
17858fb67c
commit
bb3227a7c2
@ -2,6 +2,7 @@
|
|||||||
#include "spdlog/spdlog.h"
|
#include "spdlog/spdlog.h"
|
||||||
#include "GlobalCtx2.h"
|
#include "GlobalCtx2.h"
|
||||||
#include "Window.h"
|
#include "Window.h"
|
||||||
|
#include "GameSettings.h"
|
||||||
|
|
||||||
namespace Ship {
|
namespace Ship {
|
||||||
ConfigFile::ConfigFile(std::shared_ptr<GlobalCtx2> Context, const std::string& Path) : Context(Context), Path(Path), File(Path.c_str()) {
|
ConfigFile::ConfigFile(std::shared_ptr<GlobalCtx2> Context, const std::string& Path) : Context(Context), Path(Path), File(Path.c_str()) {
|
||||||
@ -149,6 +150,8 @@ namespace Ship {
|
|||||||
(*this)["KEYBOARD CONTROLLER BINDING 4"][STR(BTN_STICKDOWN)] = std::to_string(0x01F);
|
(*this)["KEYBOARD CONTROLLER BINDING 4"][STR(BTN_STICKDOWN)] = std::to_string(0x01F);
|
||||||
(*this)["KEYBOARD CONTROLLER BINDING 4"][STR(BTN_STICKUP)] = std::to_string(0x011);
|
(*this)["KEYBOARD CONTROLLER BINDING 4"][STR(BTN_STICKUP)] = std::to_string(0x011);
|
||||||
|
|
||||||
|
(*this)["ENHANCEMENT SETTINGS"]["TEXT_SPEED"] = "1";
|
||||||
|
|
||||||
(*this)["SDL CONTROLLER 1"]["GUID"] = "";
|
(*this)["SDL CONTROLLER 1"]["GUID"] = "";
|
||||||
(*this)["SDL CONTROLLER 2"]["GUID"] = "";
|
(*this)["SDL CONTROLLER 2"]["GUID"] = "";
|
||||||
(*this)["SDL CONTROLLER 3"]["GUID"] = "";
|
(*this)["SDL CONTROLLER 3"]["GUID"] = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user