Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						8cf0f354d9 
					 
					
						
						
							
							Merge branch 'tracerestrict-sx' into jgrpp  
						
						
						
						
					 
					
						2017-02-27 18:51:37 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						13f8de58c3 
					 
					
						
						
							
							Add instruction move up/down buttons to GUI.  
						
						... 
						
						
						
						Has block and individual instruction move modes, depending on ctrl. 
						
						
					 
					
						2017-02-26 23:52:15 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						f192865c27 
					 
					
						
						
							
							Allow shallow-removing conditional blocks by use of ctrl+click.  
						
						
						
						
					 
					
						2017-02-26 21:39:04 +00:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						80e3af6bf5 
					 
					
						
						
							
							Merge branch 'tracerestrict-sx' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/lang/english.txt
#	src/saveload/extended_ver_sl.cpp
#	src/tracerestrict.cpp
#	src/tracerestrict.h
#	src/tracerestrict_gui.cpp 
						
						
					 
					
						2016-06-30 20:25:22 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						f942de699c 
					 
					
						
						
							
							Add power/weight and max TE/weight ratio tracerestrict conditionals.  
						
						... 
						
						
						
						Minor refactorings. 
						
						
					 
					
						2016-06-30 19:31:45 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						b5531975da 
					 
					
						
						
							
							Add train weight, power, and max TE tracerestrict conditionals.  
						
						... 
						
						
						
						Minor refactorings. 
						
						
					 
					
						2016-06-29 22:08:05 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						0d26da998b 
					 
					
						
						
							
							Merge branch 'tracerestrict-sx' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/group_cmd.cpp
#	src/group_gui.cpp
#	src/lang/english.txt
#	src/saveload/extended_ver_sl.cpp
#	src/tracerestrict.cpp
#	src/tracerestrict.h
#	src/tracerestrict_gui.cpp 
						
						
					 
					
						2016-04-05 20:12:09 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						213b0e7e3a 
					 
					
						
						
							
							Tracerestrict: Add a group membership conditional.  
						
						
						
						
					 
					
						2016-04-05 18:40:16 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						49988b37b8 
					 
					
						
						
							
							Merge branches 'tracerestrict-sx' and 'template_train_replacement-sx' into jgrpp  
						
						
						
						
					 
					
						2016-03-08 19:33:00 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						4d94470d08 
					 
					
						
						
							
							Update all tracerestrict windows when a restricted signal is removed.  
						
						... 
						
						
						
						This fixes share counts in any open windows sharing the same program
not being updated. 
						
						
					 
					
						2016-03-08 19:20:55 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						73e8c32a5d 
					 
					
						
						
							
							Merge branch 'tracerestrict-sx' into jgrpp  
						
						... 
						
						
						
						Conflicts:
	src/saveload/extended_ver_sl.cpp
	src/tracerestrict.h
	src/tracerestrict_gui.cpp
	src/train_cmd.cpp 
						
						
					 
					
						2016-01-20 22:19:15 +00:00 
						 
				 
			
				
					
						
							
							
								patch-import 
							
						 
					 
					
						
						
							
						
						82cab7f31c 
					 
					
						
						
							
							Tracerestrict: Import "Long Reserve" feature.  
						
						... 
						
						
						
						https://github.com/KeldorKatarn/OpenTTD_PatchPack 
Minor code de-duplications. 
					
						2016-01-20 21:49:53 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						7673436d3a 
					 
					
						
						
							
							Trace restrict: add train ownership conditional.  
						
						... 
						
						
						
						Infra sharing whitespace fix. 
						
						
					 
					
						2015-12-15 20:30:20 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						95c532b134 
					 
					
						
						
							
							Merge branch 'tracerestrict-sx' into jgrpp  
						
						
						
						
					 
					
						2015-12-15 18:43:11 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						ebf250d813 
					 
					
						
						
							
							Reserve instruction 24 for train owner test.  
						
						
						
						
					 
					
						2015-12-15 18:37:34 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						9c5189b212 
					 
					
						
						
							
							Handle double instructions correctly when deleting stations/depots/etc.  
						
						... 
						
						
						
						Fix some whitespace and comment typos. 
						
						
					 
					
						2015-12-15 18:36:02 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3dec3242cc 
					 
					
						
						
							
							Merge branch 'tracerestrict-sx' into jgrpp  
						
						... 
						
						
						
						Conflicts:
	src/saveload/extended_ver_sl.cpp 
						
						
					 
					
						2015-09-02 21:09:25 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e2435c7169 
					 
					
						
						
							
							Only run trace restrict programs if they contain relevant actions.  
						
						... 
						
						
						
						Only run in pathfinder case if deny or penalty are present.
