Changeset - r127:728dfee50ea8
[Not reviewed]
master
0 2 0
dominik - 20 years ago 2004-08-24 09:09:49
dominik@openttd.org
(svn r128) Invalid (void) orders in schedule are highlighted in red (Celestar)
2 files changed with 9 insertions and 1 deletions:
0 comments (0 inline, 0 general)
lang/english.txt
Show inline comments
 
@@ -2205,6 +2205,8 @@ STR_SERVICE_NON_STOP_AT_TRAIN_DEPOT		:Se
 
STR_HEADING_FOR_TRAIN_DEPOT				:{LTBLUE}Heading for {TOWN} Train Depot
 
STR_HEADING_FOR_TRAIN_DEPOT_VEL			:{LTBLUE}Heading for {TOWN} Train Depot, {VELOCITY}
 

	
 
STR_INVALID_ORDER				:{RED} (Invalid Order)
 

	
 
STR_UNKNOWN_DESTINATION			:unknown destination
 
STR_8812_EMPTY							:{LTBLUE}Empty
 
STR_8813_FROM							:{LTBLUE}{CARGO} from {STATION}
order_gui.c
Show inline comments
 
@@ -119,7 +119,13 @@ static void DrawOrdersWindow(Window *w)
 
			{
 
				byte color = (i == WP(w,order_d).sel) ? 0xC : 0x10;
 
				SET_DPARAM(0, i+1);
 
				DrawString(2, y, str, color);
 
				if ((ord & OT_MASK) != OT_DUMMY) {
 
					DrawString(2, y, str, color);
 
				} else {
 
					SET_DPARAM16(1, STR_INVALID_ORDER);
 
					SET_DPARAM16(2, ord >> 8);
 
					DrawString(2, y, str, color);
 
				}
 
			}
 
			y += 10;
 
		}
0 comments (0 inline, 0 general)