1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00
Commit Graph

92 Commits

Author SHA1 Message Date
LRFLEW
095e0e18e3 Fix unsigned warning in network_set_player_last_action_coord 2016-01-27 16:00:00 -07:00
Michał Janiszewski
dd37ca05c3 Disable opening cheats window in MP
When connecting to a server, also reset cheats.

This should fix #2811
2016-01-25 21:44:09 +01:00
zsilencer
32f1aa064d more accurate last player action location 2016-01-24 21:00:31 -07:00
zsilencer
74225ad4bc fix issue with group name string ids after loading new map 2016-01-24 18:33:28 -07:00
Michał Janiszewski
b89282cc2f Fix zlib inflate on broken builders 2016-01-24 21:36:14 +01:00
zsilencer
5aec23e2b0 forgot to include default group in grouplist packet 2016-01-23 18:57:56 -07:00
zsilencer
0e00c1e3ce load and save groups 2016-01-23 18:05:53 -07:00
zsilencer
85d77bb838 show last action in player window 2016-01-23 16:46:52 -07:00
zsilencer
5a72cb02f1 fix small issue caused by some RCT2_ADDRESS_COMMAND_MAP being used as 32 bit vars 2016-01-23 14:42:36 -07:00
zsilencer
db90477cae add locate player's most recent action button 2016-01-23 14:16:26 -07:00
zsilencer
5a43e313b5 add can't kick host error 2016-01-23 13:29:17 -07:00
zsilencer
5f7c81083e add separate Clear Landscape action and fix a bug 2016-01-23 13:19:17 -07:00
zsilencer
de1fa24e7b add last player action to player list 2016-01-23 12:32:02 -07:00
zsilencer
ef4fc84634 consolidate actions list 2016-01-23 11:34:05 -07:00
zsilencer
c557f02f4b fix issue with incorrect game_command_playerid 2016-01-22 16:57:00 -07:00
LRFLEW
cfc3ec552c Added #2783 files to Xcode 2016-01-22 15:57:50 -07:00
zsilencer
1277c1a0d2 MP permissions update 2 2016-01-22 11:12:35 -07:00
zsilencer
7a249c6457 Add ability to toggle individual action permissions 2016-01-21 20:32:51 -07:00
zsilencer
6e3068cd0a MP groups and permissions 2016-01-20 21:42:31 -07:00
Michał Janiszewski
08fc5f817a Disable using RLE when saving for network 2016-01-20 15:30:59 +01:00
Michał Janiszewski
9afcd15335 Make network use zlib compression for transferring map. 2016-01-20 15:30:59 +01:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01:00
IntelOrca
cdee534eb1 use SDL2's platform defines to normalise platform guards 2016-01-14 20:12:43 +00:00
IntelOrca
e4c6c79552 fix #2650: validate game commands sent from clients in multiplayer 2016-01-05 18:30:39 +00:00
IntelOrca
f93a134aa6 fix map size error when sending network game information 2015-12-24 01:40:03 +00:00
Michał Janiszewski
98e204552a countof with type safety
For reference see http://www.g-truc.net/post-0708.html and
http://lxr.free-electrons.com/source/include/linux/kernel.h#L54

This will provide a type-safe mechanism for counting elements of array.
If you try passing something which cannot be counted, compiler will
frown at you right away.
2015-12-15 00:28:58 +01:00
Michał Janiszewski
a5b465fad1 Fix some compiler warnings 2015-12-14 22:52:27 +01:00
IntelOrca
c6056cbb6c Merge branch 'pre-release-0.0.3' into develop
Conflicts:
	src/audio/audio.c
2015-11-27 22:05:40 +00:00
Linus Unnebäck
30b6718532 start of OS X support 2015-11-27 17:43:12 +01:00
zsilencer
0c3c9d5400 Fix #2352. Do not open disconnected status window when password input canceled. 2015-11-23 13:07:18 -07:00
duncanspumpkin
5bd3b8d6af Implement util_rand due to rand having a poor range on some platforms 2015-11-20 21:40:36 +00:00
IntelOrca
5ef10f5050 fix memory leaks in JSON object creation for multiplayer 2015-11-20 18:48:40 +00:00
Michał Janiszewski
e7b58b7375 Skip closing network if already closed
Fixes #2203
2015-11-14 17:12:38 +01:00
IntelOrca
ed8e7c2d38 add extra server details on gameinfo packet 2015-11-11 22:39:04 +00:00
IntelOrca
09cd007f3f add dedicated flag to gameInfo 2015-11-08 23:50:38 +00:00
IntelOrca
da6d382c47 make server heartbeat PUT 2015-11-08 23:29:52 +00:00
IntelOrca
2e55495470 improve master server to POST json 2015-11-08 22:03:35 +00:00
IntelOrca
6fe2340dfe stop clients from pausing multiplayer games 2015-11-08 14:32:22 +00:00
IntelOrca
d2aa736492 fix master server communication 2015-11-08 04:02:23 +00:00
IntelOrca
0b9882b96f fix master server poll times 2015-11-08 02:22:49 +00:00
IntelOrca
782d3e63b2 add new master server functionality 2015-11-08 02:12:12 +00:00
IntelOrca
9bad4183a7 add default master server url and refactor 2015-11-07 23:56:16 +00:00
IntelOrca
74fe482a62 improve game info json 2015-11-07 23:47:50 +00:00
zsilencer
1e9381ef97 master server list 2015-11-07 22:27:51 +00:00
zsilencer
9acfd27735 password prompt for client 2015-11-07 22:26:46 +00:00
zsilencer
3b639ced47 allow host to specify password #2072 2015-11-07 22:25:47 +00:00
zsilencer
d66eb70f56 fix potential overflow 2015-11-07 22:23:41 +00:00
IntelOrca
800e80aeb3 fix demolish track piece as client on multiplayer 2015-11-03 22:58:30 +00:00
zsilencer
34dff6f46b address #2073, graceful KickPlayer with message, disconnect reason messages, chat player name and text different color 2015-11-01 01:50:44 -06:00
Michał Janiszewski
9284930d7e Add safe_strncpy function
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00