Only run in is safe waiting tile case is reserve through is present.
Presence is determined at program validation time and cached in the
program structure.
Validator now checks for unknown non-conditional instructions. 
						
						
					 
					
						2015-09-02 18:35:56 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						06a1d7c5c9 
					 
					
						
						
							
							Add reserve through action to trace restrict programs.  
						
						... 
						
						
						
						This only changes the behaviour of PBS reservations which
would otherwise terminate at a PBS signal.
If the signal restriction sets the reserve through state,
the reservation continues through the signal, and the signal
is set to green. 
						
						
					 
					
						2015-09-02 02:12:02 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						96ccd9333a 
					 
					
						
						
							
							Clear PAX stations/signals and traffic lights on load.  
						
						... 
						
						
						
						This clears the tracerestrict bit if there are no mappings on a tile. 
						
						
					 
					
						2015-08-19 18:55:02 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						76707fb72a 
					 
					
						
						
							
							Change pf penalty restriction value button to preset values and a custom option.  
						
						... 
						
						
						
						Preset values are 'small', 'medium' and 'large'.
Change default to 'small' preset. 
						
						
					 
					
						2015-08-04 19:09:40 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						a0520b8937 
					 
					
						
						
							
							Initial implementation of PBS entry signal condition variable.  
						
						... 
						
						
						
						TODO: see how the efficiency of this can be improved. 
						
						
					 
					
						2015-08-03 20:28:42 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						116bd41101 
					 
					
						
						
							
							Initial support for multi-item instructions.  
						
						... 
						
						
						
						This involves various changes to instruction modification actions,
and the GUI code. 
						
						
					 
					
						2015-08-03 20:03:42 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						5474ee3e40 
					 
					
						
						
							
							Add entry direction condition variable.  
						
						
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3dd51e96b8 
					 
					
						
						
							
							Bulk documentation update, and a few style fixes.  
						
						
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						75869cae41 
					 
					
						
						
							
							Add train can carry cargo condition variable.  
						
						
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3a7a81e02f 
					 
					
						
						
							
							Add GUI support for else if, or if and else blocks.  
						
						... 
						
						
						
						Add another drop-down to change between these.
Opening if blocks cannot be converted to/from these. 
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						fedf618978 
					 
					
						
						
							
							Add last visited station condition.  
						
						
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						2296fc85e6 
					 
					
						
						
							
							Add next order condition variable.  
						
						
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						ffed0c194a 
					 
					
						
						
							
							Add current order (station, waypoint or depot) condition variable.  
						
						... 
						
						
						
						Adjust item bit allocations:
* Increase cond flags from 2 bits to 3 bits, for future expansion.
* Use 2 bits remaining in adjacent gap for an auxiliary type field.
  This is used for the type (station, waypoint, etc.) of order tests.
Perform a linear scan of the program pool when deleting a station,
waypoint or depot. 
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						0be3b053d5 
					 
					
						
						
							
							Add maximum train speed condition variable.  
						
						
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						627288277e 
					 
					
						
						
							
							Implement reset, copy, share and unshare of trace restrict programs.  
						
						... 
						
						
						
						Add documentation on data storage model, wrt lookup, mapping and sharing. 
						
						
					 
					
						2015-07-28 01:36:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						5f1b148cf9 
					 
					
						
						
							
							Initial minimal working tracerestrict implementation.  
						
						... 
						
						
						
						This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance. 
						
						
					 
					
						2015-07-28 01:36:52 +01:00