GRF: Allow railtype custom signal sprites for programmable pre-signals
This commit is contained in:
@@ -629,6 +629,9 @@ class NIHRailType : public NIHelper {
|
||||
HasBit(info->flags, RTF_ALLOW_90DEG) ? 'a' : '-',
|
||||
HasBit(info->flags, RTF_DISALLOW_90DEG) ? 'd' : '-');
|
||||
print(buffer);
|
||||
seprintf(buffer, lastof(buffer), " Ctrl flags: %c",
|
||||
HasBit(info->ctrl_flags, RTCF_PROGSIG) ? 'p' : '-');
|
||||
print(buffer);
|
||||
};
|
||||
|
||||
print("Debug Info:");
|
||||
|
@@ -77,6 +77,9 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* flags */
|
||||
RTFB_NONE,
|
||||
|
||||
/* control flags */
|
||||
0,
|
||||
|
||||
/* cost multiplier */
|
||||
8,
|
||||
|
||||
@@ -178,6 +181,9 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* flags */
|
||||
RTFB_CATENARY,
|
||||
|
||||
/* control flags */
|
||||
0,
|
||||
|
||||
/* cost multiplier */
|
||||
12,
|
||||
|
||||
@@ -275,6 +281,9 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* flags */
|
||||
RTFB_NONE,
|
||||
|
||||
/* control flags */
|
||||
0,
|
||||
|
||||
/* cost multiplier */
|
||||
16,
|
||||
|
||||
@@ -372,6 +381,9 @@ static const RailtypeInfo _original_railtypes[] = {
|
||||
/* flags */
|
||||
RTFB_NONE,
|
||||
|
||||
/* control flags */
|
||||
0,
|
||||
|
||||
/* cost multiplier */
|
||||
24,
|
||||
|
||||
|
Reference in New Issue
Block a user