Commit Graph

23705 Commits

Author SHA1 Message Date
Jonathan G Rennison
9d5f34fea6 Replace various uses of std::set/map with btree containers. 2017-02-08 00:18:09 +00:00
Jonathan G Rennison
76de8f9b13 Merge branch 'cpp-btree' into jgrpp
# Conflicts:
#	projects/openttd_vs100.vcxproj
#	projects/openttd_vs100.vcxproj.filters
#	projects/openttd_vs140.vcxproj
#	projects/openttd_vs140.vcxproj.filters
#	source.list
2017-02-07 22:29:44 +00:00
Jonathan G Rennison
1be9660730 Version: Committing version data for tag: jgrpp-0.17.0 2017-02-07 19:47:55 +00:00
Jonathan G Rennison
ea11846d5d Merge branch 'master' into jgrpp 2017-02-07 19:21:54 +00:00
Jonathan G Rennison
3d0ed3547b Update source.list and project files with btree headers. 2017-02-07 19:16:20 +00:00
Jonathan G Rennison
b4cfb1adbc Import cpp-btree library into 3rdparty section.
Repo: https://github.com/JGRennison/cpp-btree
Commmit: 6cabdb40fcbb7e12e6d499f92b898f6ec80ae0f1

Remove test program, build scripts, etc.
2017-02-07 19:07:11 +00:00
Jonathan G Rennison
9d9799a39f Merge branch 'template_train_replacement' into jgrpp 2017-02-07 18:52:03 +00:00
Jonathan G Rennison
120fcf995d TBTR: Remove unused const variable. 2017-02-07 18:51:31 +00:00
Jonathan G Rennison
97d718ecee Merge branch 'lifetime_profit-sx' into jgrpp
# Conflicts:
#	src/vehicle_gui.cpp
2017-02-06 19:18:46 +00:00
Jonathan G Rennison
9d8b1731cf Merge branch 'lifetime_profit' into lifetime_profit-sx 2017-02-06 19:17:44 +00:00
Jonathan G Rennison
6d99162df9 Fix disable mask for sorter drop-down being mis-aligned.
Sort by length was incorrectly available, and crashed for non ground
vehicles.
2017-02-06 19:16:56 +00:00
Jonathan G Rennison
2533210fc9 Fix tunnels underground view merge issue with custom bridgeheads. 2017-02-06 01:53:06 +00:00
Jonathan G Rennison
072915f2c7 Merge branch 'custom_bridgeheads' into jgrpp
# Conflicts:
#	docs/landscape_grid.html
#	src/roadveh_cmd.cpp
#	src/saveload/afterload.cpp
#	src/saveload/extended_ver_sl.cpp
#	src/saveload/extended_ver_sl.h
#	src/settings_gui.cpp
#	src/settings_type.h
#	src/tunnelbridge_cmd.cpp
#	src/tunnelbridge_map.h
2017-02-05 20:43:56 +00:00
Jonathan G Rennison
079a5a66da Custom bridge heads: Relax ownership checks to be similar to plain roads. 2017-02-05 20:43:19 +00:00
Jonathan G Rennison
0cd99e576c Custom bridge heads: Document landscape array use. 2017-02-05 20:43:19 +00:00
Jonathan G Rennison
da177d063f Custom bridge heads: Initial implementation 2017-02-05 20:43:19 +00:00
Jonathan G Rennison
9782d70c53 Merge branch 'house_placing' into jgrpp
# Conflicts:
#	src/lang/korean.txt
2017-02-05 19:05:09 +00:00
Jonathan G Rennison
e97a393a0f Merge branch 'master' into house_placing 2017-02-05 19:00:22 +00:00
Jonathan G Rennison
e079fd043f Revert "(svn r27739) -Cleanup/Revert (r12162): Clearing MP_HOUSE with DC_EXEC always fails, so there is no effect in testing for houses first. (adf88)"
This reverts commit 6c573dc3b5.

