aboutsummaryrefslogtreecommitdiff
path: root/settingtypes.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-12-21 20:03:49 +0100
committerorwell96 <orwell@bleipb.de>2021-01-12 13:27:00 +0100
commit02d845e83d7efb84216c7ac746800fd742426e06 (patch)
tree85b6f4fcce84b2595d40f3ef68c05ac0a9d1dce4 /settingtypes.txt
parent544f8babb5421ed181371c3fcb49478571fab9f4 (diff)
downloadadvtrains-02d845e83d7efb84216c7ac746800fd742426e06.tar.gz
advtrains-02d845e83d7efb84216c7ac746800fd742426e06.tar.bz2
advtrains-02d845e83d7efb84216c7ac746800fd742426e06.zip
Serialize_lib: finish up and add atomic api
Diffstat (limited to 'settingtypes.txt')
-rw-r--r--settingtypes.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/settingtypes.txt b/settingtypes.txt
new file mode 100644
index 0000000..3a565a6
--- /dev/null
+++ b/settingtypes.txt
@@ -0,0 +1,12 @@
+# Enable strict file loading mode
+# If enabled, if any error occurs during loading of a file using the 'atomic' API,
+# an error is thrown. You probably need to disable this option for initial loading after
+# creating the world.
+serialize_lib_strict_loading (Strict loading) bool false
+
+# Do not automatically switch to "Windows mode" when saving atomically
+# Normally, when renaming <filename>.new to <filename> fails, serialize_lib automatically
+# switches to a mode where it deletes <filename> prior to moving. Enable this option to prevent
+# this behavior and abort saving instead.
+serialize_lib_no_auto_windows_mode (No automatic Windows Mode) bool false
+