-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most changes for RMTPO and BR47 to work in push pull (length needs ch…
…anging to 8)
- Loading branch information
Showing
7 changed files
with
178 additions
and
119 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
spriteset(spriteset_BR47_Purchase, "gfx/BR47_BR57.png") { | ||
template_purchase(0, 0) | ||
} | ||
|
||
spriteset(spriteset_BR47_BRGreen, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 463) | ||
} | ||
|
||
spriteset(spriteset_BR47_BRBlue, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 13) | ||
} | ||
|
||
spriteset(spriteset_BR47_Porterbrook, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 38) | ||
} | ||
|
||
spriteset(spriteset_BR47_EWS, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 63) | ||
} | ||
|
||
spriteset(spriteset_BR47_BRLLogo, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 113) | ||
} | ||
|
||
spriteset(spriteset_BR47_BRLLogoAlt, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 88) | ||
} | ||
|
||
spriteset(spriteset_BR47_Anglia, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 138) | ||
} | ||
|
||
spriteset(spriteset_BR47_Intercity, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 163) | ||
} | ||
|
||
spriteset(spriteset_BR47_WCRC, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 238) | ||
} | ||
|
||
spriteset(spriteset_BR47_GWR, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 313) | ||
} | ||
|
||
spriteset(spriteset_BR47_Virgin, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 513) | ||
} | ||
|
||
spriteset(spriteset_BR47_Colas, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 538) | ||
} | ||
|
||
spriteset(spriteset_BR47_One, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 263) | ||
} | ||
|
||
spriteset(spriteset_BR47_Freightliner, "gfx/BR47_BR57.png") { | ||
template_train32px(0, 213) | ||
} | ||
|
||
// This switch called when displaying as this locomotive | ||
// WARNING: If editing this, also edit PushPull.pnml in the Spritesets folder | ||
switch(FEAT_TRAINS,SELF, sw_BR47,cargo_subtype){ | ||
0: spriteset_BR47_BRGreen; | ||
1: spriteset_BR47_BRBlue; | ||
2: spriteset_BR47_Porterbrook; | ||
3: spriteset_BR47_EWS; | ||
4: spriteset_BR47_BRLLogo; | ||
5: spriteset_BR47_BRLLogoAlt; | ||
6: spriteset_BR47_Anglia; | ||
7: spriteset_BR47_Intercity; | ||
8: spriteset_BR47_WCRC; | ||
9: spriteset_BR47_GWR; | ||
10: spriteset_BR47_Virgin; | ||
11: spriteset_BR47_Colas; | ||
12: spriteset_BR47_One; | ||
13: spriteset_BR47_Freightliner; | ||
return CB_RESULT_NO_TEXT; | ||
} | ||
|
||
switch(FEAT_TRAINS,SELF,sw_BR47_cargo_subtype_text,cargo_subtype){ | ||
0: return string(str_BRGreen); | ||
1: return string(str_BRBlue); | ||
2: return string(str_Purple); | ||
3: return string(str_EWSCentre); | ||
4: return string(str_BRLLogo); | ||
5: return string(str_BRLLogoAlt); | ||
6: return string(str_Anglia); | ||
7: return string(str_Intercity); | ||
8: return string(str_WCRC); | ||
9: return string(str_GWRGreen); | ||
10: return string(str_Virgin); | ||
11: return string(str_ColasRail); | ||
12: return string(str_One); | ||
13: return string(str_Freightliner); | ||
return CB_RESULT_NO_TEXT; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
spriteset(spriteset_RMTPO_Purchase, "gfx/freight/RM_TPO.png") { | ||
template_purchase(0, 0) | ||
} | ||
|
||
spriteset(spriteset_RMTPO_NoDoors, "gfx/freight/RM_TPO.png") { | ||
template_train28px(0, 13) | ||
} | ||
spriteset(spriteset_RMTPO_2Door, "gfx/freight/RM_TPO.png") { | ||
template_train28px(0, 36) | ||
} | ||
spriteset(spriteset_RMTPO_3Door, "gfx/freight/RM_TPO.png") { | ||
template_train28px(0, 59) | ||
} | ||
|
||
spriteset(spriteset_RMTPO_PCV, "gfx/freight/RM_TPO.png") { | ||
template_train28px(0, 82) | ||
} | ||
|
||
spriteset(spriteset_RMTPO_PCVr, "gfx/freight/RM_TPO.png") { | ||
template_train28px(0, 105) | ||
} | ||
|
||
random_switch(FEAT_TRAINS, SELF, sw_RMTPO_Random) | ||
{ | ||
1: spriteset_RMTPO_NoDoors; | ||
1: spriteset_RMTPO_2Door; | ||
1: spriteset_RMTPO_3Door; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_RMTPO, position_in_consist_from_end) | ||
{ | ||
0: spriteset_RMTPO_PCV; | ||
sw_RMTPO_Random; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters