equal
deleted
inserted
replaced
268 void ShowBuildIndustryWindow(void) |
268 void ShowBuildIndustryWindow(void) |
269 { |
269 { |
270 AllocateWindowDescFront(_industry_window_desc[_patches.build_rawmaterial_ind][_opt.landscape],0); |
270 AllocateWindowDescFront(_industry_window_desc[_patches.build_rawmaterial_ind][_opt.landscape],0); |
271 } |
271 } |
272 |
272 |
273 #define NEED_ALTERB ((_game_mode == GM_EDITOR || _cheats.setup_prod.value) && i->accepts_cargo[0] == CT_INVALID) |
273 #define NEED_ALTERB ((_game_mode == GM_EDITOR || _cheats.setup_prod.value) && (i->accepts_cargo[0] == CT_INVALID || i->accepts_cargo[0] == CT_VALUABLES)) |
274 static void IndustryViewWndProc(Window *w, WindowEvent *e) |
274 static void IndustryViewWndProc(Window *w, WindowEvent *e) |
275 { |
275 { |
276 // WP(w,vp2_d).data_1 is for the editbox line |
276 // WP(w,vp2_d).data_1 is for the editbox line |
277 // WP(w,vp2_d).data_2 is for the clickline |
277 // WP(w,vp2_d).data_2 is for the clickline |
278 // WP(w,vp2_d).data_3 is for the click pos (left or right) |
278 // WP(w,vp2_d).data_3 is for the click pos (left or right) |