Skip to content

Commit

Permalink
Re-drew Class 52, added Golden Ochre livery, archived old 52 graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jul 31, 2024
1 parent 7437c44 commit a67006a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 16 deletions.
3 changes: 2 additions & 1 deletion docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- Furness Railway Railmotor?
- LNER P2 Streamlined version (gfx done need coding)
- GWR 5700/6700/8750 Class (gfx done need coding)
- Class 52 (new gfx, presumably need template swap in code and additional livery adding)
- Class 20 (graphics drawn? Need to check if they're actually right)

# v2.12
- Added LMS Black 5
Expand All @@ -18,6 +18,7 @@
- Added AnsaldoBreda T-68 (Manchester Metrolink tram)
- Added LU S7/S8 stock Tram variants
- Added LU 1938 stock Tram Variant
- Re-drew Class 52
- Improved LNER Teak coach windows and roofs to fit scale better
- Improved Standard 9F
- Fixed some introduction and model lifespans (set is now fully freight playable from ~1850 onwards)
Expand Down
File renamed without changes
Binary file modified gfx/Diesel/52.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lang/english.lng
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@ str_BRLLogoCentre : (BR Large Logo - Centre Headcode)
str_BRLLogoSplit : (BR Large Logo - Split Box)
str_BRMalachite : (BR - Malachite Green)
str_BRMaroon : (BR - Maroon)
str_BROchre : (BR - Golden Ochre)
str_BRPrototype : (BR - Prototype)
str_BRProvincial : (BR - Provincial)
str_BRRefurb : (BR - Refurbished)
Expand Down
36 changes: 21 additions & 15 deletions src/trains/diesel/BR052.pnml → src/trains/diesel/52.pnml
Original file line number Diff line number Diff line change
@@ -1,36 +1,42 @@
spriteset(spriteset_BR52_Purchase, "gfx/BR52.png") {
spriteset(spriteset_BR52_Purchase, "gfx/Diesel/52.png") {
template_purchase(0, 0)
}

spriteset(spriteset_BR52_BRSand, "gfx/BR52.png") {
template_train28px_old(0, 13)
spriteset(spriteset_BR52_BRBlue, "gfx/Diesel/52.png") {
template_train32px(0, 13)
}

spriteset(spriteset_BR52_BRMaroon, "gfx/BR52.png") {
template_train28px_old(0, 36)
spriteset(spriteset_BR52_BRSand, "gfx/Diesel/52.png") {
template_train32px(0, 39)
}

spriteset(spriteset_BR52_BRBlue, "gfx/BR52.png") {
template_train28px_old(0, 59)
spriteset(spriteset_BR52_BRMaroon, "gfx/Diesel/52.png") {
template_train32px(0, 65)
}

spriteset(spriteset_BR52_BRGreen, "gfx/BR52.png") {
template_train28px_old(0, 82)
spriteset(spriteset_BR52_BRGreen, "gfx/Diesel/52.png") {
template_train32px(0, 91)
}

spriteset(spriteset_BR52_BROchre, "gfx/Diesel/52.png") {
template_train32px(0, 117)
}

switch(FEAT_TRAINS,SELF, sw_BR52,cargo_subtype){
0: spriteset_BR52_BRSand;
1: spriteset_BR52_BRMaroon;
2: spriteset_BR52_BRBlue;
0: spriteset_BR52_BRBlue;
1: spriteset_BR52_BRSand;
2: spriteset_BR52_BRMaroon;
3: spriteset_BR52_BRGreen;
4: spriteset_BR52_BROchre;
return CB_RESULT_NO_TEXT;
}

switch(FEAT_TRAINS,SELF,sw_BR52_cargo_subtype_text,cargo_subtype){
0: return string(str_BRDesertSand);
1: return string(str_BRMaroon);
2: return string(str_BRBlue);
0: return string(str_BRBlue);
1: return string(str_BRDesertSand);
2: return string(str_BRMaroon);
3: return string(str_BRGreen);
4: return string(str_BROchre);
return CB_RESULT_NO_TEXT;
}

Expand Down

0 comments on commit a67006a

Please sign in to comment.