Commit graph

9 commits

Author SHA1 Message Date
JetSetIlly 178f05f17b updated go minimum version to 1.20
applied gofmt to source tree to update the documentation comments
2023-02-12 13:09:07 +00:00
JetSetIlly c20b20d5f7 clarified some concepts in the prefs package. "fixed" the Generic type 2022-05-16 13:05:26 +01:00
JetSetIlly 1a39e8674c audio mute options will be saved automatically on program exit 2022-05-13 15:32:00 +01:00
JetSetIlly dd706b392b preferences for the comparison emulation can be added on the command line
added commandline stack functions to the prefs package
2021-12-05 20:17:43 +00:00
JetSetIlly 89191d9a5a clarified some preferences concepts
set defaults for revisions, rewind and ARM tabs of the prefs window (in
addition to the CRT tab). set defaults button labelled appropriately

fixes some race conditions caused by pre/post hooks on prefs values -
prefs values are generally goroutine safe, except when pre/post hook is
defined
2021-12-05 20:17:43 +00:00
JetSetIlly e5bd938b41 renamed paths package to resources package
ResourcePath() is now called JoinPath()

UniqueFilename() moved to a new package named unique and renamed to
Filename()
2021-10-03 13:32:08 +01:00
JetSetIlly f008c13156 types in prefs package use atomics rather then mutexes
pref types are likely to be called in critical sections. to make the
prefs package easy to use, values in the types were protected by
mutexes, this is relatively expensive however. with the exception of the
generic type, critical sections are now protected with atomics.

small performance improvement
2021-08-14 09:57:36 +01:00
JetSetIlly 298a5d343f updated copyright notice in all files
the note about historical versions also being covered wasn't strictly
needed and was ugly. the LICENCE being in the root file from the very
first commit is sufficient.
2020-07-26 20:18:56 +01:00
JetSetIlly 2b420d7424 added prefs package
amended debugger and existing preference values to use prefs package

amended sdlimgui to store window size/position using the prefs package

amended hiscore mechanism to use prefs package to store server & authentication
2020-05-15 21:55:40 +01:00