This is to avoid clashing with the housing pick/place patch
2017-02-05 18:58:33 +00:00
Jonathan G Rennison
1f727e9029 Custom bridge heads: Add savegame version and setting. 2017-02-05 18:01:31 +00:00
frosch
30637d1580 (svn r27743) -Fix [FS#6537]: Extra viewports did not center on the selected tile. (hackalittlebit) 2017-02-05 17:54:46 +00:00
translators
31d4b1e8d6 (svn r27742) -Update from Eints:
spanish (mexican): 1 change by Absay
2017-02-03 18:45:39 +00:00
Jonathan G Rennison
3b45419a16 Merge branch 'master' into save_ext 2017-02-02 20:41:48 +00:00
Jonathan G Rennison
1e5c788541 Merge branch 'signal_tunnels_bridges' into jgrpp
# Conflicts:
#	src/table/settings.ini
#	src/tunnelbridge.h
2017-01-30 21:41:20 +00:00
Jonathan G Rennison
d762835903 Signals on tunnel/bridges are now added to infrastructure stats. 2017-01-30 21:37:17 +00:00
Jonathan G Rennison
1e1fcc471b Replace leftover debug print from veh repair fix with scope info fmt.
Fixes c6b1decaf
2017-01-30 19:45:53 +00:00
Jonathan G Rennison
cfc04c6408 Merge branch 'lifetime_profit-sx' into jgrpp
# Conflicts:
#	src/vehicle_base.h
2017-01-30 19:31:25 +00:00
Jonathan G Rennison
38bf6ade69 Merge branch 'lifetime_profit' into lifetime_profit-sx 2017-01-30 19:30:23 +00:00
Jonathan G Rennison
529aafd257 Reset overall lifetime profit to 0 when renewing vehicle. 2017-01-30 19:30:08 +00:00
Jonathan G Rennison
55e56cda52 Increase maximum permitted vehicle name length. 2017-01-30 19:11:11 +00:00
translators
0fc88ade9f (svn r27741) -Update from Eints:
luxembourgish: 26 changes by Phreeze
russian: 1 change by Lone_Wolf
2017-01-26 18:45:36 +00:00
translators
cd18f2c10c (svn r27740) -Update from Eints:
korean: 1 change by telk5093
2017-01-25 18:45:36 +00:00
Jonathan G Rennison
f3bea35fcc Merge branches 'template_train_replacement' and 'infrastructure_sharing' into jgrpp 2017-01-24 19:49:01 +00:00
Jonathan G Rennison
11e4bcee40 Slightly decrease proximity required for trains to crash.
This is to fix trains of different companies being able to crash when
two stations or line-ends are directly against each other.
2017-01-24 19:47:13 +00:00
Jonathan G Rennison
f499de6673 TBTR: Fix incorrect cost estimates in GUI for templates. 2017-01-24 19:45:32 +00:00
Jonathan G Rennison
6ec8722258 Minor fixes and refactoring of timetable automation set/clear command. 2017-01-24 19:21:00 +00:00
Jonathan G Rennison
1276f5345d Implement a natural sort function to use if ICU is not usable. 2017-01-24 00:24:18 +00:00
Jonathan G Rennison
ea9b28ef8c Merge branch 'cargo_type_order' into jgrpp
# Conflicts:
#	src/order_gui.cpp
2017-01-23 21:49:10 +00:00
Jonathan G Rennison
c60bc7be1a Fix refresh/validity issues for cargo type orders GUI.
Handle case where the order disappears/moves, fixes crash if
order list is now too short.
Refresh drop-down when running as a multiplayer client, or
when another player updates the cargo options.
2017-01-23 21:47:09 +00:00
frosch
6c573dc3b5 (svn r27739) -Cleanup/Revert (r12162): Clearing MP_HOUSE with DC_EXEC always fails, so there is no effect in testing for houses first. (adf88) 2017-01-22 13:13:15 +00:00
Jonathan G Rennison
da058213e6 Merge branch 'group_collapse' into jgrpp 2017-01-21 02:32:43 +00:00
Jonathan G Rennison
a0fe6c3c3f Fix collapse all disable state and functionality when partially collapsed.
Fix being able to collapse empty groups with double-click.
2017-01-21 02:32:18 +00:00
Jonathan G Rennison
24b3424ca3 Merge branch 'template_train_replacement' into jgrpp
# Conflicts:
#	src/economy.cpp
#	src/network/network_command.cpp
#	src/saveload/extended_ver_sl.cpp
2017-01-21 01:44:05 +00:00
Jonathan G Rennison
d4157b3662 TBTR: Handle leftover template vehicles without owners in old saves. 2017-01-21 01:40:26 +00:00
Jonathan G Rennison
285ba41699 TBTR: Fix spelling issues in comment and a method name. 2017-01-21 01:39:59 +00:00
Jonathan G Rennison
4800e47270 TBTR: Remove partial implementation of all-group replacement. 2017-01-21 01:39:13 +00:00
Jonathan G Rennison
e79541b166 TBTR: Remove/change owner of template vehicles on company buy/deletion. 2017-01-21 01:39:11 +00:00
Jonathan G Rennison
d17d2f81dd TBTR: Remove lots of unused/dead code. 2017-01-21 01:38:08 +00:00
Jonathan G Rennison
1b3077bdc9 TBTR: Clean up template replacements when removing company. 2017-01-21 01:38:08 +00:00
Jonathan G Rennison
b3f49672ec Change default for cargo recalc interval not scaled by day length, to true. 2017-01-21 00:20:25 +00:00