Commit Graph

46985 Commits

Author SHA1 Message Date
Jonathan G Rennison
6242c50725 Use a std::vector for SpriteCache struct array 2018-08-19 02:48:46 +01:00
keldorkatarn
6228a336d4 Show the most relevant information in the vehicle list window, based on what the list is sorted on.
(cherry picked from commit da2d0e14fecec35dbf805395200b12998c8cc52a)

Minor changes
2018-08-16 06:58:08 +01:00
Jonathan G Rennison
d8b9e2953e Merge branch 'enhanced_viewport_overlay' into jgrpp
# Conflicts:
#	src/command.cpp
#	src/saveload/extended_ver_sl.cpp
2018-08-16 05:49:07 +01:00
Jonathan G Rennison
f59535c0b7 Merge branch 'tracerestrict-sx' into jgrpp
# Conflicts:
#	src/train_cmd.cpp
2018-08-16 05:45:30 +01:00
keldorkatarn
98da7019d6 Plans: Make it possible to give plans a name.
(cherry picked from commit d9b553f130a6eda36e2eea217785f829d3d8624e)
2018-08-16 05:30:56 +01:00
Jonathan G Rennison
2f2937356b Add command parameter validation to plan commands
(cherry picked from commit 957cff34dc)
2018-08-16 05:29:10 +01:00
Jonathan G Rennison
90f89770c2 Set CMD_NO_TEST flag for plan commands
(cherry picked from commit 8709fdade3)
2018-08-16 05:24:47 +01:00
Jonathan G Rennison
60cc1a48ac Refresh trace restrict slots window as with the train list window 2018-08-15 19:38:56 +01:00
keldorkatarn
acdeaa715e Tracerestrict slots: Fix a crash bug when selling a train that's in a tracerestrict slot. Again a use of an invalid iterator. We need to check FIRST if range.first and reange.second are equal. After erasing the range those iterators are invalid.
(cherry picked from commit 7aea2ced3ced5ec4201fbad9c206451aad057718)
2018-08-15 19:22:18 +01:00
Jonathan G Rennison
1c41cff322 Add GV flags and reversing distance to DumpVehicleFlags 2018-08-15 03:43:57 +01:00
Jonathan G Rennison
fb3cb9c3d2 Enable NewGRF debug window for non-GRF vehicles 2018-08-15 03:14:53 +01:00
frosch
97d6e3c90f Fix: Variable 0x85 had no bounds checks. 2018-08-14 19:42:31 +01:00
Jonathan G Rennison
a36304481e Fix visual glitches rendering multi-part order lines 2018-08-14 12:35:37 +01:00
Jonathan G Rennison
6578d94e63 Add support for timetabled wait times at waypoints 2018-08-14 12:35:05 +01:00
Jonathan G Rennison
5732e4f7ff Show reversing and timetable waiting in vehicle status bar 2018-08-14 11:24:40 +01:00
Jonathan G Rennison
940314a3c7 Use std::string for CommandContainer text instead of giant static buffer
Use move semantics for CommandContainer instance where feasible
2018-08-13 12:16:41 +01:00
Jonathan G Rennison
957cff34dc Add command parameter validation to plan commands 2018-08-13 08:36:29 +01:00
Jonathan G Rennison
8709fdade3 Set CMD_NO_TEST flag for plan commands 2018-08-13 08:35:23 +01:00
Jonathan G Rennison
e55a327c09 Enable locking timetable travel times 2018-08-13 01:42:14 +01:00
Jonathan G Rennison
5344ec1931 Add a "leave early" order timetable flag
Re-arrange timetable GUI slightly.
Add an "extra" drop-down item.
2018-08-13 01:40:17 +01:00
Jonathan G Rennison
a5603b539f Fix order extra data/flags copying conditions in Order::AssignOrder
Data/flags were not copied to vehicle current_orders if cargo-type
load/unload was not being used.
2018-08-13 01:16:16 +01:00
Jonathan G Rennison
292025394c Version: Committing version data for tag: jgrpp-0.26.2 2018-08-12 03:15:10 +01:00
Jonathan G Rennison
28c5453926 Merge branch 'master' into jgrpp 2018-08-12 03:08:27 +01:00
translators
50d930298d Update: Translations from eints
croatian: 1 change by VoyagerOne
2018-08-11 19:45:42 +02:00
Jonathan G Rennison
bdf155e60c Fix: Depot building cost does not include foundation build cost (#6875) 2018-08-11 01:32:32 +01:00
translators
a53e4d8fe5 Update: Translations from eints
dutch: 137 changes by mrLeopold
2018-08-09 19:45:42 +02:00
Jonathan G Rennison
b653c55d34 Documentation: Spelling/minor adjustments to NewGRF additions 2018-08-09 08:40:34 +01:00
Jonathan G Rennison
15d818facc Documentation: Add docs on NewGRF spec additions 2018-08-08 23:19:06 +01:00
Jonathan G Rennison
f06c2e0475 Add NewGRF feature for varact2 station var 42 2018-08-08 23:03:08 +01:00
translators
27c4f5517f Update: Translations from eints
dutch: 115 changes by mrLeopold
2018-08-08 19:45:45 +02:00
Jonathan G Rennison
4566699939 Fix script/AI construction of rail track and waypoints
Broken by increase to 64 rail types (bf8d7df736)
2018-08-07 23:20:51 +01:00
Jonathan G Rennison
cb7eea8896 Add NewGRF features for more bridge types and Action 0 bridges prop 0x14 2018-08-07 22:58:05 +01:00
cirdan
c6d4a6b5e4 Rework end loop in GrowTownWithBridge
Rework the end loop in GrowTownWithBridge to keep track of bridge
types already tried. This also fixes a bug that prevented the last
bridge type from being tried at all.

(cherry picked from commit 2b1d2c5887f8c3e27a8229ef87d670395aab2011)
2018-08-07 22:44:36 +01:00
cirdan
f41a125d8e Raise the maximum number of bridge types to 16
Raise the maximum number of possible bridge types to 16. The new
bridge types have default properties that make them unavailable at
any year and bridge length, so they cannot be used unless a NewGRF
overrides them.

(cherry picked from commit da399d7bf278ba32fb9f14af65cfcefe5d276e71)
2018-08-07 22:42:36 +01:00
cirdan
1aa13c9ea3 Allow NewGRFs to set the selection sprite for a bridge
Allow NewGRFs to define the sprite to use for a bridge in the bridge
selection window through Action0 property 14.

(cherry picked from commit 8434809a5b57477908e8d5f663e950546c7c8408)
2018-08-07 22:42:07 +01:00
translators
004f54f4c8 Update: Translations from eints
hebrew: 23 changes by dnd_man
french: 45 changes by glx
2018-08-07 19:45:41 +02:00
Jonathan G Rennison
848a92e0d9 Fix signal state propagation from the back side of tunnel/bridge tiles 2018-08-07 08:24:06 +01:00
Jonathan G Rennison
59c396cc3b Fix wrong line height in click to select order in timetable GUI 2018-08-07 07:47:31 +01:00
Peter Nelson
af043df5a3 Fix: Some pixels in ship autoreplace icon (sprite 106) were transparent. 2018-08-06 19:22:44 +01:00
Jonathan G Rennison
9774606c22 Version: Committing version data for tag: jgrpp-0.26.1 2018-08-06 02:43:34 +01:00
Jonathan G Rennison
b582ef8078 Add NewGRF feature: action0_station_prop1B 2018-08-06 02:33:35 +01:00
Jonathan G Rennison
2735e7748c Merge branch 'newgrf-feature-detection' into jgrpp 2018-08-06 02:33:17 +01:00
Jonathan G Rennison
9038ac5c00 Merge branch 'master' into jgrpp
# Conflicts:
#	docs/landscape_grid.html
2018-08-06 02:33:13 +01:00
Jonathan G Rennison
9f2515d793 Add general NewGRF feature detection scheme to Action 14 2018-08-06 02:29:26 +01:00
Patric Stout
5df3a65074 Add: notify IRC about pull-requests and issues 2018-08-05 17:46:30 +02:00
Jonathan G Rennison
64c71f5136 Add recalculated total to AssertCountConsistency assertion message 2018-08-05 11:32:05 +01:00
Jonathan G Rennison
f13b686d0c Merge branch 'custom_bridgeheads' into jgrpp
# Conflicts:
#	src/settings_gui.cpp
#	src/train_cmd.cpp
2018-08-05 10:49:02 +01:00
Jonathan G Rennison
1b9775479d Fix incorrect vehicle alignment when entering bridge from W,N directions 2018-08-05 10:47:13 +01:00
Jonathan G Rennison
a87720ca06 Fix train bounding box/delta not being updated when entering bridge from 45° angle 2018-08-05 10:45:21 +01:00
Patric Stout
74eb77f0a8 Add: notify IRC about pushes to this repository 2018-08-04 22:43:54 +02:00