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

180 Commits

Author SHA1 Message Date
Chris Guillott
5944d5be4d remove redundant line 2017-09-10 21:21:49 +02:00
Chris Guillott
5991c25919 trap getaddrinfo return codes 2017-09-10 21:21:49 +02:00
Bernd Buschinski
0bb0c3b60f Initialize result pointer
This fixes a crash in case getaddrinfo returns an error.
2017-08-20 23:05:16 +02:00
Michał Janiszewski
d698ad1100 Convert NULL -> nullptr in C++ 2017-08-15 11:51:56 +02:00
duncanspumpkin
df742b70b6 Fix infinite loop when removing scenery elements with >127 height
Bug introduced when refactoring. Type mismatch not picked up by compiler
2017-08-10 23:43:28 +02:00
Michał Janiszewski
1f9ae4d4ec Start v0.1.2 2017-08-10 00:17:26 +02:00
Matthias Moninger
d5f116b3e5 Fix compilation error on VS2015 2017-08-09 11:28:58 +02:00
ZehMatt
304a7f3f45 Fix #3852: Desync constructing path with scenery in its way. 2017-08-06 22:58:08 +02:00
duncanspumpkin
18d082053e Rename cpp files to use TitleCase 2017-08-04 18:12:54 +02:00
Michael Steenbeek
2f3a30f22b Fix cast to bool in map element functions 2017-08-01 13:42:50 +02:00
Michał Janiszewski
ee443818a8 Verify size of objects sent/requested (#6076) 2017-08-01 12:29:16 +01:00
Ted John
6699d0885b Merge pull request #6065 from IntelOrca/refactor/remove-rct2.c
Move remaining functions out rct2.c
2017-07-30 18:09:26 +01:00
wolfreak99
675028d173 Bump network version 2017-07-30 19:00:30 +02:00
Michał Janiszewski
1ea5a902df Initialise various fields and variables 2017-07-30 15:28:16 +02:00
Ted John
8b2eb8a13e Move screen variables to OpenRCT2.h 2017-07-29 20:29:29 +01:00
jensj12
2736058912 Update text files and network version 2017-07-29 12:02:46 +02:00
ZehMatt
6a85c49074 Increment network version. 2017-07-29 10:04:09 +01:00
duncanspumpkin
12b6d48d46 Update change log and increment network 2017-07-29 09:33:24 +01:00
Richard Jenkins
222782b228 Fix #6007: 'Felicity Anderson' can affect peeps entering rides 2017-07-28 07:50:35 +02:00
Gymnasiast
38c504685e Define constants for max energy and happiness, cap energy to 128 instead of 255 2017-07-27 21:44:46 +02:00
Gymnasiast
db56c7e3b3 Change growth_rate to target, fix cheats to use them 2017-07-26 16:49:42 +02:00
Gymnasiast
3f345c60c6 Fix underflow in sub_68F41A() 2017-07-26 14:51:43 +02:00
Gymnasiast
603735f86d Make doors work with every vehicle, closes #5951 2017-07-26 14:41:44 +02:00
Christian F. Coors
32da66aa79 Fix build errors 2017-07-25 22:50:19 +02:00
zsilencer
424f2fcef5 Fix #5984: Allow socket binding to same port after crash 2017-07-25 08:35:35 +02:00
Michał Janiszewski
5811a9e08e Lift C4548 for FD_SET
Others encountered that as well:
https://github.com/deflomu/cryptlib/blob/master/io/tcp.h#L572-L588

Nothing we can do about it ourselves.
2017-07-24 22:04:40 +02:00
wolfreak99
47a89c4cf3 Add "Ignore research status" cheat 2017-07-23 12:09:29 +02:00
Keatzee
ea87e87750 Fix #4301: Remove leading/trailing space from playername 2017-07-22 09:43:24 +01:00
Gymnasiast
4d23845d4b Fix rides not breaking down 2017-07-20 21:55:29 +02:00
Michael Steenbeek
70f1e94ce9 Fix #5946: assertion hit when building new ride 2017-07-19 13:41:24 +02:00
Michael Steenbeek
c0d06498b3 Increase network version because of reliability fixes 2017-07-18 10:51:30 +02:00
zaxcav
5f150e3893 Increase sync station limit
Increased SYNCHRONISED_VEHICLE_COUNT to 16 to permit duelling coasters with more coasters. Otherwise no changes to the game logic. Feature requested in the forums: https://openrct2.org/forums/topic/2544-synchronized-stations-dont-work-passed-8-stations/

This will impact network games which already have duelling coasters built with more than 8 adjacent stations, so a new network version is necessary.
2017-07-15 13:18:24 +02:00
Michał Janiszewski
3d487541d7 Reset network version for 0.1.1 2017-07-12 23:24:33 +02:00
Michael Steenbeek
da17ac9781 Bump network version 2017-07-12 12:10:21 +02:00
X123M3-256
b73c954362 Prevent booster pieces from toggling spinning 2017-07-11 15:55:06 +02:00
ζeh Matt
a8af3c7670 Refactor game loop to use a semi-fixed timestep. (#5848)
Fix headless game being jumpy/stuttering.
Bump up network version.
2017-07-10 21:43:20 +02:00
Michał Janiszewski
a3414502a6 Update network version 2017-07-07 00:17:36 +02:00
rwjuk
5c0a85df5e Bump network version 2017-07-06 13:22:48 +01:00
rwjuk
cc95aa0433 Fix visual corruption caused by zero sprite dimensions
Sprite corruption issue highlight

Fix already bugged saves

Fix visual corruption caused by zero sprite dimensions
2017-07-06 13:22:24 +01:00
Michał Janiszewski
aac81163d0 Update network version to avoid confusion 2017-07-06 11:14:42 +02:00
Michał Janiszewski
ec7bcfce34 Revert "Fix #5795: Implement sprite cycle checking" 2017-07-06 11:13:12 +02:00
rwjuk
8224e715d8 Network version bump 2017-07-05 23:34:47 +01:00
Tomas Dittmann
446796db4b Prevent integer overflow in interest calculation (#5724)
Fixes #5635
2017-07-06 00:30:10 +02:00
Michael Steenbeek
ae3bc6183f Bump network version 2017-07-05 09:32:50 +02:00
Ted John
146982d4b0 Fix #5750: OpenRCT2 locking up consistently, no reports (#5757)
Prevent freezing on corrupted ride queues by ignoring sprites that are not guests when a guest re-joins the front of the queue.
2017-07-03 07:56:34 +01:00
zaxcav
b39723a0a8 Allow mechanics to walk over wide tiles on the edge of the patrol zone 2017-06-29 20:34:37 +02:00
Zeh Matt
a8efd2cc4d Fix #5676: Last action issues
LastActionTime using server tick instead of real time platform ticks. (#5722)
2017-06-27 14:50:21 +01:00
ZehM4tt
0a633647e4 Fix ghost scenery removing objects with "Disable Clearance check" enabled.
Fix footpath_remove ignoring the ghost flag removing the wrong path.
Replaced some constants with the known flags.
2017-06-26 14:58:07 +02:00
wolfreak99
0dbe8f32e5 Allow Construction rights to be placed on park entrance 2017-06-25 21:19:03 +02:00
Ted John
f275e5ba9b Remove all platform.h includes from header files
System headers, particularly windows.h polute the namespace too much with macros and unwanted definitions. Do not use them in header files.
2017-06-25 18:59:56 +01:00