Goddesen
809e459495
Added cheat to disable plant aging
2016-06-03 00:33:15 +02:00
Ted John
9b705c5a7e
Merge pull request #3797 from IntelOrca/refactor/tcpsocket
...
Abstracts all socket code into a new class TcpSocket which is only exposed by a light interface, ITcpSocket. This now means that platform specific headers like winsock2.h and sys/socket.h do not have to be included in OpenRCT2 header files reducing include load and other issues.
2016-06-02 19:33:17 +01:00
Ted John
a153d07637
handle exceptions when setting up the TCP listener
2016-06-02 18:51:29 +01:00
Michael Steenbeek
768e915eed
Merge pull request #3787 from Goddesen/nb-NO_support
...
Support for nb-NO
2016-06-02 19:41:23 +02:00
Hugo Wallenburg
9eab82a7d9
Update height check for slopes to match new limits. Fixes #3792 . ( #3799 )
2016-06-02 19:34:37 +02:00
Michał Janiszewski
e3d04ff96d
Fix TcpSocket for Linux compilers ( #13 )
2016-06-02 09:13:25 +01:00
Goddesen
e9e93cb60c
Added space delimiter for Swedish currency, removed punctuation mark.
2016-06-02 00:56:28 +02:00
Goddesen
c60fce3549
Substituted tabs for spaces
2016-06-02 00:56:24 +02:00
Goddesen
b27aa56cff
Removed Norwegian ID enum member, replaced spaces with tabs
2016-06-02 00:56:16 +02:00
Goddesen
9aa5958484
Added support for Norwegian (nb-NO)
2016-06-02 00:55:49 +02:00
Ted John
8dfbabbd07
refactor network, create ITcpSocket
...
Abstracts all socket code into a new class TcpSocket which is only exposed by a light interface, ITcpSocket. This now means that platform specific headers like winsock2.h and sys/socket.h do not have to be included in OpenRCT2 header files reducing include load and other issues.
2016-06-01 23:01:20 +01:00
Michał Janiszewski
14de1cd5eb
Restrict for MSVC ( #3794 )
2016-06-01 17:44:06 +01:00
Michał Janiszewski
268baa62f7
Add restrict for drawing function ( #3793 )
2016-06-01 15:40:31 +01:00
Michał Janiszewski
9d5827520a
Replace shifting with multiplication when dragging ( #3789 )
...
`dx`, `dy` can be signed negative values, shifting them left is
undefined.
2016-05-31 22:03:31 +01:00
Ted John
27d846c2f4
fix #3786 : Wrong server provider information
2016-05-31 19:24:07 +01:00
Ted John
c66a755ef7
request server gameinfo for window
2016-05-31 17:16:08 +01:00
Ted John
7157199b45
add information tab to multiplayer
2016-05-31 17:16:08 +01:00
Ted John
b68da1189b
Merge pull request #3776 from IntelOrca/feature/chatlogs
...
Save chat logs
2016-05-31 11:39:00 +01:00
Ted John
2a614ec4d9
rename path bits (var_06) to (flags)
2016-05-30 23:39:43 +01:00
Ted John
3e307b8e2a
name path addition flags
2016-05-30 23:31:36 +01:00
Ted John
2264027afa
change directory name to 'chatlogs'
2016-05-30 18:03:31 +01:00
Ted John
feb65ea93c
add option to log chat history
2016-05-30 18:01:17 +01:00
Ted John
618d13a9a3
save chat logs
2016-05-30 16:25:06 +01:00
Ted John
fbcc68dff1
fix #3575 : Construction Redirection Bug
...
Was probably only caused when a player did not have 'Allow unfinished tracks to be tested' enabled. The function was too embeded to work into a callback function, so a new flag is added to say whether the current game command is network sourced or not. This now means the host has to have the unfinished tracks option enabled, otherwise nothing will happen on the client machine. Unfortunately if the host has it enabled and the client doesn't, the command will run on the host game but not the client game and desync. The option, like some of the cheats is game session fixed.
2016-05-30 12:39:17 +01:00
Ted John
8cf4a1f03f
add default case to fix clang error
2016-05-30 11:28:41 +01:00
Ted John
00d4904ba9
make DISABLE_NETWORK compatible
2016-05-30 11:28:14 +01:00
Michał Janiszewski
3a697609a5
Fixes to network refactoring ( #11 )
2016-05-30 11:28:13 +01:00
Ted John
d69ca7f479
conform to name convention
2016-05-30 11:28:09 +01:00
Ted John
623318a35d
refactor NetworkPlayer
2016-05-30 11:18:07 +01:00
Ted John
3591026078
refactor NetworkAction
2016-05-30 11:18:07 +01:00
Ted John
31ac6e7fdf
refactor NetworkConnection and NetworkPacket
2016-05-30 11:18:07 +01:00
Ted John
46ecd53a99
refactor NetworkAddress
2016-05-30 11:18:07 +01:00
Ted John
2334e701e4
fix infinite loop
2016-05-30 02:15:45 +01:00
Ted John
91b7db31d1
fix #3771 : Crash when kicking player
...
The game did not check if the user hash existed in the map before trying to remove it.
2016-05-29 10:56:36 +01:00
CraigCraig
c946d2fb06
Various Spelling Fixes - 5/29/16 ( #3770 )
2016-05-29 10:00:38 +01:00
Duncan
8a427a2676
Merge pull request #3737 from marijnvdwerf/paint-setup/monorail
...
Paint setup/Monorail
2016-05-29 07:54:35 +01:00
Ted John
8db0933ee2
fix loading of temperature from SV6
2016-05-28 23:11:57 +01:00
Ted John
76792723ba
fix saving of temperature to SV6
2016-05-28 23:08:01 +01:00
Michał Janiszewski
451379c8a3
Handle SDL builds which already have HAVE_MATH_H defined ( #3765 )
...
ArchLinux's SDL2 build for mingw already has HAVE_MATH_H define, this
fixes warnings I was getting, as they are now upgraded to errors.
2016-05-28 12:24:52 +01:00
Michael Steenbeek
1d14f21e25
Allow raising terrain to 64 in-game units, fixes #3568 , fixes #3455 ( #3764 )
2016-05-28 12:24:11 +01:00
Michał Janiszewski
1cdbd1e459
Take care not to overflow buffers in platform_resolve_user_data_path ( #3761 )
2016-05-28 09:31:02 +01:00
Duncan
c645d24c8d
Add console command for scenario initial cash. ( #3763 )
...
Add paint_segments to variable list as well
Fix #3748 .
2016-05-28 09:30:50 +01:00
Duncan
8e8474c400
Modify object selection to only research selected item when adding new objects during a game. ( #3762 )
2016-05-28 09:30:31 +01:00
Ted John
49756a6ee3
check for null map element in peep_update_falling
2016-05-28 09:29:23 +01:00
Michał Janiszewski
d29af84886
Make sure to hold string alive when using c_str() ( #3760 )
2016-05-27 22:32:11 +01:00
Ted John
6acbfa0248
sort multiplayer servers
2016-05-27 22:17:26 +01:00
Ted John
ccfb1c4f95
Merge pull request #3759 from janisozaur/develop
...
Don't allow null keys
2016-05-27 22:01:42 +01:00
Michał Janiszewski
8e26f2c0d1
Only check for PASSWORDLESS permission if successfully verified
2016-05-27 23:00:31 +02:00
Michał Janiszewski
4699635086
Don't allow null keys
2016-05-27 22:56:23 +02:00
duncanspumpkin
e1306afbf3
Fix #3717 . Tunnels correctly drawn when paths underneath
2016-05-27 21:17:55 +01:00