Dennis Felsing
5b50d4f310
Print error when opening config file fails
2020-10-02 11:11:34 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
3729629c1c
Only write non-defaulted config values to settings_ddnet.cfg
...
As a consequence changed defaults in an update will be respected
instantly if the player hasn't changed the value.
2020-07-09 12:40:35 +02:00
def
31ae4c4d5a
use pid in file names of temporary files
...
to prevent race conditions with multiple clients running when saving
maps, config on quit, during upgrade
2020-02-12 23:14:30 +01:00
Learath
0d39eb128d
Use unsigned integers for colors
2019-05-15 18:05:19 +02:00
Learath
93265dbb9c
Please MSVC
2019-04-25 21:09:32 +03:00
Learath
0f781df1dd
Try handling colors in console
2019-04-25 14:48:53 +03:00
def
c95e1a61c6
More conservative config saving
2018-04-05 17:24:49 +02:00
def
a736a27430
No need for writing to tmp config file anymore
2017-07-16 06:54:02 +02:00
heinrich5991
409bc0e019
Ensure null-termination in str_escape
...
This also fixes a couple of potential buffer overflows. The affected
code is still buggy (doesn't do the right thing on potential buffer
overflow), but at least it won't result in crashes/out of bound writes
anymore.
2017-07-08 13:06:03 +02:00
def
36d5c8d608
string toggling supports escaped strings; also some code cleanup
2017-07-08 11:03:51 +02:00
heinrich5991
ba5af42b1f
Fix the brace style in some places
2017-03-04 15:43:49 +01:00
timgame
2874e18ce0
dont restore empty config values at start
2015-11-16 20:31:56 +01:00
timgame
4b07927213
Added possibility to discard settings
2015-10-21 00:54:10 +02:00
def
0969eadb4e
Use temporary file for saving config to prevent broken configs
2015-07-22 18:23:48 +02:00
def
c653a09f82
Use settings_ddnet.cfg instead of settings.cfg
2014-08-26 22:25:22 +02:00
def
b3fa81ab72
Fix compilation
2014-05-12 23:57:42 +02:00
oy
b44ee3d975
reworked ban system
2011-12-29 23:36:53 +01:00
oy
06115dd49d
added "Whitespace and line Endings cleanup" by GreYFoX
2011-04-13 20:37:12 +02:00
Sworddragon
fc9211c777
Updated copyrights
2010-11-20 21:26:06 +01:00
oy
3a98f7a048
added mod system. Closes #34
2010-10-06 23:07:35 +02:00
oy
1cde96ef79
restore empty strings in the config to their defaults on startup
2010-08-11 00:31:42 +02:00
Magnus Auvinen
72c06a2589
copied refactor to trunk
2010-05-29 07:25:38 +00:00