Skip to content

Commit

Permalink
Coppernob improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Apr 2, 2024
1 parent 32168b4 commit 7896353
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
Binary file modified gfx/Steam/FurnessCoppernob.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 lang/english.lng
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ str_DR98_9_eos :---
str_DR98_9_liveries :Network Rail, Railtrack, South West Trains


STR_NAME_Coppernob :Furness Railway 0-4-0 "Coppernob"
STR_NAME_Coppernob :Furness Railway 0-4-0 'Coppernob'
str_Coppernob_usage :Mixed Traffic
str_Coppernob_eos :1848
str_Coppernob_liveries :Furness Railway Red
Expand Down
24 changes: 12 additions & 12 deletions src/templates.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ template tmpl_train_8_reversed(x, y) {
template template_train12px(x,y){
//left_x, upper_y, width, height, offset_x, offset_y
[ x, y, 8, 14, -3, -11]
[ x+9, y, 12, 12, -7, -7]
[ x+23, y, 12, 12, -4, -8]
[ x+35, y, 12, 12, 1, -7]
[ x+9, y, 12, 12, -5, -8]
[ x+22, y, 12, 12, 4, -6]
[ x+35, y, 12, 12, 4, -4]
[ x+48, y, 8, 14, -3, -5]
[ x+57, y, 12, 12, -13, -7]
[ x+70, y, 12, 12, -15, -8]
[ x+83, y, 12, 12, -5, -7]
[ x+57, y, 12, 12, -13, -3]
[ x+70, y, 12, 12, -15, -6]
[ x+83, y, 12, 12, -4, -8]
}

template template_train16px(x,y){
Expand All @@ -53,23 +53,23 @@ template template_train20px(x,y){ // Clone to 4view when changed
//left_x, upper_y, width, height, offset_x, offset_y
[ x, y, 8, 18, -3, -11]
[ x+9, y, 15, 15, -7, -10]
[ x+25, y, 20, 12, -4, -8]
[ x+25, y, 20, 12, -4, -7]
[ x+46, y, 15, 15, 1, -7]
[ x+62, y, 8, 17, -3, -5]
[ x+62, y, 8, 18, -3, -5]
[ x+71, y, 15, 15, -13, -7]
[ x+87, y, 20, 12, -15, -8]
[ x+87, y, 20, 12, -15, -7]
[ x+108, y, 15, 15, -5, -10]
}
// THIS VIEW IS 8 FROM 4, IT REPEATS THE SECOND SET FOR OFFSET PURPOSES
template template_train20px_4view(x,y){ // Clone to 8view when changed
//left_x, upper_y, width, height, offset_x, offset_y
[ x, y, 8, 18, -3, -11]
[ x+9, y, 15, 15, -7, -10]
[ x+25, y, 20, 12, -4, -8]
[ x+25, y, 20, 12, -4, -7]
[ x+46, y, 15, 15, 1, -7]
[ x, y, 8, 17, -3, -5]
[ x, y, 8, 18, -3, -5]
[ x+9, y, 15, 15, -13, -7]
[ x+25, y, 20, 12, -15, -8]
[ x+25, y, 20, 12, -15, -7]
[ x+46, y, 15, 15, -5, -10]
}

Expand Down
2 changes: 1 addition & 1 deletion src/trains/steam/FurnessCoppernob.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spriteset(spriteset_Coppernob_FurnessRed, "gfx/Steam/FurnessCoppernob.png") {
}

spriteset(spriteset_CoppernobT_FurnessRed, "gfx/Steam/FurnessCoppernob.png") {
template_train12px(0, 31)
template_train12px(0, 32)
}

switch(FEAT_TRAINS,SELF, sw_CoppernobLoco,cargo_subtype){
Expand Down

0 comments on commit 7896353

Please sign in to comment.