Remove unused files there were referencing ToonTown

Closes #659
This commit is contained in:
Mitchell Stokes 2019-05-19 20:20:35 -07:00 committed by rdb
parent 3d6f35827a
commit cb7dbfc219
21 changed files with 0 additions and 3883 deletions

View File

@ -1,108 +0,0 @@
corniceColor: Vec4(0.11, 0.80, 0.22, 1.0)
corniceColor: Vec4(0.21, 0.73, 0.31, 1.0)
corniceColor: Vec4(0.22, 0.96, 0.27, 1.0)
corniceColor: Vec4(0.57, 0.39, 0.34, 1.0)
corniceColor: Vec4(0.59, 1.00, 0.92, 1.0)
corniceColor: Vec4(0.66, 1.00, 0.86, 1.0)
corniceColor: Vec4(0.73, 0.51, 0.51, 1.0)
corniceColor: Vec4(0.75, 0.45, 0.45, 1.0)
corniceColor: Vec4(0.76, 0.57, 0.29, 1.0)
corniceColor: Vec4(0.76, 0.73, 0.64, 1.0)
corniceColor: Vec4(0.82, 0.91, 0.44, 1.0)
corniceColor: Vec4(0.90, 0.56, 0.34, 1.0)
corniceColor: Vec4(0.91, 0.54, 0.44, 1.0)
corniceColor: Vec4(0.91, 0.63, 0.44, 1.0)
corniceColor: Vec4(0.94, 0.35, 0.35, 1.0)
corniceColor: Vec4(0.94, 0.72, 0.66, 1.0)
corniceColor: Vec4(1.00, 0.42, 0.27, 1.0)
corniceColor: Vec4(1.00, 0.50, 0.38, 1.0)
corniceColor: Vec4(1.00, 0.69, 0.49, 1.0)
corniceColor: Vec4(1.00, 0.71, 0.27, 1.0)
corniceColor: Vec4(1.00, 0.84, 0.59, 1.0)
corniceColor: Vec4(1.00, 0.88, 0.80, 1.0)
corniceColor: Vec4(1.00, 0.92, 0.59, 1.0)
corniceColor: Vec4(1.00, 1.00, 0.59, 1.0)
doorColor: Vec4(0.45, 0.53, 0.45, 1.0)
doorColor: Vec4(0.52, 0.61, 0.52, 1.0)
doorColor: Vec4(0.60, 0.67, 0.54, 1.0)
doorColor: Vec4(0.63, 0.48, 0.34, 1.0)
doorColor: Vec4(0.79, 0.47, 0.47, 1.0)
doorColor: Vec4(0.86, 0.48, 0.23, 1.0)
doorColor: Vec4(0.88, 0.43, 0.43, 1.0)
doorColor: Vec4(0.91, 0.34, 0.34, 1.0)
doorColor: Vec4(0.94, 0.70, 0.49, 1.0)
doorColor: Vec4(0.97, 0.55, 0.40, 1.0)
doorColor: Vec4(1.00, 0.59, 0.59, 1.0)
wallColor: Vec4(0.17, 0.44, 0.28, 1.0)
wallColor: Vec4(0.17, 0.45, 0.23, 1.0)
wallColor: Vec4(0.36, 0.45, 0.22, 1.0)
wallColor: Vec4(0.38, 0.31, 0.19, 1.0)
wallColor: Vec4(0.38, 0.68, 0.46, 1.0)
wallColor: Vec4(0.42, 0.16, 0.16, 1.0)
wallColor: Vec4(0.42, 0.25, 0.25, 1.0)
wallColor: Vec4(0.44, 0.67, 0.45, 1.0)
wallColor: Vec4(0.45, 0.31, 0.17, 1.0)
wallColor: Vec4(0.48, 0.93, 0.74, 1.0)
wallColor: Vec4(0.52, 0.96, 0.79, 1.0)
wallColor: Vec4(0.57, 0.70, 0.35, 1.0)
wallColor: Vec4(0.63, 0.47, 0.24, 1.0)
wallColor: Vec4(0.63, 0.60, 0.40, 1.0)
wallColor: Vec4(0.64, 0.24, 0.32, 1.0)
wallColor: Vec4(0.71, 0.49, 0.35, 1.0)
wallColor: Vec4(0.75, 0.45, 0.45, 1.0)
wallColor: Vec4(0.81, 0.48, 0.48, 1.0)
wallColor: Vec4(0.87, 0.61, 0.61, 1.0)
wallColor: Vec4(0.87, 0.69, 0.42, 1.0)
wallColor: Vec4(0.91, 0.54, 0.54, 1.0)
wallColor: Vec4(0.92, 0.63, 0.42, 1.0)
wallColor: Vec4(0.93, 0.15, 0.15, 1.0)
wallColor: Vec4(1.00, 0.00, 0.00, 1.0)
windowColor: Vec4(0.00, 0.53, 0.32, 1.0)
windowColor: Vec4(0.00, 0.61, 0.36, 1.0)
windowColor: Vec4(0.07, 0.47, 0.31, 1.0)
windowColor: Vec4(0.08, 0.47, 0.31, 1.0)
windowColor: Vec4(0.17, 0.64, 0.45, 1.0)
windowColor: Vec4(0.50, 0.38, 0.22, 1.0)
windowColor: Vec4(0.64, 0.93, 0.45, 1.0)
windowColor: Vec4(0.69, 0.44, 0.15, 1.0)
windowColor: Vec4(0.73, 0.46, 0.37, 1.0)
windowColor: Vec4(0.73, 0.63, 0.37, 1.0)
windowColor: Vec4(0.73, 0.63, 0.45, 1.0)
windowColor: Vec4(0.74, 0.55, 0.32, 1.0)
windowColor: Vec4(0.78, 0.49, 0.29, 1.0)
windowColor: Vec4(0.79, 0.47, 0.47, 1.0)
windowColor: Vec4(0.82, 0.82, 0.40, 1.0)
windowColor: Vec4(0.87, 0.55, 0.33, 1.0)
windowColor: Vec4(0.87, 0.65, 0.33, 1.0)
windowColor: Vec4(0.88, 0.43, 0.43, 1.0)
windowColor: Vec4(0.91, 0.34, 0.45, 1.0)
windowColor: Vec4(1.00, 0.50, 0.38, 1.0)
windowColor: Vec4(1.00, 0.63, 0.38, 1.0)
propColor: Vec4(0.17, 0.44, 0.28, 1.0)
propColor: Vec4(0.17, 0.45, 0.23, 1.0)
propColor: Vec4(0.36, 0.45, 0.22, 1.0)
propColor: Vec4(0.38, 0.31, 0.19, 1.0)
propColor: Vec4(0.38, 0.68, 0.46, 1.0)
propColor: Vec4(0.42, 0.16, 0.16, 1.0)
propColor: Vec4(0.42, 0.25, 0.25, 1.0)
propColor: Vec4(0.44, 0.67, 0.45, 1.0)
propColor: Vec4(0.45, 0.31, 0.17, 1.0)
propColor: Vec4(0.48, 0.93, 0.74, 1.0)
propColor: Vec4(0.52, 0.96, 0.79, 1.0)
propColor: Vec4(0.57, 0.70, 0.35, 1.0)
propColor: Vec4(0.63, 0.47, 0.24, 1.0)
propColor: Vec4(0.63, 0.60, 0.40, 1.0)
propColor: Vec4(0.64, 0.24, 0.32, 1.0)
propColor: Vec4(0.71, 0.49, 0.35, 1.0)
propColor: Vec4(0.75, 0.45, 0.45, 1.0)
propColor: Vec4(0.81, 0.48, 0.48, 1.0)
propColor: Vec4(0.87, 0.61, 0.61, 1.0)
propColor: Vec4(0.87, 0.69, 0.42, 1.0)
propColor: Vec4(0.91, 0.54, 0.54, 1.0)
propColor: Vec4(0.92, 0.63, 0.42, 1.0)
propColor: Vec4(0.93, 0.15, 0.15, 1.0)
propColor: Vec4(1.00, 0.00, 0.00, 1.0)

View File

