Skip to content

Commit

Permalink
BR150 - Added LNWR livery
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Mar 27, 2024
1 parent 185d335 commit 49afcf9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
Binary file modified gfx/BR150_1a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gfx/BR150_1b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion src/trains/dmu/BR150.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ spriteset(spriteset_BR150a_NRTest, "gfx/BR150_1a.png") {
template_train32px(0, 338)
}

spriteset(spriteset_BR150a_LNWR, "gfx/BR150_1b.png") {
template_train32px(0, 363)
}

spriteset(spriteset_BR150b_BRPrototype, "gfx/BR150_1b.png") {
template_train32px(0, 13)
Expand Down Expand Up @@ -123,6 +126,10 @@ spriteset(spriteset_BR150b_NRTest, "gfx/BR150_1b.png") {
template_train32px(0, 338)
}

spriteset(spriteset_BR150b_LNWR, "gfx/BR150_1b.png") {
template_train32px(0, 363)
}

spriteset(spriteset_BR150c_BRPrototype, "gfx/BR150_1c.png") {
template_train32px(0, 13)
}
Expand Down Expand Up @@ -186,7 +193,7 @@ switch(FEAT_TRAINS,SELF,sw_BR150_cargo_subtype_text,cargo_subtype){
2: return string(str_Centro);
3: return string(str_LondonMidland);
4: return string(str_FGW);
5: return string(str_Central);
5: return string(str_Central);
return CB_RESULT_NO_TEXT;
}

Expand Down
3 changes: 3 additions & 0 deletions src/trains/dmu/BR150_1.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ switch(FEAT_TRAINS,SELF, sw_BR150_1,cargo_subtype){
11: spriteset_BR150a_BRTest;
12: spriteset_BR150a_Railtrack;
13: spriteset_BR150a_NRTest;
14: spriteset_BR150a_LNWR;
}

switch(FEAT_TRAINS,SELF, sw_BR150_1b,cargo_subtype){
Expand All @@ -34,6 +35,7 @@ switch(FEAT_TRAINS,SELF, sw_BR150_1b,cargo_subtype){
11: spriteset_BR150b_BRTest;
12: spriteset_BR150b_Railtrack;
13: spriteset_BR150b_NRTest;
14: spriteset_BR150b_LNWR;
}


Expand All @@ -57,6 +59,7 @@ switch(FEAT_TRAINS,SELF,sw_BR150_1_cargo_subtype_text,cargo_subtype){
11: return string(str_BRTest);
12: return string(str_Railtrack);
13: return string(str_NRTest);
14: return string(str_LNWR);
}

item (FEAT_TRAINS, item_BR150_1, 44) {
Expand Down

0 comments on commit 49afcf9

Please sign in to comment.