mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r5136) Fix various style bugs:
- Trailing whitespace - Trailing empty lines - Missing newline at EOF - Missing svn:eol-style native
This commit is contained in:
parent
30651e8bcb
commit
aada042d57
|
@ -46,4 +46,3 @@ or if you want it to tell the revision too
|
|||
gcc strgen/strgen.c rev.o -o strgen/strgen -DUNIX -DWITH_REV (this is the one the makefile uses)
|
||||
|
||||
you now have a program called strgen in the strgen directory
|
||||
|
||||
|
|
|
@ -234,4 +234,3 @@ const SpriteGroup *Resolve(const SpriteGroup *group, ResolverObject *object)
|
|||
default: return group;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,4 +19,3 @@ local scripts:
|
|||
- 'on_dedicated.scr' is additionally executed after starting a server [dedicated only]
|
||||
|
||||
For examples how a script can look, check the .example examples.
|
||||
|
||||
|
|
|
@ -1755,4 +1755,3 @@ static bool IsSignedVarMemType(VarType vt)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -447,4 +447,3 @@ static const CatenarySprite Wires[5][TRACK_END][4] = {
|
|||
};
|
||||
|
||||
#endif /* ELRAIL_DATA_H */
|
||||
|
||||
|
|
|
@ -114,4 +114,3 @@ static inline void MakeCompanyHQ(TileIndex t, Owner o)
|
|||
MakeUnmovable(t + TileDiffXY(1, 0), UNMOVABLE_HQ_EAST, o);
|
||||
MakeUnmovable(t + TileDiffXY(1, 1), UNMOVABLE_HQ_SOUTH, o);
|
||||
}
|
||||
|
||||
|
|
3
yapf.txt
3
yapf.txt
|
@ -34,6 +34,3 @@ Same types as for ships:
|
|||
- 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
|
||||
- 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
|
||||
- 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -39,4 +39,3 @@ bool FollowTrackRailNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_t
|
|||
CFollowTrackRailNo90& F = *(CFollowTrackRailNo90*) This;
|
||||
return F.Follow(old_tile, old_td);
|
||||
}
|
||||
|
||||
|
|
|
@ -40,4 +40,3 @@ static int TestAutoCopyPtr(bool silent)
|
|||
CHECK_INT(5, CData::NumInstances(), 0);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
@ -100,4 +100,3 @@ static int TestBinaryHeap2(bool silent)
|
|||
CHECK_INT(7, CData::NumInstances(), 0);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
@ -111,4 +111,3 @@ static int TestArray(bool silent)
|
|||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
@ -70,5 +70,3 @@ static int TestHashTable1(bool silent)
|
|||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -357,5 +357,3 @@ struct CTestYapf2
|
|||
: public CYapfT<CYapf_TypesT<CTestYapf2, CNodeList2, CYapfMap1> >
|
||||
{
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -157,10 +157,3 @@ const TrackdirBits _track_crosses_trackdirs[] = {
|
|||
TRACKDIR_BIT_UPPER_W | TRACKDIR_BIT_UPPER_E | TRACKDIR_BIT_LOWER_W | TRACKDIR_BIT_LOWER_E, /* TRACK_LEFT */
|
||||
TRACKDIR_BIT_UPPER_W | TRACKDIR_BIT_UPPER_E | TRACKDIR_BIT_LOWER_W | TRACKDIR_BIT_LOWER_E /* TRACK_RIGHT */
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -27,8 +27,3 @@ typedef int(*TESTPROC)(bool silent);
|
|||
# include <windows.h>
|
||||
#else
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -27,4 +27,3 @@ const TrackdirBits CYapfCostBase::c_upwards_slopes[] = {
|
|||
TRACKDIR_BIT_NONE , //14
|
||||
TRACKDIR_BIT_NONE , //15
|
||||
};
|
||||
|
||||
|
|
|
@ -174,4 +174,3 @@ int NpfEndInterval(void* vperf)
|
|||
delete &perf;
|
||||
return t;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue