Commit Graph

450 Commits

Author SHA1 Message Date
twinaphex 3ad5b604c9 Default settings for float variables 2016-08-29 20:57:24 +02:00
twinaphex ef46d27607 Add more default settings 2016-08-29 20:42:29 +02:00
twinaphex cf2bdbb15e Remove wraparound.setting_enable 2016-08-29 20:40:39 +02:00
twinaphex 8574891359 Default setting cleanups 2016-08-29 20:32:18 +02:00
twinaphex 9e6a360c1e Cleanups 2016-08-29 20:18:20 +02:00
twinaphex eba3c75347 More default settings 2016-08-29 20:09:56 +02:00
twinaphex 5920e54cca Add more default settings 2016-08-29 20:02:40 +02:00
twinaphex 5a1f94a124 Fill in some more default settings 2016-08-29 19:29:42 +02:00
twinaphex 805ca286f0 Add default settings members - only one setting uses this for now
for bool settings
- Also make sure we deallocate everything we no longer need in
config_load_file
2016-08-29 19:26:08 +02:00
twinaphex 62939cd734 Move code around 2016-08-29 19:10:00 +02:00
twinaphex ff6b02f967 Don't allocate more than what we need 2016-08-29 17:38:16 +02:00
twinaphex 6db73d0208 Move memory allocation to populate_settings functions 2016-08-29 17:37:03 +02:00
twinaphex 03bb3d847d Cleanups 2016-08-29 17:31:24 +02:00
twinaphex a7b299950a Fix bug 2016-08-29 17:29:19 +02:00
twinaphex a09664c758 Refactor populate_settings_int so we are C89-compatible again 2016-08-29 17:04:15 +02:00
twinaphex a414f4093f Rewrite populate_settings_bool 2016-08-29 16:57:33 +02:00
twinaphex ae3d9bc0aa Cleanups 2016-08-29 16:29:00 +02:00
twinaphex 09c59b6eba Cleanups 2016-08-29 16:27:33 +02:00
twinaphex 67932e0356 Remove this 2016-08-29 16:20:57 +02:00
Twinaphex c05ca979b8 Silence two unused vaiable warnings 2016-08-29 16:02:30 +02:00
twinaphex 62b08a4d55 add back missing boolean settings 2016-08-29 15:59:17 +02:00
twinaphex 65c3ce8522 Cleanup 2016-08-29 15:46:25 +02:00
radius 83123e655f cleanup 2016-08-29 08:44:56 -05:00
twinaphex 6911bdb8c0 Replace strcmp usage and go through wrapper function 2016-08-29 15:41:42 +02:00
twinaphex 61d3567555 Refactor boolean settings 2016-08-29 15:36:55 +02:00
twinaphex e858103e6d Refactor this code 2016-08-29 15:26:42 +02:00
twinaphex 699ba910b2 Turn these into static functions 2016-08-29 15:12:13 +02:00
twinaphex bb3358ac93 Use populate_settings_float inside config_load_file too 2016-08-29 15:10:52 +02:00
twinaphex 4fb0a8bdca Should fix crash at shutdown 2016-08-29 14:54:24 +02:00
twinaphex d693402a85 Should hopefully fix issues 2016-08-29 14:46:12 +02:00
radius c578fb5dc8 add some logging 2016-08-29 00:44:08 -05:00
radius be6ddfa6d0 add default menu content 2016-08-28 23:21:29 -05:00
twinaphex b97eac8f30 config_save_autoconf_profile - prevent first two parameters of fill_pathname_join being the same 2016-08-29 04:02:58 +02:00
twinaphex 3c9014db78 Rewrite populate_settings_string 2016-08-29 03:58:06 +02:00
twinaphex fa84305016 Rewrite populate_settings_float 2016-08-29 03:44:06 +02:00
twinaphex cf5911f107 Rewrite populate_settings_path so it's C89-compatible again 2016-08-29 03:37:21 +02:00
Brad Parker cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
twinaphex b3be878c7e (GX) Silence warnings 2016-08-27 02:44:58 +02:00
twinaphex f851440a6b Some C89 fixes 2016-08-27 02:35:21 +02:00
Twinaphex efc245b85a Remove unused variables 2016-08-27 02:23:44 +02:00
radius 50e8021673 (ovr) fix potential leaks 2016-08-26 11:26:24 -05:00
radius 671aa0f59c (ovr) add game overrides too 2016-08-26 09:43:29 -05:00
radius 1b91202004 (ovr) allow overwriting existing overrides, still have to make dirs for new overrides 2016-08-26 01:06:15 -05:00
radius 7c78f52e6b (ovr) change a few log messages 2016-08-26 00:46:49 -05:00
radius 45ca269573 (ovr) define paths for override files 2016-08-26 00:45:01 -05:00
radius 02d164b9e4 (ovr) reimplement path_settings 2016-08-25 20:10:01 -05:00
radius 89d59c5b36 (ovr) free these buffers 2016-08-25 19:51:47 -05:00
radius 97a5c3a118 (ovr) reimplement string_settings 2016-08-25 19:49:31 -05:00
radius 256670e7d3 (ovr) reimplement float_settings 2016-08-25 19:30:10 -05:00
radius 1bcaf884db (ovr) reimplement int_settings 2016-08-25 19:14:10 -05:00