@ -1,64 +0,0 @@
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.417323, 0.15711, 0.15711, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.874016, 0.654655, 0.329041, 1.0)
corniceTexture: cornice_marble_ur
corniceColor: Vec4(0.76378, 0.572086, 0.287541, 1.0)
wallTexture: wall_sm_wood_ur
wallColor: Vec4(0.874016, 0.610097, 0.610097, 1.0)
windowTexture: window_sm_shuttered_ur
windowColor: Vec4(0.874016, 0.548402, 0.329041, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_sm_wood_ur
wallColor: Vec4(0.913386, 0.540868, 0.540868, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.0778138, 0.472441, 0.314961, 1.0)
corniceTexture: cornice_horizontal_ur
corniceColor: Vec4(1.0, 0.501961, 0.376471, 1.0)
wallTexture: wall_sm_wood_ur
wallColor: Vec4(0.913386, 0.540868, 0.540868, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.0778138, 0.472441, 0.314961, 1.0)
corniceTexture: cornice_shingles_ur
corniceColor: Vec4(0.732283, 0.511163, 0.511163, 1.0)
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.384314, 0.305635, 0.187618, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.779528, 0.489115, 0.293469, 1.0)
corniceTexture: cornice_dental_ur
corniceColor: Vec4(0.574803, 0.38771, 0.340374, 1.0)
wallTexture: wall_bricks_dr
wallColor: Vec4(0.629921, 0.471823, 0.237147, 1.0)
windowTexture: window_sm_shuttered_ur
windowColor: Vec4(1.0, 0.627451, 0.376471, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_board_ur
wallColor: Vec4(0.929134, 0.153034, 0.153034, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.0, 0.532747, 0.317894, 1.0)
corniceTexture: cornice_shingles_ur
corniceColor: Vec4(0.944882, 0.715146, 0.659565, 1.0)
wallTexture: wall_lg_brick_ur
wallColor: Vec4(0.166003, 0.440945, 0.276671, 1.0)
windowTexture: window_md_curtains_ur
windowColor: Vec4(0.17258, 0.637795, 0.450208, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_board_ur
wallColor: Vec4(0.929134, 0.153034, 0.153034, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.0, 0.532747, 0.317894, 1.0)
corniceTexture: None
corniceColor: None

View File

@ -1,61 +0,0 @@
corniceColor: Vec4(0.43, 0.32, 0.85, 1.0)
corniceColor: Vec4(0.67, 0.40, 0.99, 1.0)
corniceColor: Vec4(0.68, 0.22, 0.80, 1.0)
corniceColor: Vec4(0.80, 0.22, 0.68, 1.0)
corniceColor: Vec4(0.81, 0.30, 0.51, 1.0)
corniceColor: Vec4(1.00, 1.00, 0.58, 1.0)
doorColor: Vec4(0.42, 0.42, 0.85, 1.0)
doorColor: Vec4(0.45, 0.22, 0.60, 1.0)
doorColor: Vec4(0.49, 0.79, 1.00, 1.0)
doorColor: Vec4(0.56, 0.80, 0.65, 1.0)
doorColor: Vec4(0.59, 0.49, 1.00, 1.0)
doorColor: Vec4(0.64, 0.45, 0.92, 1.0)
doorColor: Vec4(0.65, 0.40, 0.82, 1.0)
doorColor: Vec4(0.69, 0.33, 0.69, 1.0)
doorColor: Vec4(0.80, 0.56, 0.65, 1.0)
doorColor: Vec4(0.87, 0.80, 0.47, 1.0)
doorColor: Vec4(0.97, 0.87, 0.47, 1.0)
doorColor: Vec4(1.00, 0.42, 0.85, 1.0)
doorColor: Vec4(1.00, 0.79, 0.49, 1.0)
wallColor: Vec4(0.49, 0.69, 1.00, 1.0)
wallColor: Vec4(0.59, 0.75, 1.00, 1.0)
wallColor: Vec4(0.70, 0.76, 1.00, 1.0)
wallColor: Vec4(0.80, 0.47, 0.80, 1.0)
wallColor: Vec4(0.80, 0.80, 0.47, 1.0)
wallColor: Vec4(0.91, 0.91, 0.54, 1.0)
wallColor: Vec4(0.96, 0.96, 0.47, 1.0)
wallColor: Vec4(0.96, 0.96, 0.73, 1.0)
wallColor: Vec4(0.97, 0.36, 0.36, 1.0)
wallColor: Vec4(0.97, 0.47, 0.67, 1.0)
wallColor: Vec4(1.00, 0.70, 0.70, 1.0)
wallColor: Vec4(1.00, 1.00, 1.00, 1.0)
windowColor: Vec4(0.42, 0.42, 0.85, 1.0)
windowColor: Vec4(0.45, 0.22, 0.60, 1.0)
windowColor: Vec4(0.49, 0.79, 1.00, 1.0)
windowColor: Vec4(0.56, 0.80, 0.65, 1.0)
windowColor: Vec4(0.59, 0.49, 1.00, 1.0)
windowColor: Vec4(0.64, 0.45, 0.92, 1.0)
windowColor: Vec4(0.65, 0.40, 0.82, 1.0)
windowColor: Vec4(0.69, 0.33, 0.69, 1.0)
windowColor: Vec4(0.80, 0.45, 0.71, 1.0)
windowColor: Vec4(0.80, 0.56, 0.65, 1.0)
windowColor: Vec4(0.97, 0.87, 0.47, 1.0)
windowColor: Vec4(1.00, 0.79, 0.49, 1.0)
propColor: Vec4(0.49, 0.69, 1.00, 1.0)
propColor: Vec4(0.59, 0.75, 1.00, 1.0)
propColor: Vec4(0.70, 0.76, 1.00, 1.0)
propColor: Vec4(0.80, 0.47, 0.80, 1.0)
propColor: Vec4(0.80, 0.80, 0.47, 1.0)
propColor: Vec4(0.91, 0.91, 0.54, 1.0)
propColor: Vec4(0.96, 0.96, 0.47, 1.0)
propColor: Vec4(0.96, 0.96, 0.73, 1.0)
propColor: Vec4(0.97, 0.36, 0.36, 1.0)
propColor: Vec4(0.97, 0.47, 0.67, 1.0)
propColor: Vec4(1.00, 0.70, 0.70, 1.0)
propColor: Vec4(1.00, 1.00, 1.00, 1.0)
propColor: Vec4(0.92, 0.92, 0.92, 1.0)
wallColor: Vec4(0.97, 0.58, 0.55, 1.0)

View File

@ -1,79 +0,0 @@
wallTexture: wall_md_bricks_ur
wallColor: Vec4(0.59, 0.75, 1.00, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.45, 0.22, 0.60, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.91, 0.91, 0.54, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.65, 0.40, 0.82, 1.0)
corniceTexture: cornice_curved_ur
corniceColor: Vec4(0.68, 0.22, 0.80, 1.0)
wallTexture: wall_sm_brick_pink_ur
wallColor: Vec4(1.00, 1.00, 1.00, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(0.49, 0.79, 1.00, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_lg_rock_ur
wallColor: Vec4(0.80, 0.47, 0.80, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.80, 0.56, 0.65, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_lg_rock_ur
wallColor: Vec4(0.80, 0.80, 0.47, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.56, 0.80, 0.65, 1.0)
corniceTexture: cornice_marble_ur
corniceColor: Vec4(0.80, 0.22, 0.68, 1.0)
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.49, 0.69, 1.00, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(0.59, 0.49, 1.00, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_bricks_ur
wallColor: Vec4(1.00, 0.70, 0.70, 1.0)
windowTexture: window_md_curved_ur
windowColor: Vec4(1.00, 0.79, 0.49, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.96, 0.96, 0.47, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.69, 0.33, 0.69, 1.0)
corniceTexture: cornice_brick_ur
corniceColor: Vec4(0.81, 0.30, 0.51, 1.0)
wallTexture: wall_md_bricks_ur
wallColor: Vec4(0.70, 0.76, 1.00, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.42, 0.42, 0.85, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_lg_brick_ur
wallColor: Vec4(0.97, 0.47, 0.67, 1.0)
windowTexture: window_md_curtains_ur
windowColor: Vec4(0.64, 0.45, 0.92, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.97, 0.36, 0.36, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(0.97, 0.87, 0.47, 1.0)
corniceTexture: cornice_curved_ur
corniceColor: Vec4(0.43, 0.32, 0.85, 1.0)

View File

@ -1,65 +0,0 @@
corniceColor: Vec4(0.00, 0.34, 0.58, 1.0)
corniceColor: Vec4(0.34, 0.90, 0.87, 1.0)
corniceColor: Vec4(0.41, 0.58, 0.85, 1.0)
corniceColor: Vec4(0.42, 0.98, 0.74, 1.0)
corniceColor: Vec4(1.00, 1.00, 1.00, 1.0)
doorColor: Vec4(0.00, 0.87, 0.69, 1.0)
doorColor: Vec4(0.22, 0.83, 0.83, 1.0)
doorColor: Vec4(0.23, 0.71, 0.84, 1.0)
doorColor: Vec4(0.23, 0.85, 0.60, 1.0)
doorColor: Vec4(0.24, 0.76, 0.89, 1.0)
doorColor: Vec4(0.27, 1.00, 0.85, 1.0)
doorColor: Vec4(0.38, 0.63, 1.00, 1.0)
doorColor: Vec4(0.49, 0.69, 1.00, 1.0)
doorColor: Vec4(0.49, 0.89, 1.00, 1.0)
doorColor: Vec4(0.50, 0.64, 0.85, 1.0)
doorColor: Vec4(0.59, 1.00, 0.92, 1.0)
doorColor: Vec4(1.00, 1.00, 1.00, 1.0)
wallColor: Vec4(0.00, 0.87, 0.69, 1.0)
wallColor: Vec4(0.22, 0.83, 0.83, 1.0)
wallColor: Vec4(0.23, 0.85, 0.60, 1.0)
wallColor: Vec4(0.24, 0.76, 0.89, 1.0)
wallColor: Vec4(0.25, 0.64, 0.91, 1.0)
wallColor: Vec4(0.27, 1.00, 0.85, 1.0)
wallColor: Vec4(0.38, 0.63, 1.00, 1.0)
wallColor: Vec4(0.49, 0.69, 1.00, 1.0)
wallColor: Vec4(0.49, 0.89, 1.00, 1.0)
wallColor: Vec4(0.50, 0.64, 0.85, 1.0)
wallColor: Vec4(0.59, 1.00, 0.92, 1.0)
wallColor: Vec4(1.00, 1.00, 1.00, 1.0)
windowColor: Vec4(0.00, 0.69, 0.69, 1.0)
windowColor: Vec4(0.00, 0.87, 0.69, 1.0)
windowColor: Vec4(0.14, 0.42, 0.85, 1.0)
windowColor: Vec4(0.16, 0.67, 1.00, 1.0)
windowColor: Vec4(0.20, 0.53, 0.46, 1.0)
windowColor: Vec4(0.22, 0.83, 0.83, 1.0)
windowColor: Vec4(0.23, 0.71, 0.84, 1.0)
windowColor: Vec4(0.23, 0.85, 0.60, 1.0)
windowColor: Vec4(0.24, 0.76, 0.89, 1.0)
windowColor: Vec4(0.27, 1.00, 0.85, 1.0)
windowColor: Vec4(0.38, 0.63, 1.00, 1.0)
windowColor: Vec4(0.38, 0.87, 1.00, 1.0)
windowColor: Vec4(0.49, 0.69, 1.00, 1.0)
windowColor: Vec4(0.49, 0.89, 1.00, 1.0)
windowColor: Vec4(0.49, 1.00, 1.00, 1.0)
windowColor: Vec4(0.50, 0.64, 0.85, 1.0)
windowColor: Vec4(0.59, 0.85, 0.69, 1.0)
windowColor: Vec4(0.59, 0.92, 0.61, 1.0)
windowColor: Vec4(0.59, 1.00, 0.92, 1.0)
windowColor: Vec4(1.00, 1.00, 1.00, 1.0)
propColor: Vec4(0.00, 0.87, 0.69, 1.0)
propColor: Vec4(0.22, 0.83, 0.83, 1.0)
propColor: Vec4(0.23, 0.85, 0.60, 1.0)
propColor: Vec4(0.24, 0.76, 0.89, 1.0)
propColor: Vec4(0.25, 0.64, 0.91, 1.0)
propColor: Vec4(0.27, 1.00, 0.85, 1.0)
propColor: Vec4(0.38, 0.63, 1.00, 1.0)
propColor: Vec4(0.49, 0.69, 1.00, 1.0)
propColor: Vec4(0.49, 0.89, 1.00, 1.0)
propColor: Vec4(0.50, 0.64, 0.85, 1.0)
propColor: Vec4(0.59, 1.00, 0.92, 1.0)
propColor: Vec4(1.00, 1.00, 1.00, 1.0)

View File

@ -1,90 +0,0 @@
wallTexture: wall_lg_brick_ur
wallColor: Vec4(0.25, 0.64, 0.91, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.23, 0.71, 0.84, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.00, 0.87, 0.69, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.23, 0.71, 0.84, 1.0)
corniceTexture: cornice_curved_ur
corniceColor: Vec4(0.00, 0.34, 0.58, 1.0)
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.49, 0.69, 1.00, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(0.20, 0.53, 0.46, 1.0)
corniceTexture: cornice_ice_ur
corniceColor: Vec4(1.00, 1.00, 1.00, 1.0)
wallTexture: wall_sm_brick_blue_ur
wallColor: Vec4(1.00, 1.00, 1.00, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.49, 1.00, 1.00, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.27, 1.00, 0.85, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.49, 1.00, 1.00, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.49, 0.89, 1.00, 1.0)
windowTexture: window_sm_pointed_ur
windowColor: Vec4(0.00, 0.69, 0.69, 1.0)
corniceTexture: cornice_ice_ur
corniceColor: Vec4(1.00, 1.00, 1.00, 1.0)
wallTexture: wall_md_bricks_ur
wallColor: Vec4(0.50, 0.64, 0.85, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.14, 0.42, 0.85, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.38, 0.63, 1.00, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.14, 0.42, 0.85, 1.0)
corniceTexture: cornice_dental_ur
corniceColor: Vec4(0.41, 0.58, 0.85, 1.0)
wallTexture: wall_bricks_ur
wallColor: Vec4(0.23, 0.85, 0.60, 1.0)
windowTexture: window_sm_square_ur
windowColor: Vec4(0.59, 0.85, 0.69, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_bricks_ur
wallColor: Vec4(0.59, 1.00, 0.92, 1.0)
windowTexture: window_md_curved_ur
windowColor: Vec4(0.16, 0.67, 1.00, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(0.22, 0.83, 0.83, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(0.38, 0.87, 1.00, 1.0)
corniceTexture: cornice_ice_ur
corniceColor: Vec4(1.00, 1.00, 1.00, 1.0)
wallTexture: wall_sm_cement_blue_ur
wallColor: Vec4(1.00, 1.00, 1.00, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.59, 0.92, 0.61, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_bricks_ur
wallColor: Vec4(0.24, 0.76, 0.89, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(0.59, 0.92, 0.61, 1.0)
corniceTexture: None
corniceColor: None

View File

@ -1,106 +0,0 @@
corniceColor: Vec4(0.11, 0.80, 0.22, 1.0)
corniceColor: Vec4(0.21, 0.73, 0.31, 1.0)
corniceColor: Vec4(0.22, 0.96, 0.27, 1.0)
corniceColor: Vec4(0.27, 0.77, 0.42, 1.0)
corniceColor: Vec4(0.32, 0.54, 0.36, 1.0)
corniceColor: Vec4(0.44, 0.91, 0.63, 1.0)
corniceColor: Vec4(0.76, 0.73, 0.64, 1.0)
corniceColor: Vec4(0.79, 0.36, 0.19, 1.0)
corniceColor: Vec4(0.82, 0.91, 0.44, 1.0)
corniceColor: Vec4(0.90, 0.56, 0.34, 1.0)
corniceColor: Vec4(0.91, 0.54, 0.44, 1.0)
corniceColor: Vec4(0.91, 0.63, 0.44, 1.0)
corniceColor: Vec4(0.94, 0.35, 0.35, 1.0)
corniceColor: Vec4(0.94, 0.71, 0.66, 1.0)
corniceColor: Vec4(0.98, 0.58, 0.42, 1.0)
corniceColor: Vec4(1.00, 0.42, 0.27, 1.0)
corniceColor: Vec4(1.00, 0.56, 0.21, 1.0)
corniceColor: Vec4(1.00, 0.69, 0.49, 1.0)
corniceColor: Vec4(1.00, 0.71, 0.27, 1.0)
corniceColor: Vec4(1.00, 0.75, 0.38, 1.0)
corniceColor: Vec4(1.00, 0.84, 0.59, 1.0)
corniceColor: Vec4(1.00, 0.88, 0.80, 1.0)
corniceColor: Vec4(1.00, 0.92, 0.59, 1.0)
corniceColor: Vec4(1.00, 1.00, 0.59, 1.0)
doorColor: Vec4(0.75, 0.79, 0.55, 1.0)
doorColor: Vec4(0.81, 0.61, 0.48, 1.0)
doorColor: Vec4(1.00, 0.59, 0.59, 1.0)
doorColor: Vec4(1.00, 0.63, 0.38, 1.0)
doorColor: Vec4(1.00, 0.87, 0.38, 1.0)
doorColor: Vec4(1.00, 0.88, 0.56, 1.0)
doorColor: Vec4(1.00, 0.88, 0.56, 1.0)
wallColor: Vec4(0.11, 0.80, 0.22, 1.0)
wallColor: Vec4(0.21, 0.73, 0.31, 1.0)
wallColor: Vec4(0.22, 0.96, 0.27, 1.0)
wallColor: Vec4(0.24, 0.79, 0.32, 1.0)
wallColor: Vec4(0.25, 0.65, 0.29, 1.0)
wallColor: Vec4(0.49, 0.96, 0.42, 1.0)
wallColor: Vec4(0.76, 0.73, 0.64, 1.0)
wallColor: Vec4(0.82, 0.91, 0.44, 1.0)
wallColor: Vec4(0.90, 0.56, 0.34, 1.0)
wallColor: Vec4(0.91, 0.54, 0.44, 1.0)
wallColor: Vec4(0.91, 0.63, 0.44, 1.0)
wallColor: Vec4(0.94, 0.35, 0.35, 1.0)
wallColor: Vec4(0.95, 0.89, 0.17, 1.0)
wallColor: Vec4(0.99, 0.67, 0.25, 1.0)
wallColor: Vec4(0.99, 0.69, 0.49, 1.0)
wallColor: Vec4(0.99, 0.89, 0.49, 1.0)
wallColor: Vec4(1.00, 0.42, 0.27, 1.0)
wallColor: Vec4(1.00, 0.67, 0.59, 1.0)
wallColor: Vec4(1.00, 0.69, 0.49, 1.0)
wallColor: Vec4(1.00, 0.71, 0.27, 1.0)
wallColor: Vec4(1.00, 0.84, 0.59, 1.0)
wallColor: Vec4(1.00, 0.88, 0.80, 1.0)
wallColor: Vec4(1.00, 0.90, 0.33, 1.0)
wallColor: Vec4(1.00, 0.92, 0.59, 1.0)
wallColor: Vec4(1.00, 1.00, 0.59, 1.0)
windowColor: Vec4(0.10, 0.59, 0.39, 1.0)
windowColor: Vec4(0.11, 0.67, 0.33, 1.0)
windowColor: Vec4(0.13, 0.78, 0.52, 1.0)
windowColor: Vec4(0.14, 0.53, 0.30, 1.0)
windowColor: Vec4(0.27, 1.00, 0.42, 1.0)
windowColor: Vec4(0.31, 0.63, 0.37, 1.0)
windowColor: Vec4(0.32, 0.54, 0.36, 1.0)
windowColor: Vec4(0.32, 0.67, 0.60, 1.0)
windowColor: Vec4(0.40, 0.61, 0.67, 1.0)
windowColor: Vec4(0.59, 1.00, 0.49, 1.0)
windowColor: Vec4(0.88, 0.44, 0.15, 1.0)
windowColor: Vec4(0.91, 0.63, 0.44, 1.0)
windowColor: Vec4(0.95, 0.89, 0.17, 1.0)
windowColor: Vec4(0.99, 0.99, 0.49, 1.0)
windowColor: Vec4(1.00, 0.27, 0.27, 1.0)
windowColor: Vec4(1.00, 0.50, 0.38, 1.0)
windowColor: Vec4(1.00, 0.59, 0.59, 1.0)
windowColor: Vec4(1.00, 0.63, 0.30, 1.0)
windowColor: Vec4(1.00, 0.63, 0.38, 1.0)
windowColor: Vec4(1.00, 0.87, 0.38, 1.0)
windowColor: Vec4(1.00, 0.92, 0.59, 1.0)
propColor: Vec4(0.11, 0.80, 0.22, 1.0)
propColor: Vec4(0.21, 0.73, 0.31, 1.0)
propColor: Vec4(0.22, 0.96, 0.27, 1.0)
propColor: Vec4(0.24, 0.79, 0.32, 1.0)
propColor: Vec4(0.25, 0.65, 0.29, 1.0)
propColor: Vec4(0.49, 0.96, 0.42, 1.0)
propColor: Vec4(0.76, 0.73, 0.64, 1.0)
propColor: Vec4(0.82, 0.91, 0.44, 1.0)
propColor: Vec4(0.90, 0.56, 0.34, 1.0)
propColor: Vec4(0.91, 0.54, 0.44, 1.0)
propColor: Vec4(0.91, 0.63, 0.44, 1.0)
propColor: Vec4(0.94, 0.35, 0.35, 1.0)
propColor: Vec4(0.95, 0.89, 0.17, 1.0)
propColor: Vec4(0.99, 0.67, 0.25, 1.0)
propColor: Vec4(0.99, 0.69, 0.49, 1.0)
propColor: Vec4(0.99, 0.89, 0.49, 1.0)
propColor: Vec4(1.00, 0.42, 0.27, 1.0)
propColor: Vec4(1.00, 0.67, 0.59, 1.0)
propColor: Vec4(1.00, 0.69, 0.49, 1.0)
propColor: Vec4(1.00, 0.71, 0.27, 1.0)
propColor: Vec4(1.00, 0.84, 0.59, 1.0)
propColor: Vec4(1.00, 0.88, 0.80, 1.0)
propColor: Vec4(1.00, 0.90, 0.33, 1.0)
propColor: Vec4(1.00, 0.92, 0.59, 1.0)
propColor: Vec4(1.00, 1.00, 0.59, 1.0)

View File

@ -1,84 +0,0 @@
wallTexture: wall_md_pillars_ur
wallColor: Vec4(1.0, 0.917, 0.592, 1.0)
windowTexture: window_sm_pointed_ur
windowColor: Vec4(0.396, 0.611, 0.666, 1.0)
corniceTexture: cornice_stone_ur
corniceColor: Vec4(1.0, 1.0, 0.592, 1.0)
wallTexture: wall_md_pillars_ur
wallColor: Vec4(1.0, 1.0, 0.592157, 1.0)
windowTexture: window_sm_pointed_ur
windowColor: Vec4(0.142751, 0.527559, 0.295847, 1.0)
corniceTexture: cornice_stone_ur
corniceColor: Vec4(1.0, 1.0, 0.592157, 1.0)
wallTexture: wall_lg_brick_ur
wallColor: Vec4(1.0, 0.415686, 0.270588, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.306315, 0.627451, 0.370542, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_sm_cement_ur
wallColor: Vec4(1.0, 0.882353, 0.803922, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.0972673, 0.590551, 0.393701, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_dental_ur
wallColor: Vec4(0.996078, 0.894118, 0.486275, 1.0)
windowTexture: window_md_curved_ur
windowColor: Vec4(1.0, 0.87451, 0.376471, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_pillars_ur
wallColor: Vec4(0.996078, 0.690196, 0.486275, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.31706, 0.535433, 0.361155, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_pillars_ur
wallColor: Vec4(0.996078, 0.690196, 0.486275, 1.0)
windowTexture: window_porthole_ur
windowColor: Vec4(0.31706, 0.535433, 0.361155, 1.0)
corniceTexture: cornice_brick_ur
corniceColor: Vec4(0.31706, 0.535433, 0.361155, 1.0)
wallTexture: wall_lg_brick_ur
wallColor: Vec4(0.996078, 0.690196, 0.486275, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(0.996078, 0.996078, 0.486275, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(1.0, 0.415686, 0.270588, 1.0)
windowTexture: window_sm_curved_ur
windowColor: Vec4(1.0, 0.87451, 0.376471, 1.0)
corniceTexture: cornice_marble_ur
corniceColor: Vec4(1.0, 0.74902, 0.376471, 1.0)
wallTexture: wall_sm_brick_ur
wallColor: Vec4(1.0, 0.67451, 0.592157, 1.0)
windowTexture: window_sm_pointed_ur
windowColor: Vec4(0.88189, 0.439216, 0.145252, 1.0)
corniceTexture: None
corniceColor: None
wallTexture: wall_md_blank_ur
wallColor: Vec4(1.0, 0.705882, 0.270588, 1.0)
windowTexture: window_sm_pointed_ur
windowColor: Vec4(0.110236, 0.669291, 0.333333, 1.0)
corniceTexture: cornice_stone_ur
corniceColor: Vec4(0.944882, 0.711441, 0.559518, 1.0)
wallTexture: wall_md_dental_ur
wallColor: Vec4(0.909804, 0.630415, 0.444156, 1.0)
windowTexture: window_sm_round_ur
windowColor: Vec4(1.0, 0.270588, 0.270588, 1.0)
corniceTexture: None
corniceColor: None

View File

@ -1,47 +0,0 @@
; This file is used by the MSVC linker to specify DLL base addresses to
; prevent runtime relocation of DLLs by the windows loader. This speeds
; loading. This file was generated using $PANDATOOL/src/scripts/basedlls.pl
; which uses rebase.exe from the MS platform SDK. It may additionally be
; hand-hacked to simplify addresses for popular dlls to aid debugging.
; release dlls
libpanda 0x0000000060000000 0x004c0000
libwindisplay 0x00000000604c0000 0x00010000
libpandadx8 0x0000000061000000 0x00090000
libpandadx7 0x0000000061000000 0x00040000
libpandagl 0x0000000061000000 0x00030000
libpandaexpress 0x00000000605d0000 0x00150000
libpandaphysics 0x0000000060720000 0x00060000
libpandafx 0x0000000060780000 0x00020000
libdtool 0x00000000607a0000 0x00020000
libdtoolconfig 0x00000000607c0000 0x00040000
libpystub 0x0000000060800000 0x00010000
libdirect 0x0000000060810000 0x00050000
libtoontown 0x0000000060860000 0x000b0000
; TODO put in a base for Pirates Opt 4 DLL
libpirates 0x0000000060860000 0x000b0000
libmiles_audio 0x0000000060910000 0x00020000
libpandaegg 0x0000000060930000 0x00130000
libframework 0x0000000060a60000 0x00020000
; debug dlls
libpanda_d 0x0000000060000000 0x007e0000
libwindisplay_d 0x00000000607e0000 0x00020000
libpandadx8_d 0x0000000060800000 0x000d0000
libpandadx7_d 0x00000000608d0000 0x00060000
libpandagl_d 0x0000000060930000 0x00040000
libpandaexpress_d 0x0000000060970000 0x00220000
libpandaphysics_d 0x0000000060b90000 0x000a0000
libpandafx_d 0x0000000060c30000 0x00030000
libdtool_d 0x0000000060c60000 0x00030000
libdtoolconfig_d 0x0000000060c90000 0x00070000
libpystub_d 0x0000000060d00000 0x00010000
libdirect_d 0x0000000060d10000 0x00080000
libtoontown_d 0x0000000060d90000 0x00130000
; TODO put in a base for Pirates
libpirates_d 0x0000000060d90000 0x00130000
libmiles_audio_d 0x0000000060ec0000 0x00030000
libpandaegg_d 0x0000000060ef0000 0x00210000
libframework_d 0x0000000061100000 0x00030000

View File

@ -1,122 +0,0 @@
set prompt='%m:%B%~%b> '
alias ls 'ls -C -F'
alias dir ls -C -F -l
alias vi vim
alias fd ftp dumbo
alias tz tar zxvf
alias so1 setenv PANDA_OPTIMIZE 1
alias so3 setenv PANDA_OPTIMIZE 3
alias cpd 'cd $PANDA/src'
alias emacs xemacs
alias em xemacs
alias mi make install
alias ni nmake install
alias dh demo /install/models/herc-6000.egg /install/models/HB_1_HE1.egg
set nobeep=1
# my defaults for panda build
if (! $?PANDA_OPTIMIZE ) then
setenv PANDA_OPTIMIZE 1
endif
setenv CL_MAKE_BROWSE_INFO 0
alias setbrowseinfo1 setenv CL_MAKE_BROWSE_INFO 1
alias setbrowseinfo0 setenv CL_MAKE_BROWSE_INFO 0
setenv HAVE_GL yes
setenv HAVE_DX yes
setenv USE_NSPR t
if (! $?USER ) then
setenv USER georges
endif
if (! $?CYGWIN_ROOT) then
# may cause tcsh hang
setenv CYGWIN_ROOT `cygpath -w /`
endif
setenv PENV_COMPILER WIN32_VC
setenv PENV WIN32
setenv PANDA_ROOT C:/Cygwin
setenv CVSROOT :pserver:georges@dimbo:/fit/cvs
#setenv CVS_PASSFILE ~/.cvspass
# check out files read-only
setenv CVSREAD 1
if (! $?PPREMAKE_CONFIG) then
setenv PPREMAKE_CONFIG /usr/local/etc/Config.pp
endif
# /usr/local/panda/bin for ppremake
if(! $?TCSH_NO_CHANGEPATH) then
set path=(/bin /contrib/bin $path ~/scripts $path /usr/local/panda/bin)
endif
if (! $?TCSH_NO_PANDA_ATTACH ) then
# setenv TOOL /install/tool
setenv MYTOOL ~/player/dtool
setenv MYTOOL_CSHRC $MYTOOL/etc/dtool.cshrc
#echo " checking for dtool.cshrc"
if(-e $MYTOOL_CSHRC) then
setenv DTOOL $MYTOOL
#setenv CTATTACH_DEBUG 1
#echo " found my dtool.cshrc"
source $DTOOL/etc/dtool.cshrc personal
# else
# echo "WARNING: $TOOL_CSHRC doesnt exist, panda env setup failed!"
# cd /install
else
setenv DTOOL /g/player/install/win2k/dtool
source $DTOOL/etc/dtool.cshrc install
endif
cta panda personal
if(! $?TCSH_NO_CSHRC_CHDIR ) then
cd $PANDA
endif
endif
# this version of emacs ignores cygwin root, cant give it cygwin paths
#set path=(/cygdrive/c/progra~1/XEmacs/XEmacs-21.1.9/i386-pc-win32 /bin /contrib/bin $path)
#set path=( /bin /contrib/bin /cygdrive/c/python16 $path )
#set path=( /bin /contrib/bin $path ~/scripts /usr/sbin /contrib/sbin) for new cygwin
#set path=($path /cygdrive/c/progra~1/micros~1/common/msdev98/bin /cygdrive/c/progra~1/micros~1/common/tools/winnt /cygdrive/c/progra~1/micros~1/common/tools /cygdrive/c/progra~1/micros~1/vc98/bin /cygdrive/c/winnt /cygdrive/c/winnt/system32 /cygdrive/c/bin)
#set lib = (/cygdrive/c/progra~1/micros~1/vc98/lib /cygdrive/c/progra~1/micros~1/vc98/mfc/lib)
# note: have to set vc envvars in sys env vars
#cd $HOME
unset owd
alias mktool 'cd $DTOOL/src/build;./initialize make;cd $DTOOL;make install'
#alias cpdll 'cp -p $PANDA/src/all/pandadx/*dll $PANDA/src/all/panda/*dll $PANDA/src/all/pandaegg/*dll $PANDA/lib;cp -p $PANDA/src/all/pandadx/lib*pdb $PANDA/src/all/panda/lib*pdb $PANDA/src/all/pandaegg/lib*pdb $PANDA/lib'
alias mkdx 'cd dxgsg; make install; cd ../wdxdisplay; make install; cd ../../metalibs/pandadx; make install; cd wdxdisplay'
alias mkgl 'cd glgsg; make install; cd ../wgldisplay; make install; cd ../../metalibs/pandagl; make install; cd wgldisplay'
alias cpdxbak 'chmod a+w $PANDA/dx-bak/*;cp $PANDA/src/dxgsg/*.? $PANDA/src/wdxdisplay/*.? $PANDA/dx-bak'
alias tlinit 'cd $DTOOL/src/build; ./initialize make; cd $DTOOL'
alias setctdbg 'setenv CTATTACH_DEBUG 1'
alias update cvs update
alias cvhist cvs history -a
alias log cvs log
alias updn 'cvs -n update -R -d \!* |& egrep -v "Updating|^\?"'
alias cvdiff cvs diff
alias cvlog ~/scripts/cvs2cl.pl
alias updr 'cvs update -R -d \!* |& egrep -v "Updating|^\?"'
alias upd 'cvs update -d \!* |& egrep -v "Updating|^\?"'
alias lastchng ~/scripts/lastchng.pl
alias wnewdiff 'cvs update -p -r HEAD \!* > junk; windiff junk \!* &'
#only works if cur ver differs from checked in version
#alias newdiff 'cvs diff -r`log -h \!* | grep head | sed -e "s/head: //"` \!*'
# turns out all you need is this
alias newdiff 'cvs diff -r HEAD -w \!*'
# need version that picks out last 2 revs and does the diff
alias cvsclean "find \!* -path '*CVS*' -prune -or -not -name 'bldlog*' -and -not -type d -print | xargs --no-run-if-empty -n 40 rm"

View File

@ -1,111 +0,0 @@
#!perl
# generate address base file for panda dlls
# to simplify things, do it for Opt1 and reuse that for Opt2,
# and do it for Opt3 and use that for Opt4, since they will both be bigger than counterparts
# to run, in any directory, do 'perl basedlls.pl' and it will generate dllbase.txt and dllbase_d.txt in 'tmp' dir under current
# make sure Opt1 and Opt3 are current so current sizes are used in map
$archive_root="\\\\dimbo\\panda\\win\\";
#edit this to where rebase.exe is on your machine, must be cygwin-style path for cygwin perl
$rebase_path="/msvc7/Common7/Tools/bin";
$ENV{'PATH'}=$rebase_path.":".$ENV{'PATH'};
# note: this is the order dlls will be laid out in memory
@dll_names=("libpanda","libwindisplay","libpandadx8","libpandadx7","libpandagl","libpandaexpress","libpandaphysics","libpandafx","libdtool","libdtoolconfig","libpystub","libdirect","libtoontown","libmiles_audio","libpandaegg","libframework");
# old audio dlls
# "libaudio_load_midi","libaudio_load_mp3","libaudio_load_st","libaudio_load_wav",
@headerstrs=(
"This file is used by the MSVC linker to specify DLL base addresses to",
"prevent runtime relocation of DLLs by the windows loader. This speeds",
"loading. This file was generated using \$PANDATOOL/src/scripts/basedlls.pl",
"which uses rebase.exe from the MS platform SDK. It may additionally be",
"hand-hacked to simplify addresses for popular dlls to aid debugging.",
);
$headerstr="";
for($i=0;$i<=$#headerstrs;$i++) {
$headerstr.="; ".$headerstrs[$i]."\n";
}
@modules=("dtool","panda","direct","toontown");
$dll_names_nodbg="";
$dll_names_dbg="";
foreach my $nm (@dll_names) {
$dll_names_nodbg.=" ".$nm.".dll";
$dll_names_dbg.=" ".$nm."_d.dll";
}
# 0x60000000 is the recommended base address for user dll addr space
$baseaddr="0x60000000";
$dllbasefile="dllbase.txt";
$basedlllogfilename="log.txt";
# rebase will modify input dlls, so make tmp copies of them
if(!(-d "tmp")) {
system("mkdir tmp");
}
chdir("tmp");
unlink($basedlllogfilename);
############################
### do release
$archivepath=$archive_root."release";
# need to remove existing files or rebase will just append to them
open(OUTFILE, ">$dllbasefile") || die "Couldn't open $dllbasefile!\n";
print OUTFILE $headerstr;
print OUTFILE "\n; release dlls\n\n";
close(OUTFILE);
foreach my $dir1 (@modules) {
my @args=("cmd.exe","/c","copy ".$archivepath."\\$dir1\\lib\\*.dll .");
system(@args);
}
$argstr="-v -b $baseaddr -c $dllbasefile -l $basedlllogfilename $dll_names_nodbg";
#@args=("cmd.exe","/C","rebase.exe $argstr");
#print $args[0]." ".$args[1]." ".$args[2]."\n";
@args=("rebase.exe $argstr");
print $args[0]."\n";
system(@args);
############################
### do debug
open(OUTFILE, ">>$dllbasefile") || die "Couldn't open $dllbasefile!\n";
print OUTFILE "\n; debug dlls\n\n";
close(OUTFILE);
$archivepath=$archive_root."debug";
foreach my $dir1 (@modules) {
my @args=("cmd.exe","/c","copy ".$archivepath."\\$dir1\\lib\\*.dll .");
system(@args);
}
$argstr="-v -b $baseaddr -c $dllbasefile -l $basedlllogfilename $dll_names_dbg";
#@args=("cmd.exe","/C","rebase.exe $argstr");
#print $args[0]." ".$args[1]." ".$args[2]."\n";
@args=("rebase.exe $argstr");
print $args[0]."\n";
system(@args);
#cygwin d2u seems to not work rite
$d2u_path=$ENV{'HOME'}."/player/wintools/bin";
$ENV{'PATH'}=$d2u_path.":".$ENV{'PATH'};
print $ENV{'PATH'},"\n";
@args=("dos2unix",$dllbasefile);
print $args[0]." ".$args[1]." ".$args[2]."\n";
system(@args);
print "do cp tmp/dllbase.txt ~/player/dtool/src/dtoolbase\n";
exit(0);

View File

@ -1,42 +0,0 @@
#!perl
if($#ARGV<2) {
print "Usage: perl binreplace.pl [-i] [findstr] [replacestr] [filename]\n";
exit(1);
}
$argnum=0;
$case_insensitive = 0;
if($ARGV[0] eq "-i") {
$argnum=1;
$case_insensitive = 1;
}
$findstr = $ARGV[$argnum]; $argnum++;
$replacestr = $ARGV[$argnum]; $argnum++;
$filename = $ARGV[$argnum]; $argnum++;
$filenamebak = $filename.".bak";
$retval = rename($filename,$filenamebak);
if(! $retval) {
die "rename(".$filename.",".$filenamebak.") failed!\n";
}
print "replacing '".$findstr."' with '".$replacestr."' in ".$filename."\n";
# for some reason, you need to double the $findstr \'s but not the replacestr ones
$findstr =~ s/\\/\\\\/g;
#$replacestr =~ s/\\/\\\\/g;
open IN, $filenamebak or die "can't read ".$filenamebak." $!";
open OUT, ">$filename" or die "can't create ".$filename.": $!";
binmode IN;
binmode OUT;
if($case_insensitive) {
s/$findstr/$replacestr/gi, print OUT while <IN>;
} else {
s/$findstr/$replacestr/g, print OUT while <IN>;
}
close OUT;
close IN;
unlink($filenamebak);

View File

@ -1,207 +0,0 @@
set prompt='%m:%B%~%b> '
alias ls 'ls -C -F'
alias dir ls -C -F -l
alias vi vim
alias fd ftp dumbo
alias tz tar zxvf
alias spo1 setenv PANDA_OPTIMIZE 1
alias spo2 setenv PANDA_OPTIMIZE 2
alias spo3 setenv PANDA_OPTIMIZE 3
alias spo4 setenv PANDA_OPTIMIZE 4
alias snoi setenv NO_INTERROGATE 1
alias usnoi unsetenv NO_INTERROGATE
alias set_intel setenv USE_COMPILER INTEL
alias set_msvc setenv USE_COMPILER MSVC
alias cpd 'cd $PANDA/src'
#alias emacs xemacs
#alias em xemacs
alias mi make install
alias ni nmake install
alias dh demo /install/models/herc-6000.egg /install/models/HB_1_HE1.egg
set nobeep=1
if(! $?TCSH_NO_CHANGEPATH) then
# have to manually put '\' in front of spaces for this to work
# this is completely reset at file end
set oldpath=($path)
set path=(./ /bin /usr/local/bin /mscommon/Tools/WinNT /mscommon/MSDev98/Bin /mscommon/Tools /msvc98/Bin /mspsdk/Bin /mspsdk/Bin/WinNT /c/WINNT/System32/Wbem /c/PROGRA~1/TCL/bin /c/Program\ Files/Resource\ Pro\ Kit/ /c/Program\ Files/Resource\ Kit/ /c/WINNT/system32 /c/WINNT /c/bin /c/xemacs/bin/i686-pc-cygwin /emacs-20.7/bin)
endif
# my defaults for panda build
if (! $?PANDA_OPTIMIZE ) then
setenv PANDA_OPTIMIZE 2
endif
setenv CL_MAKE_BROWSE_INFO 0
alias setbrowseinfo1 setenv CL_MAKE_BROWSE_INFO 1
alias setbrowseinfo0 setenv CL_MAKE_BROWSE_INFO 0
setenv HAVE_GL yes
setenv HAVE_DX9 yes
setenv USE_NSPR t
if (! $?USER ) then
setenv USER georges
endif
if (! $?CYGWIN_ROOT) then
# may cause tcsh hang
setenv CYGWIN_ROOT `cygpath -w /`
endif
setenv PENV_COMPILER WIN32_VC
setenv PENV WIN32
setenv PANDA_ROOT C:/Cygwin
setenv CVSROOT :pserver:cxgeorge@dimbo:/fit/cvs
#setenv CVS_PASSFILE ~/.cvspass
# check out files read-only
# setenv CVSREAD 1
if (! $?PANDA_BUILD_TYPE) then
setenv PANDA_BUILD_TYPE gmsvc
endif
if (! $?PPREMAKE_CONFIG) then
#setenv PPREMAKE_CONFIG /usr/local/etc/Config.pp
#WINTOOLS may not be set, so do this instead
setenv PPREMAKE_CONFIG $HOME/player/wintools/panda/etc/Config.pp
endif
# for ppremake
#set path=($path /usr/local/panda/bin)
# /usr/local/panda/bin for ppremake
if(! $?TCSH_NO_CHANGEPATH) then
# set path=(/bin /contrib/bin $path ~/scripts $path /usr/local/panda/bin)
# builder.pl doesnt want initial path changed, except to add these things
set path=(~/scripts $path)
endif
if (! $?TCSH_NO_PANDA_ATTACH ) then
# builder scripts don't attach (attach scripts too buggy on cygwin 1.0)
# they set paths manually
# setenv TOOL /install/tool
setenv MYTOOL ~/player/dtool
setenv MYTOOL_CSHRC $MYTOOL/src/attach/dtool.cshrc
#echo " checking for dtool.cshrc"
if(-e $MYTOOL_CSHRC) then
setenv DTOOL $MYTOOL
#setenv CTATTACH_DEBUG 1
#echo " found my dtool.cshrc"
source $DTOOL/etc/dtool.cshrc personal
cta wintools personal
cta panda personal
cta direct personal
cta toontown personal
cd ~/player/panda
# else
# echo "WARNING: $TOOL_CSHRC doesnt exist, panda env setup failed!"
# cd /install
else
setenv DTOOL /g/player/install/win2k/dtool
source $DTOOL/src/attach/dtool.cshrc install
endif
alias ctp "cta panda personal;cta wintools personal"
alias ctt "cta direct personal;cta toontown personal"
cta wintools personal
cta panda personal
cta direct personal
cta toontown personal
if(! $?TCSH_NO_CSHRC_CHDIR ) then
cd $HOME/player/panda
endif
else
if(! $?TCSH_NO_CHANGEPATH) then
set path=($oldpath $path)
endif
endif
# this version of emacs ignores cygwin root, cant give it cygwin paths
#set path=(/cygdrive/c/progra~1/XEmacs/XEmacs-21.1.9/i386-pc-win32 /bin /contrib/bin $path)
#set path=( /bin /contrib/bin /cygdrive/c/python16 $path )
#set path=( /bin /contrib/bin $path ~/scripts /usr/local/winpandatools/win98)
set path=( /bin /contrib/bin $path ~/scripts)
set path=(/intel/compiler60/ia32/bin /intel/iselect/bin /intel/edb $path)
#set path=($path /cygdrive/c/progra~1/micros~1/common/msdev98/bin /cygdrive/c/progra~1/micros~1/common/tools/winnt /cygdrive/c/progra~1/micros~1/common/tools /cygdrive/c/progra~1/micros~1/vc98/bin /cygdrive/c/winnt /cygdrive/c/winnt/system32 /cygdrive/c/bin)
#set lib = (/cygdrive/c/progra~1/micros~1/vc98/lib /cygdrive/c/progra~1/micros~1/vc98/mfc/lib)
# note: have to set vc envvars in sys env vars
#cd $HOME
unset owd
alias md mkdir
alias pp ppremake
alias ppr ppremake
alias wlastchng ~/scripts/wlastchng.pl
alias ni nmake install
alias listincs-all '(grep -h include `(echo *cxx | sed -e "s/test_[^ ]*//g")` | sort | uniq ) | (grep -v \");(echo ""); (grep -h include `(echo *cxx | sed -e "s/test_[^ ]*//g")` | sort | uniq ) | (grep \");'
alias listincs-rep '(grep -h include `(echo *cxx | sed -e "s/test_[^ ]*//g")` | sort | uniq -d) | (grep -v \");(echo ""); (grep -h include `(echo *cxx | sed -e "s/test_[^ ]*//g")` | sort | uniq -d) | (grep \");'
alias listincs-sing '(grep include `(echo *cxx | sed -e "s/test_[^ \t]*//g")` | /bin/sort +1 | uniq -u -f 1 | /bin/sort);'
alias listincs-old '(grep -h include *cxx | sort | uniq ) | (grep -v \");echo ""; (grep -h include *cxx | sort | uniq ) | (grep \");'
alias listincs '(grep -h include *cxx | sort | uniq ) | (grep -v \"); (grep -h include *cxx | sort | uniq ) | (grep \");'
alias prproc 'echo $NUMBER_OF_PROCESSORS'
alias setproc1 setenv NUMBER_OF_PROCESSORS 1
alias setproc2 setenv NUMBER_OF_PROCESSORS 2
alias setproc4 setenv NUMBER_OF_PROCESSORS 4
alias setgenass setenv GEN_ASSEMBLY 1
alias usetgenass unsetenv GEN_ASSEMBLY
alias mroe more
alias ctp "cta panda personal;cta wintools personal"
alias mktool 'cd $DTOOL/src/build;./initialize make;cd $DTOOL;make install'
#alias cpdll 'cp -p $PANDA/src/all/pandadx/*dll $PANDA/src/all/panda/*dll $PANDA/src/all/pandaegg/*dll $PANDA/lib;cp -p $PANDA/src/all/pandadx/lib*pdb $PANDA/src/all/panda/lib*pdb $PANDA/src/all/pandaegg/lib*pdb $PANDA/lib'
alias mkdx 'cd ~/player/panda/src/dxgsg; make install; cd ../wdxdisplay; make install; cd ../../metalibs/pandadx; make install; cd ~/player/panda/src/dxgsg'
alias mkdemo 'cd ~/player/panda/src/framework; make install; cd ../testbed; rm Opt*/demo.exe; make install; cd ~/player/panda/src/framework'
alias mkpp 'cd ~/player/panda/src/physics; make install; cd ../particlesystem; make install; cd ../../metalibs/pandaphysics; make install; cd ~/player/panda/src/dxgsg'
# alias mkdemo 'cd ~/player/panda/src/framework; make install; cd ../testbed; make clean; make install; cd ~/player/panda/src/framework'
alias mkdemo 'cd ~/player/panda/src/framework; make install; cd ../testbed; rm Opt*/*.exe; make install; cd ~/player/panda/src/framework'
alias mkgl 'cd ~/player/panda/src/glgsg; make install; cd ../wgldisplay; make install; cd ../../metalibs/pandagl; make install; cd ../../src/panda/wgldisplay'
alias mkegg 'cd ~/player/panda/src/egg; make install; cd ../builder; make install; cd ../egg2sg; make install; cd ../../metalibs/pandaegg; make install; cd ~/player/panda/src/dxgsg'
alias cpdxbak 'chmod a+w $PANDA/dx-bak/*;cp $PANDA/src/dxgsg/*.? $PANDA/src/wdxdisplay/*.? $PANDA/dx-bak'
alias tlinit 'cd $DTOOL/src/build; ./initialize make; cd $DTOOL'
alias setctdbg 'setenv CTATTACH_DEBUG 1'
alias update cvs update
alias cvhist cvs history -a
alias log cvs log
alias updn 'cvs -n update -R -d \!* |& egrep -v "Updating|^\?"'
alias cvdiff cvs diff
alias cvlog ~/scripts/cvlog.pl
alias updr 'cvs update -R -d \!* |& egrep -v "Updating|^\?"'
alias upd 'cvs update -d \!* |& egrep -v "Updating|^\?"'
alias chm 'chmod a+w *'
alias lastchng ~/scripts/lastchng.pl
alias wnewdiff 'cvs update -p -r HEAD \!* > junk ; windiff junk \!* &'
#only works if cur ver differs from checked in version
#alias newdiff 'cvs diff -r`log -h \!* | grep head | sed -e "s/head: //"` \!*'
# turns out all you need is this
alias newdiff 'cvs diff -r HEAD -w \!*'
# need version that picks out last 2 revs and does the diff
alias cvsclean "find \!* -path '*CVS*' -prune -or -not -name 'bldlog*' -and -not -type d -print | xargs --no-run-if-empty -n 40 rm"
alias genpy4 '~/player/direct/bin/genPyCode win-publish'
alias genpy1 '~/player/direct/bin/genPyCode win-debug'
alias genpy2 '~/player/direct/bin/genPyCode win-debug'
alias genpy3 '~/player/direct/bin/genPyCode win-release'
alias nd newdiff
# setenv LOCAL_PPREMAKE_CONFIG ~/player/MyConfig.pp
alias ppy1 'ppython -d `cygpath -w $DIRECT/bin/generatePythonCode` -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect libtoontown'
setenv ZPAN /z/cygwin/home/builder/player/panda
setenv XPAN /x/cygwin/home/georges/player/panda
unalias emacs
alias setcfgdbg setenv CONFIG_CONFIG ':configdbg=1:configpath=CFG_PATH:configpath=ETC_PATH'
alias usetcfgdbg setenv CONFIG_CONFIG 'configpath=CFG_PATH:configpath=ETC_PATH'
alias s source

View File

@ -1,761 +0,0 @@
#!perl
#NOTE: this script assumes you are running the Cygwin perl, which uses the
# Cygwin file paths (i.e. '/' corresponds to 'C:\cygwin')
my $WIN_INSTALLDIR="\\\\dimbo\\panda\\win";
my $scriptpath = "C:\\cygwin\\home\\builder\\scripts";
# $ENV{'USE_COMPILER'} = "INTEL"; # experiment
# my $WIN_INSTALLDIR="\\\\cxgeorge-d01\\c\\win";
### DEBUG SETTINGS
# my $DEBUG_TREECOPY = 1;
# my $DEBUG_GENERATE_PYTHON_CODE_ONLY = 1;
# my $DEBUG_MAKEBSC_ONLY=1;
if ($ENV{'DEBUG_GENERATE_PYTHON_CODE_ONLY'} ne '') {
$DEBUG_GENERATE_PYTHON_CODE_ONLY = 1;
}
# my $DO_ARCHIVE_AND_COPY_ONLY = 1;
my $DONT_ARCHIVE_OLD_BUILDS = 0;
my $BLD_DTOOL_ONLY=0;
my $DIRPATH_SEPARATOR=':'; # set to ';' for non-cygwin NT perl
my @inst_dirnames=("archive","debug","install","release","publish");
my $ARCHIVENUM=0;
my $DEBUGNUM=1;
my $INSTALLNUM=2;
my $RELEASENUM=3;
my $PUBLISHNUM=4;
my @inst_dirs;
for(my $i=0;$i<=$#inst_dirnames;$i++) {
$inst_dirs[$i]=$WIN_INSTALLDIR."\\".$inst_dirnames[$i];
}
my $VC7_BINDIRS="/msvc7/Vc7/bin".$DIRPATH_SEPARATOR."/msvc7/Common7/Tools/Bin".$DIRPATH_SEPARATOR."/msvc7/Common7/Tools".$DIRPATH_SEPARATOR."/msvc7/Common7/IDE";
#if(! $DEBUG_GENERATE_PYTHON_CODE_ONLY) {
# $ENV{'PANDA_OPTIMIZE'}='4'; # var has meaning to my special Config.pp
#}
$ENV{'WINTOOLS'} = '/home/builder/player/wintools';
#$ENV{'PPREMAKE_CONFIG'} = '/usr/local/etc/Config.pp'; old location
$ENV{'PPREMAKE_CONFIG'} = $ENV{'WINTOOLS'}.'/panda/etc/Config.pp';
$ENV{'PPREMAKE_PLATFORM'} = 'Win32'; # generate OptX-Win32 dirs instead of OptX-Cygwin
$ENV{'TCSH_NO_CSHRC_CHDIR'}='1';
$ENV{'ENABLE_PROFILING'}='1'; # generate .map files
# needed to add this to fix version.rc path in ppremake?
$ENV{'DTOOL'} = '/home/builder/player/dtool';
$ENV{'HOME'}="/home/builder";
$ENV{'USER'}="builder";
$ENV{'USERNAME'}=$ENV{'USER'};
my $DONT_ARCHIVE_OLD_BUILDS = (($ENV{'DONT_ARCHIVE_OLD_BUILDS'} ne "") || $DONT_ARCHIVE_OLD_BUILDS);
sub logmsg() {
my $msg = shift;
print $msg."\n";
open(LOGFILE,">>".$fulllogfilename) || die "can't open log file '$fulllogfilename'\n";
print LOGFILE $msg."\n";
close(LOGFILE);
}
#could change this to use eval, but it would require doubling the '\''s again in filename
sub mychdir() {
my $newdir = shift;
my $retval = chdir($newdir);
&logmsg("chdir(".$newdir.")");
if(! $retval) {
&logmsg("chdir(".$newdir.") failed!!");
exit(1);
}
}
sub mymkdir() {
my $newdir=shift;
if(!(-e $newdir)) {
if(!mkdir($newdir,0xfff)) {
&logmsg("cant create new dir '".$newdir."' !!");
exit(1);
}
}
}
sub myrename() {
my $n1 = shift;
my $n2 = shift;
my $retval;
&logmsg("rename(".$n1.",".$n2.")");
if(-e $n2) {
# find name we can move old target to
my $newnum=1;
while(-e $n2.".old.".$newnum) {
$newnum++;
}
$newconflicttargetname=$n2.".old.".$newnum;
&logmsg("avoiding rename conflict, renaming old ".$n2." to ".$newconflicttargetname);
$retval = rename($n2,$newconflicttargetname);
if(! $retval) {
&logmsg("rename failing, giving up (check if files or dirs are open in other apps)");
exit(1);
}
}
$retval = rename($n1,$n2);
if(! $retval) {
&logmsg("rename(".$n1.",".$n2.") failed!!! (check if files or dirs are open in other apps)");
exit(1);
}
}
sub myexecstr() {
my $cmdstr = shift;
my $errstr = shift;
my $dologstr = shift;
my $exec_cshrc_type = shift;
if($dologstr eq "DO_LOG") {
if($exec_cshrc_type eq "NT cmd") {
$cmdstr.=" >> ".$fulllogfilename_win." 2>&1"; # 2>&1 tells nt cmd.exe to redirect stderr to stdout
} else {
$cmdstr.=" >>& ".$fulllogfilename; # for tcsh
}
&logmsg($cmdstr);
}
my $savedhome = $ENV{'HOME'};
if( $exec_cshrc_type eq "NO_CSHRC") {
# change $HOME so .cshrc doesn't get sources by tcsh
$ENV{'HOME'}="/";
} elsif( $exec_cshrc_type eq "NO_PANDA_ATTACH") {
$ENV{'TCSH_NO_PANDA_ATTACH'}="1";
}
if($exec_cshrc_type eq "NT cmd") {
my @args = ("cmd.exe", "/c", "$cmdstr");
$retval = system(@args);
} else {
my @args = ("tcsh.exe", "-c", "$cmdstr");
$retval = system(@args);
}
if($retval!=0) {
if(($retval>=256) || ($retval<=-256)) {
$retval= $retval/256; # actual retval
}
if($errstr eq "") {
&logmsg($cmdstr." failed!!!!! continuing anyway...\nError return value=".$retval);
} elsif($errstr ne "nomsg") {
&logmsg($errstr."\nError return value=".$retval);
exit($retval);
}
}
if($exec_cshrc_type eq "NO_CSHRC") {
$ENV{'HOME'}=$savedhome;
} elsif( $exec_cshrc_type eq "NO_PANDA_ATTACH") {
delete $ENV{'TCSH_NO_PANDA_ATTACH'};
}
}
sub gettimestr() {
my ($sec,$min,$hour,$mday,$mon,$year,$wday) = localtime(time);
$mon++;
return $mon."/".$mday." ".$hour.":".($min<10 ? "0":"").$min;
}
sub appendpath() {
# note cygwin perl.exe requires ':' instead of ';' as path dir separator
foreach $dir1 (@_) {
$ENV{'PATH'}.=$DIRPATH_SEPARATOR.$CYGBLDROOT.$dir1;
}
}
sub make_bsc_file() {
&logmsg("*** Generating panda.bsc at ".&gettimestr()." ***");
# &mychdir($CYGBLDROOT."/debug");
# $outputdir=$WINBLDROOT."\\debug";
&mychdir($CYGBLDROOT);
$outputdir=$WINBLDROOT;
$outputname="panda.bsc";
$outputfilepath=$outputdir."\\".$outputname;
$cmdfilepath=$outputdir."\\makebsc.txt";
#open(FILES, "where -r . *.sbr |") || die "Couldn't run 'where'!\n";
#requires unix/cygwin style find.exe
open(FILES, "find ".$dirstodostr." -name \"*.sbr\" -print |") || die "Couldn't run 'find'!\n";
open(OUTFILE, ">".$cmdfilepath) || die "Couldn't open ".$cmdfilepath."!\n";
$filename = <FILES>; #skip initial line
$filestr="";
$duline = <FILES>;
chop $duline;
$filestr=$duline;
while ($duline = <FILES>)
{
chop $duline; # Remove the newline from the end of the filename
$filestr=$filestr."\n".$duline;
}
print OUTFILE "/n /o ".$outputfilepath." \n";
print OUTFILE "$filestr","\n";
close(OUTFILE);
close(FILES);
# vc7 dirs are not in path env-var by default
$ENV{'PATH'}=$VC7_BINDIRS.$DIRPATH_SEPARATOR.$ENV{'PATH'};
print $ENV{'PATH'}, "\n";
$bscmake_str="bscmake /o ".$outputfilepath." @".$cmdfilepath."\n";
&myexecstr($bscmake_str,"bscmake failed!!!","DO_LOG","NT cmd");
# edit binary so it looks for src on mountable Z drive, so src browsing
# works with Z:\ pointed to \\dragon
$binreplace_str="perl ".$scriptpath."\\binreplace.pl -i C:\\cygwin Z:\\cygwin ".$outputfilepath."\n";
&myexecstr($binreplace_str,"binreplace failed!!!","DO_LOG","NT cmd");
&myexecstr("copy ".$outputfilepath." ".$inst_dirs[$DEBUGNUM], "copy of ".$outputfilepath." failed!!", "DO_LOG","NT cmd");
unlink($cmdfilepath);
&mychdir($CYGBLDROOT);
&logmsg("*** Finished generating panda.bsc at ".&gettimestr()." ***");
}
sub addpathsfromfile() {
my $dirname = shift;
my $envvarname = shift;
my $pathfile=$WINBLDROOT."\\".$dirname."\\src\\configfiles\\".$dirname.".pth";
if(!open(PTHFILE, $pathfile)) {
&logmsg("Couldn't open ".$pathfile."!");
exit(1);
}
my @filestrs=<PTHFILE>;
close(PTHFILE);
foreach my $i (@filestrs) {
chop($i);
$i =~ s/\//\\/g; # switch fwdslash to backslsh
# print $i,"\n";
$ENV{$envvarname}.=";".$WINBLDROOT."\\".$dirname."\\".$i;
}
}
sub AddPckgPath() {
my $pckg = shift;
$ENV{'PATH'}.=":".$ENV{$pckg}."/bin:".$ENV{$pckg}."/lib";
}
sub gen_python_code() {
&logmsg("*** GenPythonCode Start for ".$inst_dirnames[$treenum]." at ".&gettimestr()." ***");
&mychdir($CYGBLDROOT."/direct/bin");
# ETC_PATH required by generatePythonCode?
$ENV{'ETC_PATH'}='/home/builder/player/panda/etc /home/builder/player/direct/etc /home/builder/player/dtool/etc /home/builder/player/toontown/etc /home/builder/player/pandatool/etc';
my $origpath=$ENV{'PATH'}; # save now, restore path after done
# start new path just for this fn
$ENV{'PATH'}="/bin";
&AddPckgPath('WINTOOLS');
&AddPckgPath('DTOOL');
&AddPckgPath('PANDATOOL');
&AddPckgPath('PANDA');
&AddPckgPath('DIRECT');
&AddPckgPath('TOONTOWN');
# $ENV{'PATH'}=$ENV{'WINTOOLS'}."/bin:".$ENV{'WINTOOLS'}."/lib:/bin:/contrib/bin:/mscommon/Tools/WinNT:/mscommon/MSDev98/Bin:/mscommon/Tools:/msvc98/bin:/home/builder/player/dtool/bin:/home/builder/player/dtool/lib:/home/builder/player/direct/bin:/home/builder/player/direct/lib::/home/builder/player/toontown/bin:/home/builder/player/toontown/lib:/home/builder/player/panda/lib:/home/builder/player/panda/bin:/usr/local/bin:.:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/bin:/mspsdk/Bin/:/mspsdk/Bin/WinNT:/mscommon/Tools/WinNT:/mscommon/MSDev98/Bin:/mscommon/Tools:/msvc98/bin:/home/builder/scripts:/home/builder/player/pandatool/bin:/home/builder/player/pandatool/lib";
$ENV{'PATH'}.=":/mscommon/Tools/WinNT:/mscommon/MSDev98/Bin:/mscommon/Tools:/msvc98/bin:/usr/local/bin:.:/c/WINNT/system32:/c/WINNT:/c/bin:/mspsdk/Bin/:/mspsdk/Bin/WinNT:/mscommon/Tools/WinNT:/mscommon/Tools:/home/builder/scripts:";
$ENV{'PATH'}.=$ENV{'WINTOOLS'}."/sdk/python/Tcl/bin:".$ENV{'WINTOOLS'}."/sdk/python/Tcl/lib";
$ENV{'PYTHONPATH'}= $WINBLDROOT."\\direct\\src\\showbase;".$WINBLDROOT."\\panda\\lib;".$WINBLDROOT."\\dtool\\lib;".$WINBLDROOT."\\wintools\\bin;".$WINBLDROOT."\\wintools\\lib;";
$ENV{'PYTHONPATH'}.= $WINBLDROOT."\\wintools\\sdk\\python\\Python-2.2\\Lib;".$WINBLDROOT."\\wintools\\sdk\\python\\Python-2.2\\DLLs;";
# direct/src/showbase/sitecustomize.py will add paths based on CTPROJS
$ENV{'CTPROJS'}="TOONTOWN:personal DIRECT:personal PANDA:personal WINTOOLS:personal DTOOL:personal";
# my $directsrcroot=$WINBLDROOT."\\direct\\src";
# this should be unnecessary if sitecustomize.py sees CTPROJS
# # add stuff from etc/[dir].pth
# &addpathsfromfile("direct","PYTHONPATH");
# &addpathsfromfile("toontown","PYTHONPATH");
$ENV{'TCSH_NO_CHANGEPATH'}='1';
# old way that tried to do genPyCode directly
# $outputdir = $WINBLDROOT."\\direct\\lib\\py";
# &mymkdir($outputdir);
# $outputdir.= "\\Opt".$ENV{'PANDA_OPTIMIZE'}."-Win32";
# &mymkdir($outputdir);
# now back to 1 build-type per tree
#
# my $genpyth_str;
# my $genargstr="-v -d";
#
# if(($ENV{'PANDA_OPTIMIZE'} eq '1') || ($ENV{'PANDA_OPTIMIZE'} eq '2')) {
# $genpyth_str="python_d -v -OO ";
# $genargstr="-O ".$genargstr;
# } else {
# $genpyth_str="python -v -O ";
# $genargstr="-O ".$genargstr;
# }
# $genpyth_str.="generatePythonCode ".$genargstr." '".$outputdir."' -e '".$WINBLDROOT."\\direct\\src\\extensions' -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect libtoontown";
# &myexecstr($genpyth_str,"generate python code failed!!!","DO_LOG","NO_PANDA_ATTACH");
$genpy_args{'1'} = 'win-debug';
$genpy_args{'2'} = 'win-debug';
$genpy_args{'3'} = 'win-release';
$genpy_args{'4'} = 'win-publish';
$genpy_arg1 = "-t ".$genpy_args{$ENV{'PANDA_OPTIMIZE'}};
&myexecstr("genPyCode ".$genpy_arg1,"genPyCode failed","DO_LOG","NO_PANDA_ATTACH");
$ENV{'PATH'}=$origpath;
delete $ENV{'TCSH_NO_CHANGEPATH'};
&mychdir($CYGBLDROOT);
&logmsg("*** GenPythonCode Finished for ".$inst_dirnames[$treenum]." at ".&gettimestr()." ***");
}
my $newdayarchivedirname;
sub archivetree() {
$treenum=shift;
if(!(-e $inst_dirs[$treenum])) {
return;
}
if($newdayarchivename eq "") {
($devicenum,$inodenum,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks)
= stat($inst_dirs[$treenum]."\\dtool\\Sources.pp");
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)
= localtime($mtime);
$mon++;
$newdayarchivedirname=$inst_dirs[$ARCHIVENUM]."\\".($mon<10 ? "0":"").$mon."-".($mday<10 ? "0":"").$mday;
&mymkdir($newdayarchivedirname);
}
&logmsg("*** Archiving ".$inst_dirnames[$treenum]." build on install server at ".&gettimestr()." ***");
my $archdirname=$newdayarchivedirname."\\".$inst_dirnames[$treenum];
&myrename($inst_dirs[$treenum],$archdirname);
foreach my $dir1 (@dirstodolist) {
# copy DLL .pdb/.map up to lib dir so we can blow away metalibs subdir
# could do this is the makefiles instead
&myexecstr("( for /R ".$archdirname."\\".$dir1."\\metalibs %i in (lib*.pdb lib*.map) do copy %i ".$archdirname."\\".$dir1."\\lib )","nomsg","DO_LOG","NT cmd");
if($dir1 eq "panda") {
# dll/exe not under metalibs
&myexecstr("( for /R ".$archdirname."\\".$dir1."\\src\\audiotraits %i in (lib*.pdb lib*.map) do copy %i ".$archdirname."\\".$dir1."\\lib )","nomsg","DO_LOG","NT cmd");
&myexecstr("( for /R ".$archdirname."\\".$dir1."\\src\\shader %i in (lib*.pdb lib*.map) do copy %i ".$archdirname."\\".$dir1."\\lib )","nomsg","DO_LOG","NT cmd");
&myexecstr("( for /R ".$archdirname."\\".$dir1."\\src\\testbed %i in (*.pdb *.map) do copy %i ".$archdirname."\\".$dir1."\\bin )","nomsg","DO_LOG","NT cmd");
}
# NT cmd 'for' always returns 144 for some reason, impossible to detect error cond, so just don't check retval
# delete old objs/pdbs/etc out of archived trees (just blow away the Opt[Win32] dir)
# &myexecstr("( for /D /R ".$archdirname."\\".$dir1."\\src %i in (Opt*Win32) do rd /s /q %i )","nomsg","DO_LOG","NT cmd");
# instead blow away src,CVS,include,metalibs dirs completely
# doing every rd twice since windows-samba-RAID link seems to screw up and cause some files to not be deleted the 1st time
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\src","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\CVS","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\include","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\metalibs","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\src","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\CVS","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\include","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\".$dir1."\\metalibs","nomsg","DO_LOG","NT cmd");
# del xtra files at root of subdirs
&myexecstr("del /Q /F ".$archdirname."\\".$dir1."\\*","nomsg","DO_LOG","NT cmd");
}
# delete old browse files
&myexecstr("del /q ".$archdirname."\\*.bsc","nomsg","DO_LOG","NT cmd");
# delete wintools, right now its too big to archive
&myexecstr("rd /s /q ".$archdirname."\\wintools","nomsg","DO_LOG","NT cmd");
&myexecstr("rd /s /q ".$archdirname."\\wintools","nomsg","DO_LOG","NT cmd");
# could also move .pdb from metalibs to lib, then del metalibs, include, src dirs
}
sub checkoutfiles {
my $existing_module_str="";
my $nonexisting_module_str="";
&mychdir($CYGBLDROOT);
foreach my $dir1 (@dirstodolist) {
if(-e $dir1) {
$existing_module_str.=$dir1." ";
} else {
$nonexisting_module_str.=$dir1." ";
}
}
if($existing_module_str ne "") {
# flaw: will bomb if any CVS subdirs are missing
&myexecstr("( for /D /R . %i in (Opt*Win32) do rd /s /q %i )","nomsg","DO_LOG","NT cmd");
&logmsg("*** REMOVING ALL FILES IN OLD SRC TREES ***");
# use cvs update to grab new copy
# note: instead of blowing these away, may want to rename and save them
# also, I could just blow everything away and check out again
# cant blow away if people are sitting in those dirs, so we do this instead
$rmcmd="find ".$existing_module_str." -path '*CVS*' -prune -or -not -name 'bldlog*' -and -not -type d -print | xargs --no-run-if-empty -n 40 rm";
#&myexecstr($rmcmd,"Removal of old files failed!","DO_LOG","NO_CSHRC");
&myexecstr($rmcmd,"Removal of old files failed!","DO_LOG","NO_PANDA_ATTACH");
&myexecstr("cvs update -d -R ".$existing_module_str." |& egrep -v 'Updating|^\\?'",
"cvs update failed!","DO_LOG","NO_PANDA_ATTACH");
}
if($nonexisting_module_str ne "") {
&myexecstr("cvs checkout -R ".$nonexisting_module_str." |& egrep -v 'Updating|^\\?'",
"cvs checkout failed!","DO_LOG","NO_PANDA_ATTACH");
}
}
sub buildall() {
$treenum=shift;
# DTOOL ppremake may have already run by DTOOL 'initialize make'
if($DO_ARCHIVE_AND_COPY_ONLY) {
goto 'ARCHIVE_AND_COPY';
}
&logmsg("*** Starting ".uc($inst_dirnames[$treenum])." Build (Opt=".$ENV{'PANDA_OPTIMIZE'}.") at ".&gettimestr()." ***");
&checkoutfiles();
# cant do attachment, since that often hangs on NT
# must use non-attachment build system (BUILD_TYPE 'gmsvc', not 'stopgap', in $PPREMAKE_CONFIG)
# hacks to fix multiproc build issue (cp file to dir occurs before dir creation, need to adjust makefiles to fix this)
foreach my $dir1 (@dirstodolist) {
&mymkdir($CYGBLDROOT."/".$dir1."/etc");
&mymkdir($CYGBLDROOT."/".$dir1."/bin");
&mymkdir($CYGBLDROOT."/".$dir1."/lib");
&mymkdir($CYGBLDROOT."/".$dir1."/include");
}
&mymkdir($CYGBLDROOT."/dtool/include/parser-inc"); # hack to fix makefile multiproc issue
&mymkdir($CYGBLDROOT."/pandatool/shared"); # hack to fix makefile multiproc issue
foreach my $dir1 (@dirstodolist) {
my $dir1_upcase = uc($dir1);
&logmsg("*** PPREMAKE ".$dir1_upcase." (BUILDTYPE=".$ENV{'PANDA_BUILD_TYPE'}.") ***");
&mychdir($CYGBLDROOT."/".$dir1);
&myexecstr("ppremake",$dir1_upcase." ppremake failed!","DO_LOG","NO_PANDA_ATTACH");
}
# debug stuff
# &mychdir($CYGBLDROOT);
# &myexecstr("dir dtool","dir failed","DO_LOG","NT cmd");
$makecmd="make";
$shellarg="NO_PANDA_ATTACH";
if($ENV{'PANDA_BUILD_TYPE'} eq 'msvc') {
$makecmd="nmake";
$shellarg="NT cmd";
}
foreach my $dir1 (@dirstodolist) {
my $dir1_upcase = uc($dir1);
&logmsg("*** BUILDING ".$dir1_upcase." at ".&gettimestr()." ***");
&mychdir($CYGBLDROOT."/".$dir1);
&myexecstr($makecmd." install",$dir1_upcase." ".$makecmd." install failed!","DO_LOG",$shellarg);
}
&mychdir($CYGBLDROOT); # get out of src dirs to allow them to be moved/renamed
unlink($CYGBLDROOT."/dtool/dtool_config.h"); # fix freakish NTFS bug, this file is regenerated by ppremake anyway
if($#dirstodolist>1) {
&gen_python_code(); # must run AFTER toontown bld
}
ARCHIVE_AND_COPY:
&mychdir($CYGBLDROOT); # get out of src dirs to allow them to be moved/renamed
# archive old current srvr build & copy build to server, if its accessible
if(!(-e $WIN_INSTALLDIR)) {
&logmsg("ERROR: Cant access install directory!! (Is Server down??) ".$WIN_INSTALLDIR);
&logmsg("Skipping archive and copy-build-to-server steps for ".$inst_dirnames[$treenum]." build");
return;
}
if($DONT_ARCHIVE_OLD_BUILDS) {
&myexecstr("rd /s /q ".$inst_dirs[$treenum],"DO_LOG","NT cmd"); # don't bother checking errors here, probably just some shell has the dir cd'd to
} else {
&archivetree($treenum);
}
&logmsg("*** Copying ".$inst_dirnames[$treenum]." build to install server at ".&gettimestr()." ***");
&mymkdir($inst_dirs[$treenum]);
my $xcopy_opt_str="/E /K /C /R /Y /H /I ";
if($DEBUG_TREECOPY) {
$xcopy_opt_str.="/T "; #debug only
}
if($treenum == $DEBUGNUM) {
# get rid of .sbr files before copying
&myexecstr("echo .sbr > C:\\junk","echo .sbr failed!!", "DO_LOG","NT cmd");
$xcopy_opt_str.=" /EXCLUDE:C:\\junk";
}
# hopefully there are no extra dirs underneath
# add wintools to dir copy list
# don't want to add wintools to global dirstodo, treat it separately
unshift(dirstodolist,"wintools");
foreach my $dir1 (@dirstodolist) {
&mymkdir($inst_dirs[$treenum]."\\".$dir1);
&myexecstr("\\WINNT\\system32\\xcopy ".$xcopy_opt_str." ".$WINBLDROOT."\\".$dir1."\\* ".$inst_dirs[$treenum]."\\".$dir1,
"xcopy of ".$inst_dirnames[$treenum]." tree failed!!", "DO_LOG","NT cmd");
}
shift(dirstodolist);
}
# assumes environment already attached to TOOL/PANDA/DIRECT/TOONTOWN
# assumes cygwin env, BLDROOT must use fwd slashes
if($ENV{'BLDROOT'} eq "") {
$ENV{'BLDROOT'} = "/home/builder/player";
}
if($ENV{'CYGWIN_ROOT'} eq "") {
$ENV{'CYGWIN_ROOT'} = "C:\\Cygwin";
}
$CYGROOT= $ENV{'CYGWIN_ROOT'};
$CYGROOT =~ s/(.*)\\$/$1/; # get rid of trailing '\'
#$CYGROOT =~ s/\\/\//g; # switch backslash to fwdslash (setting up for cygwin)
$CYGBLDROOT = $ENV{'BLDROOT'};
print "\$CYGBLDROOT='",$CYGBLDROOT,"'\n";
if(($CYGBLDROOT eq "")||(!(-e $CYGBLDROOT))) {
die "Bad \$CYGBLDROOT !!\n";
}
$WINBLDROOT=$CYGROOT.$CYGBLDROOT;
$WINBLDROOT =~ s/\//\\/g; # switch fwdslash to backslash
print "\$WINBLDROOT='",$WINBLDROOT,"'\n";
my ($sec,$min,$hour,$mday,$mon,$year,$wday) = localtime(time);
$mon++;
$logfilenamebase="bldlog-".($mon<10 ? "0":"").$mon."-".($mday<10 ? "0":"").$mday.".txt";
$fulllogfilename = $CYGBLDROOT."/".$logfilenamebase;
$fulllogfilename_win = $WINBLDROOT."\\".$logfilenamebase;
# recreate the log to blow away any old one
open(LOGFILE,">".$fulllogfilename) || die "can't open log file '$fulllogfilename'\n";
close(LOGFILE);
&logmsg("*** Panda Build Log Started at ".&gettimestr()." ***");
my @do_install_dir;
my @dir_build_type;
for($ii=0;$ii<=$#PUBLISHNUM;$ii++) {
if($#ARGV<0) {
$do_install_dir=1;
} else {
$do_install_dir=0;
}
$dir_build_type=0;
}
my $g_last_dirnum=0;
for($ii=0;$ii<=$#ARGV;$ii++) {
if(uc($ARGV[$ii]) eq uc($inst_dirnames[$INSTALLNUM])) {
$g_last_dirnum=$INSTALLNUM;
} elsif(uc($ARGV[$ii]) eq uc($inst_dirnames[$DEBUGNUM])) {
$g_last_dirnum=$DEBUGNUM;
} elsif(uc($ARGV[$ii]) eq uc($inst_dirnames[$RELEASENUM])) {
$g_last_dirnum=$RELEASENUM;
} elsif(uc($ARGV[$ii]) eq uc($inst_dirnames[$PUBLISHNUM])) {
$g_last_dirnum=$PUBLISHNUM;
} elsif(uc($ARGV[$ii]) eq "NMAKE") {
$dir_build_type[$g_last_dirnum]=1;
next;
} else {
&logmsg("invalid argument '".$ARGV[0]."' to builder.pl. arg must be 'install','debug', or 'release', or 'publish'\n");
exit(1);
}
$do_install_dir[$g_last_dirnum]=1;
}
if(!(-e $WIN_INSTALLDIR)) {
&logmsg("ERROR: Cant access install directory!! ".$WIN_INSTALLDIR);
exit(1);
}
&mychdir($CYGBLDROOT);
if($BLD_DTOOL_ONLY) {
@dirstodolist=("dtool");
} else {
@dirstodolist=("dtool","panda","pandatool","direct","toontown");
}
$dirstodostr="";
foreach my $dir1 (@dirstodolist) {
$dirstodostr.=$dir1." ";
}
# makes ppremake build headers, libs in module dirs (panda/lib,dtool/bin,etc), not /usr/local/panda/inc...
foreach my $dir1 (@dirstodolist) {
my $dir1_upcase = uc($dir1);
$ENV{$dir1_upcase}=$CYGBLDROOT."/".$dir1;
# need this since we are building in src dirs, not install dir
# so 'interrogate' needs to find its dlls when building panda, etc
&appendpath("/".$dir1."/bin","/".$dir1."/lib");
}
# pick up cygwin utils
$ENV{'PATH'}=$ENV{'WINTOOLS'}."/bin".$DIRPATH_SEPARATOR.$ENV{'WINTOOLS'}."/lib".$DIRPATH_SEPARATOR."/bin".$DIRPATH_SEPARATOR.$ENV{'PATH'}."/c/WINNT/system32".$DIRPATH_SEPARATOR."/c/WINNT";
# want build to pick up python dll's from /usr/lib before /c/python16
# $ENV{'PATH'}="/usr/lib".$DIRPATH_SEPARATOR.$ENV{'PATH'}; not needed
if($DEBUG_MAKEBSC_ONLY) {
&make_bsc_file();
exit(0);
}
if(! $DEBUG_GENERATE_PYTHON_CODE_ONLY) {
# update wintools
unlink("wintools\\bin\\dos2unix.exe"); # rm a file so egrep doesnt find 0 non-Updating/?? lines and return failure
&myexecstr("cvs update -d -R wintools |& egrep -v 'Updating|^\\?'", "cvs update failed!","DO_LOG","NO_PANDA_ATTACH");
}
if($DEBUG_TREECOPY) {
goto 'DBGTREECOPY';
}
# goto 'SKIP_REMOVE';
SKIP_REMOVE:
# this doesnt work unless you can completely remove the dirs, since cvs checkout
# bombs if dirs exist but CVS dirs do not.
if($do_install_dir[$INSTALLNUM]) {
if($dir_build_type[$INSTALLNUM]) {
$ENV{'PANDA_BUILD_TYPE'} = 'msvc';
} else {
$ENV{'PANDA_BUILD_TYPE'} = 'gmsvc';
}
$ENV{'PANDA_OPTIMIZE'}='2';
if($DEBUG_GENERATE_PYTHON_CODE_ONLY) {
&gen_python_code();
exit(0);
}
&buildall($INSTALLNUM);
}
if($do_install_dir[$RELEASENUM]) {
if($dir_build_type[$RELEASENUM]) {
$ENV{'PANDA_BUILD_TYPE'} = 'msvc';
} else {
$ENV{'PANDA_BUILD_TYPE'} = 'gmsvc';
}
$ENV{'PANDA_OPTIMIZE'}='3';
if($DEBUG_GENERATE_PYTHON_CODE_ONLY) {
&gen_python_code();
exit(0);
}
&buildall($RELEASENUM);
}
BEFORE_DBGBUILD:
if($do_install_dir[$DEBUGNUM]) {
if($dir_build_type[$DEBUGNUM]) {
$ENV{'PANDA_BUILD_TYPE'} = 'msvc';
} else {
$ENV{'PANDA_BUILD_TYPE'} = 'gmsvc';
}
$ENV{'USE_BROWSEINFO'}='1'; # make .sbr files
if(! $DEBUG_GENERATE_PYTHON_CODE_ONLY) {
$ENV{'PANDA_OPTIMIZE'}='1';
}
if($DEBUG_GENERATE_PYTHON_CODE_ONLY) {
&gen_python_code();
exit(0);
}
&buildall($DEBUGNUM);
&make_bsc_file();
delete $ENV{'USE_BROWSEINFO'};
&myexecstr("del /s *.sbr","nomsg","DO_LOG","NT cmd");
}
AFTER_DBGBUILD:
if($do_install_dir[$PUBLISHNUM]) {
if($dir_build_type[$PUBLISHNUM]) {
$ENV{'PANDA_BUILD_TYPE'} = 'msvc';
} else {
$ENV{'PANDA_BUILD_TYPE'} = 'gmsvc';
}
$ENV{'PANDA_OPTIMIZE'}='4';
&buildall($PUBLISHNUM);
}
&logmsg("*** Panda Build Log Finished at ".&gettimestr()." ***");
# store log in 'debug' dir
&myexecstr("copy ".$fulllogfilename_win." ".$inst_dirs[$g_last_dirnum], "copy of ".$fulllogfilename_win." failed!!", "","NT cmd");
exit(0);
# TODO:
# compress old archived blds?
# build DLLs with version stamp set by this script
# implement build-specific opttype mode

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
#!perl
# find last checked-in modification to [filename]
if($#ARGV==-1) {
die "Usage: lastchng.pl [filename]\nfinds last checked-in modification to file\n";
}
if(!(-e $ARGV[0])) {
die "file '".$ARGV[0]."' doesnt exist!\n";
}
open(INPUT_STREAM,"cvs log $ARGV[0] |");
$firstrev=null;
$secondrev=null;
while($line=<INPUT_STREAM>) {
if($line =~ /^revision (\S*)$/) {
# print $line."\n";
if($firstrev==null) {
$firstrev=$1;
} else {
$secondrev=$1;
last;
}
}
}
close(INPUT_STREAM);
if($firstrev==null) {
die "Couldn't find first revision of $ARGV[0]!\n";
}
$revstr="-r$firstrev";
if($secondrev!=null) {
$revstr = "-r$secondrev ".$revstr;
}
$cvsline="cvs diff $revstr ".$ARGV[0];
print $cvsline,"\n";
system($cvsline);
exit(0);

View File

@ -1,45 +0,0 @@
#!perl
# find last checked-in modification to [filename]
if($#ARGV==-1) {
die "Usage: lastchng.pl [filename]\nfinds last checked-in modification to file\n";
}
if(!(-e $ARGV[0])) {
die "file '".$ARGV[0]."' doesnt exist!\n";
}
open(INPUT_STREAM,"cvs log $ARGV[0] |");
$firstrev=null;
$secondrev=null;
while($line=<INPUT_STREAM>) {
if($line =~ /^revision (\S*)$/) {
# print $line."\n";
if($firstrev==null) {
$firstrev=$1;
} else {
$secondrev=$1;
last;
}
}
}
close(INPUT_STREAM);
if($firstrev==null) {
die "Couldn't find first revision of $ARGV[0]!\n";
}
$revstr="-r$firstrev";
if($secondrev!=null) {
$revstr = "-r$secondrev ".$revstr;
}
$cvsline="cvs update -p -r".$secondrev." ".$ARGV[0]." > junk";
$windiffline="windiff junk ".$ARGV[0];
print $cvsline,"\n";
system($cvsline);
print $windiffline,"\n";
system($windiffline);
exit(0);