Commit Graph

546 Commits

Author SHA1 Message Date
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 53b0543f47 Silence signed/unsigned mismatch warnings 2016-09-05 18:46:12 +02:00
twinaphex 535d460c63 Cleanups 2016-09-05 17:17:28 +02:00
twinaphex b1c946f22b Cleanup 2016-09-05 17:16:37 +02:00
twinaphex 5afb197198 Cleanup 2016-09-05 08:03:25 +02:00
Brad Parker 276542ea98 more menu popup refactor, add back working confirm_on_exit 2016-09-05 01:04:15 -04:00
Brad Parker 27925da4ae revert confirm_on_exit option for now 2016-09-04 15:31:50 -04:00
Brad Parker a17679a0c5 add input option to allow any user to control the menu 2016-09-03 19:01:29 -04:00
twinaphex a1583e04d7 config_load - cleanup 2016-09-03 08:15:41 +02:00
twinaphex 9bdca16884 (configuration.c) Cleanups 2016-09-03 08:12:40 +02:00
twinaphex 5613feafb6 Remove unused cheat_settings_path 2016-09-03 08:05:31 +02:00
Brad Parker ee7545857c add config option to enable quit confirmation 2016-09-01 21:47:25 -04:00
twinaphex fd7949c9f1 Move structs to configuration.c 2016-09-01 18:53:34 +02:00
twinaphex 29d5fc67a2 Prevent warning 2016-09-01 17:17:00 +02:00
twinaphex 27fb3ec1af Hopefully won't truncate array names again 2016-09-01 05:52:38 +02:00
twinaphex 4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
twinaphex 4ef56581a9 Bugfix 2016-09-01 05:24:47 +02:00
twinaphex e60ae0b8de Cleanups 2016-09-01 04:40:02 +02:00
twinaphex 90ad365432 Refactor path settings loading 2016-09-01 04:37:22 +02:00
twinaphex 47b0a7ca17 Cleanups 2016-09-01 04:11:53 +02:00
twinaphex 96119ea127 Cleanups 2016-09-01 03:51:54 +02:00
twinaphex e0d64373cc Refactor SETTING_PATH 2016-09-01 03:41:10 +02:00
twinaphex d203fd9d0d Cleanups 2016-09-01 03:05:31 +02:00
twinaphex 204c7544b0 Get rid of unused variable 2016-09-01 03:01:04 +02:00
twinaphex dfcef0f252 Move setting paths over 2016-09-01 03:00:27 +02:00
twinaphex 68823085c9 Move netplay_nickname down 2016-09-01 02:54:05 +02:00
twinaphex 03c28689e5 (configuration.c) Cleanups - rearrange array / path settings 2016-09-01 02:53:04 +02:00
twinaphex 081e47798e Cleanups for array settings 2016-09-01 02:46:09 +02:00
twinaphex 5c81cfb380 Add string setting loading 2016-09-01 02:40:05 +02:00
twinaphex 672a7e1a40 Get rid of unused 'Debug Information' 2016-08-30 04:58:45 +02:00
twinaphex c14fe766a5 Indent nits 2016-08-30 04:42:02 +02:00
twinaphex efb3f3ec06 open_default_config_file - don't initialize global until the end 2016-08-30 04:40:13 +02:00
twinaphex 49742da0b4 Cleanup 2016-08-30 04:37:49 +02:00
twinaphex dee5ec9e15 Cleanups 2016-08-30 04:20:28 +02:00
twinaphex 9f65d0d4fb Style nits 2016-08-30 04:15:11 +02:00
twinaphex eec0120293 Cleanups 2016-08-30 04:05:27 +02:00
twinaphex 95e5086a8a Cleanups 2016-08-30 04:00:16 +02:00
twinaphex 0467987a1a Add more default settings 2016-08-30 03:30:38 +02:00
twinaphex b578f8236c Cleanups 2016-08-30 03:20:55 +02:00
twinaphex 9909607da5 Add default settings 2016-08-30 03:13:22 +02:00
twinaphex 876ce5ad67 Cleanups 2016-08-29 21:10:25 +02:00
twinaphex 82581c8461 Cleanup 2016-08-29 21:09:18 +02:00
twinaphex a1db337fdd Cleanups 2016-08-29 21:07:22 +02:00
twinaphex 03405439ba Cleanup 2016-08-29 21:03:01 +02:00
twinaphex e31a3b1366 (configuration.c) Cleanup 2016-08-29 21:00:05 +02:00
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
radius 1a933bf7d3 (ovr) reimplement bool_settings 2016-08-25 19:00:06 -05:00
radius 3cbb03349f (ovr) implement bool settings 2016-08-25 10:30:30 -05:00
radius c6c054bad1 (ovr) start implementing diff function 2016-08-25 01:34:51 -05:00
radius 0f3ea88f86 (ovr) allow loading settings in an alternate variable 2016-08-25 00:33:23 -05:00