Skip to content

Commit

Permalink
Moved Class 80-87 and prototypes to new templates, fixed length
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jul 24, 2024
1 parent 224e0ff commit 876af05
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
Binary file modified gfx/Electric/BR8X.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/trains/electric/18100.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spriteset(spriteset_18100_Purchase, "gfx/Electric/BR8X.png") {
}

spriteset(spriteset_18100_BRBlack, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 13)
template_train32px(0, 13)
}

switch(FEAT_TRAINS,SELF, sw_18100, cargo_subtype){
Expand Down
2 changes: 1 addition & 1 deletion src/trains/electric/BR80.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spriteset(spriteset_BR80_Purchase, "gfx/Electric/BR8X.png") {
}

spriteset(spriteset_BR80_BRBlack, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 38)
template_train32px(0, 39)
}

switch(FEAT_TRAINS,SELF, sw_BR80, cargo_subtype){
Expand Down
2 changes: 1 addition & 1 deletion src/trains/electric/BR81.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spriteset(spriteset_BR81_Purchase, "gfx/Electric/BR8X.png") {
}

spriteset(spriteset_BR81_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 63)
template_train32px(0, 65)
}

switch(FEAT_TRAINS,SELF, sw_BR81, cargo_subtype){
Expand Down
6 changes: 3 additions & 3 deletions src/trains/electric/BR82.pnml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
spriteset(spriteset_BR82_Purchase, "gfx/Electric/BR8X.png") {
template_purchase(176, 13)
template_purchase(264, 13)
}

spriteset(spriteset_BR82_InterCityExecutive, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 88)
template_train32px(0, 91)
}

spriteset(spriteset_BR82_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 63)
template_train32px(0, 65)
}

switch(FEAT_TRAINS,SELF, sw_BR82, cargo_subtype){
Expand Down
2 changes: 1 addition & 1 deletion src/trains/electric/BR83.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spriteset(spriteset_BR83_Purchase, "gfx/Electric/BR8X.png") {
}

spriteset(spriteset_BR83_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 63)
template_train32px(0, 65)
}

switch(FEAT_TRAINS,SELF, sw_BR83, cargo_subtype){
Expand Down
2 changes: 1 addition & 1 deletion src/trains/electric/BR84.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spriteset(spriteset_BR84_Purchase, "gfx/Electric/BR8X.png") {
}

spriteset(spriteset_BR84_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 63)
template_train32px(0, 65)
}

switch(FEAT_TRAINS,SELF, sw_BR84, cargo_subtype){
Expand Down
6 changes: 3 additions & 3 deletions src/trains/electric/BR85.pnml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
spriteset(spriteset_BR85_Purchase, "gfx/Electric/BR8X.png") {
template_purchase(176, 26)
template_purchase(264, 26)
}

spriteset(spriteset_BR85_RailfreightDistribution, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 113)
template_train32px(0, 117)
}

spriteset(spriteset_BR85_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 63)
template_train32px(0, 65)
}

switch(FEAT_TRAINS,SELF, sw_BR85, cargo_subtype){
Expand Down
16 changes: 8 additions & 8 deletions src/trains/electric/BR86.pnml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
spriteset(spriteset_BR86_Purchase, "gfx/Electric/BR8X.png") {
template_purchase(176, 39)
template_purchase(264, 39)
}

spriteset(spriteset_BR86_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 63)
template_train32px(0, 65)
}

spriteset(spriteset_BR86_InterCityExecutive, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 88)
template_train32px(0, 91)
}

spriteset(spriteset_BR86_InterCitySwallow, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 138)
template_train32px(0, 143)
}

spriteset(spriteset_BR86_RailfreightDistribution, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 113)
template_train32px(0, 117)
}

spriteset(spriteset_BR86_RailExpress, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 188)
template_train32px(0, 195)
}

spriteset(spriteset_BR86_EWS, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 163)
template_train32px(0, 169)
}

spriteset(spriteset_BR86_Anglia, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 288)
template_train32px(0, 299)
}

// This switch called when displaying as this locomotive
Expand Down
6 changes: 3 additions & 3 deletions src/trains/electric/BR87.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ spriteset(spriteset_BR87_Purchase, "gfx/Electric/BR8X.png") {
}

spriteset(spriteset_BR87_InterCitySwallow, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 213)
template_train32px(0, 221)
}

spriteset(spriteset_BR87_Virgin, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 238)
template_train32px(0, 247)
}

spriteset(spriteset_BR87_BRBlue, "gfx/Electric/BR8X.png") {
template_train32px_old(0, 263)
template_train32px(0, 273)
}

// This switch called when displaying as this locomotive
Expand Down

0 comments on commit 876af05

Please sign in to comment.