Changeset - r440:dcb1dc361741
[Not reviewed]
master
0 1 0
miham - 20 years ago 2004-11-17 01:09:15
miham@openttd.org
(svn r649) Support for custom rail vehicle refit bitmasks. (pasky)
1 file changed with 7 insertions and 5 deletions:
0 comments (0 inline, 0 general)
grfspecial.c
Show inline comments
 
@@ -348,13 +348,15 @@ static bool RailVehicleChangeInfo(uint e
 
				rvi[i].engclass = engclass;
 
			}
 
		}	break;
 
		case 0x1D: {	/* Refit cargo */
 
			FOR_EACH_OBJECT {
 
				uint32 refit_mask = grf_load_dword(&buf);
 

	
 
				_engine_refit_masks[engine + i] = refit_mask;
 
			}
 
		}	break;
 

	
 
		/* TODO */
 
		/* Fall-through for unimplemented four bytes long properties. */
 
		case 0x1D:	/* Refit cargo */
 
			FOR_EACH_OBJECT {
 
				grf_load_word(&buf);
 
			}
 
		/* Fall-through for unimplemented two bytes long properties. */
 
		case 0x1B:	/* Powered wagons power bonus */
 
			FOR_EACH_OBJECT {
0 comments (0 inline, 0 general)