Commit 64ff944
authored
tried to make the engine retain the user selected resolution (#416)
I changed 3 files and created preference_data.hpp. You should be weary
of my lack of knowledge about how Frogatto treats it's virtual
gamescreen sizes. Basically I added an if statement that separates
presence and absence of a preferences.cfg. If the file exists, the
autoSelectResolution function is not called, because why should the
resolution be set automatically when user defined settings exist? Please
notify me if my changes require further explanation.
Also here's a video showing off the changes.
https://youtu.be/Wueo7ppIjr01 parent ae23d3c commit 64ff944
File tree
4 files changed
+55
-9
lines changed- src
4 files changed
+55
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
531 | 533 | | |
532 | 534 | | |
533 | 535 | | |
534 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
535 | 541 | | |
536 | 542 | | |
537 | 543 | | |
| |||
944 | 950 | | |
945 | 951 | | |
946 | 952 | | |
947 | | - | |
948 | | - | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
949 | 956 | | |
950 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
951 | 964 | | |
952 | | - | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
953 | 969 | | |
954 | 970 | | |
955 | 971 | | |
| |||
968 | 984 | | |
969 | 985 | | |
970 | 986 | | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
971 | 994 | | |
972 | 995 | | |
973 | 996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
869 | 871 | | |
870 | 872 | | |
871 | 873 | | |
872 | | - | |
| 874 | + | |
873 | 875 | | |
874 | 876 | | |
875 | 877 | | |
| |||
894 | 896 | | |
895 | 897 | | |
896 | 898 | | |
897 | | - | |
| 899 | + | |
898 | 900 | | |
899 | 901 | | |
900 | 902 | | |
901 | 903 | | |
902 | 904 | | |
903 | 905 | | |
904 | 906 | | |
905 | | - | |
| 907 | + | |
906 | 908 | | |
907 | 909 | | |
908 | 910 | | |
| |||
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
| 968 | + | |
| 969 | + | |
966 | 970 | | |
967 | 971 | | |
968 | 972 | | |
| |||
1010 | 1014 | | |
1011 | 1015 | | |
1012 | 1016 | | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1013 | 1022 | | |
1014 | 1023 | | |
1015 | 1024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
0 commit comments