1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00
Commit Graph

5778 Commits

Author SHA1 Message Date
Michał Janiszewski
2d3d889a08 Formatting, style fixes 2016-05-27 20:28:34 +02:00
Michał Janiszewski
165ec06690 Passwordless login permission 2016-05-27 20:28:34 +02:00
Michał Janiszewski
9b4d385ab5 Allow out-of-process edits to keymappings.json
Reloads keymappings.json on each client join. This allows for manual edits,
so host can add keys without having to restart server for them to go live.
2016-05-27 20:28:34 +02:00
Michał Janiszewski
65a1d0c70d Use UpdateKeyMappings to modify JSON in-place
This allows for non-destructive saving of group assigments, so user can
store their own entries.
2016-05-27 20:28:34 +02:00
Michał Janiszewski
a34b9c6785 Include common.h to resolve MSVC build issue 2016-05-27 20:28:34 +02:00
Michał Janiszewski
18d656e012 Ensure player names are unique
Do this by cheating a little: create a map with count of clients using
given username and increment it each time such a username is
encountered. This yields very similar results to actually counting users
holding given name, but saves all the error-prone string parsing.
2016-05-27 20:28:34 +02:00
LRFLEW
5d5c10f99f Fixed OS X Build 2016-05-27 20:28:33 +02:00
Michał Janiszewski
4ffceafdbb Make sure the challenge token is random and handled properly
This change also fixes passworded servers not working properly, as
strlen() was getting called on something that was not guaranteed to be
null-terminated string when signing the token.
2016-05-27 20:28:33 +02:00
Michał Janiszewski
66abc31fee Handle malformed private keys gracefully 2016-05-27 20:28:33 +02:00
Michał Janiszewski
553e1bdf0f Minor fixes to authorisation system 2016-05-27 20:28:33 +02:00
Michał Janiszewski
caa74acb1b Fixes for x86-64 2016-05-27 20:28:33 +02:00
Michał Janiszewski
a83154832c Formatting 2016-05-27 20:28:33 +02:00
Michał Janiszewski
839fc3938f Add NetworkKey files to VS project 2016-05-27 20:28:33 +02:00
Michał Janiszewski
715ba561b1 Initial version of key-based auth 2016-05-27 20:28:33 +02:00
Michał Janiszewski
1c459c8186 Add NetworkKey class 2016-05-27 20:28:33 +02:00
Michał Janiszewski
40253a7add Prevent SIGPIPE-ing on Linux when clients drop (#3755)
`send()` can only write to connected sockets [1]. In case where client
drops out, a socket may become closed by OS but we can still enqueue
packets for its connection and eventually call `send()`, which will
generate a SIGPIPE and shut the server down, because there was no
`MSG_NOSIGNAL` set.

This commit makes sure `MSG_NOSIGNAL` is used on Linux.

[1] http://linux.die.net/man/2/send
2016-05-27 17:44:23 +01:00
Yaroslav Tretyakov
8ee923f33d Fix #3735: Advertisement campaign window bug (#3745) 2016-05-26 19:43:53 +01:00
jensj12
f4690fb879 Remove duplicate check (#3743) 2016-05-26 15:56:57 +01:00
CraigCraig
3f9afb9744 Various Spellchecks (#3741) 2016-05-26 09:49:19 +02:00
Michael Steenbeek
712d97da79 Remove Intamin and Phoenix easter eggs (#3732) 2016-05-25 20:01:24 +01:00
Marijn van der Werf
30e82ba82c Fix car ride station drawing 2016-05-25 14:59:52 +02:00
Marijn van der Werf
b276604277 Draw station 2016-05-25 14:59:33 +02:00
Marijn van der Werf
26ff0ab5a5 Paint 3-tile turn 2016-05-25 14:54:15 +02:00
Marijn van der Werf
3e11d70272 Draw spinning tunnel 2016-05-25 14:44:06 +02:00
Marijn van der Werf
e74435af64 Paint quarter turn 2016-05-25 14:26:35 +02:00
Marijn van der Werf
91a470c905 Draw inverse slopes 2016-05-25 14:26:35 +02:00
Marijn van der Werf
9fdb73452d Draw 25 deg up to flat 2016-05-25 14:26:35 +02:00
Marijn van der Werf
75493a5433 Draw flat to 25 deg up 2016-05-25 14:26:35 +02:00
Marijn van der Werf
9e84237da3 Paint 25 deg up 2016-05-25 14:26:35 +02:00
Marijn van der Werf
2723713f7f Draw brakes 2016-05-25 14:26:35 +02:00
Marijn van der Werf
f618a67dc4 Draw flat track 2016-05-25 14:26:35 +02:00
Ted John
1290d57b04 Merge pull request #3721 from marijnvdwerf/paint-setup/car-ride
Paint setup/car ride
2016-05-25 13:16:41 +01:00
Harry Lam
47ed7c94df Improve Chinese Currencies (#3729)
[CI Skip]
Suffix -> Prefix, and fix CNY name from HKD to CNY.
2016-05-25 14:05:27 +02:00
Ted John
714baf2979 Merge pull request #3723 from Gymnasiast/remove-bmp-screenshots
Remove support for BMP screenshots
2016-05-25 08:01:23 +01:00
zsilencer
24ab08f845 Integrate 9A3E7C 2016-05-25 00:03:26 -06:00
zsilencer
df5ad2c025 Integrate 98E3C4 2016-05-25 00:03:25 -06:00
zsilencer
1c5a73db54 integrate ScenerySubTileOffsets 2016-05-25 00:03:25 -06:00
Yaroslav Tretyakov
90d8683e67 Fix #3718: fence height incorrect (#3726) 2016-05-25 01:03:37 +01:00
Marijn van der Werf
30c4f2232b Draw station 2016-05-24 21:31:46 +02:00
Marijn van der Werf
7e92395bf5 Draw 3-tile turns 2016-05-24 21:31:44 +02:00
Marijn van der Werf
ed08deaac1 Paint quarter turns 2016-05-24 21:31:07 +02:00
Marijn van der Werf
8f4ac4bd2a Draw spinning tunnel 2016-05-24 21:31:07 +02:00
Marijn van der Werf
52eaedbefa Draw log bumps 2016-05-24 21:31:06 +02:00
Marijn van der Werf
b3a134586c Draw 60 deg up - 25 deg up 2016-05-24 21:31:06 +02:00
Marijn van der Werf
1503b024c8 Draw 25 deg up - 60 deg up 2016-05-24 21:31:06 +02:00
Marijn van der Werf
9947ada17a Draw 60 degree slope 2016-05-24 21:31:06 +02:00
Marijn van der Werf
3ff5b83366 Draw 25 deg up - flat / flat - 25 deg down 2016-05-24 21:31:06 +02:00
Marijn van der Werf
eaa259ac2f Draw flat-25 deg up/ 25 deg down-flat 2016-05-24 21:31:06 +02:00
Marijn van der Werf
92c6e513be Draw 25-deg slope 2016-05-24 21:31:06 +02:00
Marijn van der Werf
25c1c93cab Draw flat 2016-05-24 21:31:06 +02:00