Commit Graph

4904 Commits

Author SHA1 Message Date
IntelOrca 1e390e4f13 fix mistake in refactor: flags -> uint32 2016-03-23 17:27:49 +00:00
IntelOrca 74d96d86c0 fix #3158: close network status window doesn't abort 2016-03-22 23:27:49 +00:00
IntelOrca a2fda29d92 validate park entrances and land ownership tools 2016-03-22 22:55:13 +00:00
IntelOrca 0ed22f52dd validate vehicle type 2016-03-22 22:40:06 +00:00
IntelOrca 304fd4b84e validate all the other ride operation settings 2016-03-22 21:59:16 +00:00
IntelOrca 16e8609da3 add constants for ride setting id 2016-03-22 21:32:37 +00:00
IntelOrca 64442820b9 validate setting of ride operation mode 2016-03-22 21:12:11 +00:00
IntelOrca 3280bf7aeb fix #3125: handyman AI bug
Handyman AI would find the closest litter but then not actually use that closest litter to determine the direction but instead use the last litter in the sprite list.
2016-03-21 22:36:16 +00:00
Ted John 7348324d99 Merge pull request #3135 from duncanspumpkin/fix_3123
Fix #3123 and refactor of banner placement.
2016-03-21 21:27:46 +00:00
duncanspumpkin 8c7dfd3097 Revert #3147 and fix construction issue. Revert most of c7c1f86 and rework to prevent issues 2016-03-21 21:21:43 +00:00
IntelOrca 78f87cd86c fix screenshot command line 2016-03-20 18:13:17 +00:00
IntelOrca ad250d6ab0 fix #3151: Save any file with korean would corrupt save file 2016-03-19 13:56:33 +00:00
Michał Janiszewski 843014eac2 Silence compiler warning
Though this really should be taken care of properly, see
https://stackoverflow.com/questions/14562845/why-does-passing-char-as-const-char-generate-a-warning
2016-03-19 12:56:35 +01:00
IntelOrca cb9a4860f3 fix #3146: some utf8 strings were truncated on save
strncpy can't be used for RCT2 strings as its a mix of byte / widechar
2016-03-19 11:16:11 +00:00
Michał Janiszewski c1a413c298 Fix crash when opening canoes 2016-03-19 00:47:34 +01:00
IntelOrca 5c2c0c9c57 fix #3142: Localisation - Text out of borders 2016-03-16 18:17:24 +00:00
duncanspumpkin e30c2aeea8 Fix #3123 and refactor of banner placement.
This fix needs testing as it might mess up nested game commands.
2016-03-13 18:40:50 +00:00
duncanspumpkin a3efbad2ba Fix #3126. Go Karts now correctly choose lanes.
Issue caused by mistake in implementation. Old version could use the variable ride->num_vehicles but in the new version this variable is not incremented each loop so vehicleIndex has to be passed into the vehicle creation functions
2016-03-13 18:07:10 +00:00
IntelOrca 21e22a2747 reset last autosave time on game start / load 2016-03-13 15:43:03 +00:00
IntelOrca edf16d53d3 fix #1742: Non-ascii characters in scenario details not showing correctly 2016-03-13 15:33:38 +00:00
IntelOrca 50b52140ad fix #3133: Game Crashes when writing 'hide' into the console 2016-03-12 15:40:57 +00:00
duncanspumpkin a067113d52 Loop the check for data path until valid address given.
This is to prevent people from selecting the wrong address and then wondering why the game doesn't work. Related to #1648.
2016-03-12 14:01:46 +00:00
duncanspumpkin 14c1a88812 Fix #3117. Golf course crash fixed.
Issue caused by implementation mistakes
2016-03-12 07:56:03 +00:00
IntelOrca 1daa657657 fix #3091: Korean words corrupted if over byte limit 2016-03-10 18:48:00 +00:00
IntelOrca d03c4de327 fix #3120: negative cash in finance window is not red 2016-03-09 23:31:49 +00:00
duncanspumpkin ea056665a2 Fix #3113. Issue caused by incorrect assumption. Globals still in use 2016-03-08 20:25:41 +00:00
Ted John 09f0caf8c1 Merge pull request #3111 from janisozaur/ride-type
Be more careful when dealing with hacked rides. Fix #3109
2016-03-08 18:33:29 +00:00
IntelOrca 1c36392f8d fix #3115: Not able to create Themes - Missing folder
- Create the themes directory before saving a theme.
2016-03-08 18:03:07 +00:00
Michał Janiszewski 02c5ece7b7 Be more careful when dealing with hacked rides. Fix #3109 2016-03-07 23:03:35 +01:00
IntelOrca b8edcd50e1 fix #3107: Number of sold items is reset after some time
Number of sold items was being overwritten by a memmove on the field before it.
Queue time changed to only be drawn for rides.
2016-03-07 21:34:26 +00:00
Alexander Overvoorde 76a65ee4dd Fix thunderstorm visuals being tied to sound update function (fixes #3088) 2016-03-07 20:38:22 +01:00
IntelOrca e7d88416f4 fix #2850: Theme window is glitchy 2016-03-07 19:15:49 +00:00
duncanspumpkin ff6bfdced3 Revert #3104. Fix #3100 2016-03-07 19:04:48 +00:00
Josue Acevedo 21c55fda03 Fix a bug that prevents connect footpaths to ride.
Fix a bug that prevents connect footpaths to the ride entrance/exit with multiple stations (Fixes #3100).
2016-03-07 10:18:53 -06:00
IntelOrca 45db398257 invalidate tile after modification in tile inspector 2016-03-05 23:39:49 +00:00
IntelOrca bb7765fedf fix #2935: Construction window doesn't close automatically in multiplayer 2016-03-05 13:11:06 +00:00
IntelOrca a99a2f0cf4 fix command line hosting of scenario files 2016-03-05 12:20:02 +00:00
Ted John 4c60c124c9 Merge pull request #3089 from janisozaur/integrate
Integrate 0x00F1AD14, 0x00F1AD18
2016-03-05 11:22:34 +00:00
Ted John ad9124b8bf Merge pull request #3095 from telk5093/patch-4
Make chat history's line height to 15px
2016-03-05 11:21:36 +00:00
TELK 7f24629962 Update chat.c 2016-03-05 19:24:25 +09:00
TELK d3e8a3e866 Update chat.c 2016-03-05 19:19:58 +09:00
Michał Janiszewski c84e9fd943 Remove unnecessary assert() 2016-03-05 10:58:27 +01:00
Michał Janiszewski 6dbe78b318 Integrate 0x00F1AD14, 0x00F1AD18 2016-03-05 00:40:06 +01:00
IntelOrca 2cd7f2d507 fix warning 2016-03-04 23:12:52 +00:00
danidoedel 57b7934b83 Add ability to disable lightning effect, resolves #1299 2016-03-04 23:13:20 +01:00
Duncan fc2d48d0bb Merge pull request #3079 from Wirlie/develop
Fix a miscalculation on the track cost (Fixes #3074)
2016-03-04 18:08:46 +00:00
Josue Acevedo ff87b90b8f Make code more clean.
Removed an unnecessary "else" code and a unnecessary division with the variable cost.
2016-03-03 17:40:44 -06:00
duncanspumpkin 1033e988d3 Fix #2887. Queues now correctly invalidate when breaking a chain 2016-03-03 22:01:11 +00:00
IntelOrca 4c6c354093 fix unable to place entrance / exit as a client 2016-03-03 21:53:07 +00:00
Josue Acevedo df5670e097 Fix a miscalculation on the track cost (Fixes #3074) 2016-03-03 14:57:44 -06:00