Commit graph

23 commits

Author SHA1 Message Date
Clownacy
2b65c5811a Merge branch 'portable' of https://github.com/Clownacy/Cave-Story-Engine-2 into portable 2020-04-02 23:18:44 +01:00
Clownacy
54797a05f8 Do not create imgui.ini 2020-04-02 22:14:36 +01:00
Clownacy
ae84148092 Shut-up Clang warning 2020-04-02 21:33:36 +01:00
Clownacy
53d54d4e53 Ignore argc, don't ignore argv 2020-04-02 20:58:01 +01:00
Clownacy
c9dbc5607e Delete old DoConfig 2020-04-02 19:58:03 +01:00
Clownacy
5d12071f17 Make DoConfig check Config.dat's magic number
Fixes #88

The issue was caused by Config.dat reading a CSE2E Config.dat, and
preserving its altered magic number, which Cave Story would reject,
causing it to fallback on default settings.
2020-01-06 16:38:47 +00:00
Clownacy
b14e0939a9 Shut up some Clang warnings in DoConfig 2019-10-29 12:08:47 +00:00
Clownacy
8e8f18a1ee Having second thoughts about this style change 2019-09-11 13:07:55 +00:00
Gabriel Ravier
b10d895334
Changed public-private indentation
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-11 12:02:57 +02:00
Gabriel Ravier
69cb6b75c7
Reformatted DoConfig
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-11 11:49:58 +02:00
Gabriel Ravier
2b2db48588
Some slight formatting
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-11 09:35:50 +02:00
Gabriel Ravier
47fbf3ece7
Refactored DoConfig a bit
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-11 09:27:54 +02:00
Clownacy
00d0161832 Make DoConfig use the Config.dat in its directory
This is accurate to how the original DoConfig does it.
2019-09-10 13:48:17 +00:00
Clownacy
537d777536 Revert "Removed the DoConfig folder"
This reverts commit afb3e2f83e.

This branch needs this
2019-09-05 12:49:35 +00:00
Clownacy
afb3e2f83e Removed the DoConfig folder
It's just a clone. A proper decompilation will be added some other
time.
2019-09-05 12:45:11 +00:00
Clownacy
729540d2b8 Fixed DoConfig
Turns out I never fixed the button order in the first place.
2019-06-28 18:51:28 +01:00
Clownacy
c80b593a3f Some #include fixes
Finally figured out how to get include-what-you-use working
2019-06-06 18:44:28 +00:00
Clownacy
25085ca6de Fix DoConfig's gamepad button mapping
It didn't match the real DoConfig at all
2019-05-09 19:21:18 +01:00
Moocow9m
bb829bfc82
Fix DoConfig read
DoConfig shifts all joypad variables up by one each save. This fixes that.
2019-05-08 11:46:46 -07:00
Gabriel Ravier
960fa6f456 Removed all trailing spaces and added newline at EOF (when not present)
Also changed a "linux" to "Linux"

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 11:55:42 +02:00
Clownacy
47297bd797 Made DoConfig not reset the font to Courier New when it saved 2019-04-20 18:08:34 +01:00
Clownacy
89ace4b737 DoConfig portability improvements and bugfixes 2019-04-20 18:00:55 +01:00
Clownacy
5cf7c95dd7 Added DoConfig (clone, not a decompilation)
Right now only the CMake file builds it
2019-04-20 04:43:38 +01:00