062dd0e24c
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
rubidium
2010-05-13 10:14:29 +00:00
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
rubidium
2010-05-13 10:14:29 +00:00
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
rubidium
2010-05-13 09:44:44 +00:00
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
rubidium
2010-05-13 09:44:44 +00:00
793b0f0736
(svn r19811) -Codechange: make the last bits from table/strings.h use static consts too instead of an unnamed enum
rubidium
2010-05-13 09:12:52 +00:00
f1e3a88257
(svn r19811) -Codechange: make the last bits from table/strings.h use static consts too instead of an unnamed enum
rubidium
2010-05-13 09:12:52 +00:00
2555522eab
(svn r19809) -Codechange: make some unnamed network related enums/defines static const variables
rubidium
2010-05-13 09:04:41 +00:00
eb8ee7ad5e
(svn r19809) -Codechange: make some unnamed network related enums/defines static const variables
rubidium
2010-05-13 09:04:41 +00:00
6fa962b867
(svn r19808) -Codechange: NetworkCalculateLag returned an uint, so keep it that way
rubidium
2010-05-13 08:59:50 +00:00
5732bdcdb9
(svn r19808) -Codechange: NetworkCalculateLag returned an uint, so keep it that way
rubidium
2010-05-13 08:59:50 +00:00
3118292b14
(svn r19807) -Codechange: instead of having an unnamed enum and passing it as an int, name the enum and pass that
rubidium
2010-05-13 08:56:01 +00:00
b4747b00e6
(svn r19807) -Codechange: instead of having an unnamed enum and passing it as an int, name the enum and pass that
rubidium
2010-05-13 08:56:01 +00:00
b229acce25
(svn r19805) -Codechange: disable warnings about unused but set variables when building with asserts disabled
smatz
2010-05-13 05:29:25 +00:00
a5ba605772
(svn r19805) -Codechange: disable warnings about unused but set variables when building with asserts disabled
smatz
2010-05-13 05:29:25 +00:00
7e1808ce21
(svn r19804) -Fix (r19802): Compile before commit, or at least triple check :)
rubidium
2010-05-12 21:39:56 +00:00
35ba356ed3
(svn r19804) -Fix (r19802): Compile before commit, or at least triple check :)
rubidium
2010-05-12 21:39:56 +00:00
7d43793ec4
(svn r19803) -Fix(r19802): Compile before commit, or at least double check...
belugas
2010-05-12 21:07:31 +00:00
2ef7ec4309
(svn r19803) -Fix(r19802): Compile before commit, or at least double check...
belugas
2010-05-12 21:07:31 +00:00
e5a3900d37
(svn r19802) -Codechange: Replace some more magic numbers by corresponding constants
belugas
2010-05-12 20:59:39 +00:00
6ef9f85cb6
(svn r19802) -Codechange: Replace some more magic numbers by corresponding constants
belugas
2010-05-12 20:59:39 +00:00
1a5d7b34d8
(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr
rubidium
2010-05-12 20:50:10 +00:00
63865a5ed7
(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr
rubidium
2010-05-12 20:50:10 +00:00
e91165ef6e
(svn r19800) -Codechange: Replace magic number by corresponding constant
belugas
2010-05-12 20:02:46 +00:00
1e5ef8ce36
(svn r19800) -Codechange: Replace magic number by corresponding constant
belugas
2010-05-12 20:02:46 +00:00
93ff7d78e1
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
rubidium
2010-05-12 19:21:00 +00:00
7f43b93eae
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
rubidium
2010-05-12 19:21:00 +00:00
a673b56fb4
(svn r19793) -Add [FS#3657]: source.list to the Visual Studio solutions and run the project file regeneration when source.list changes (adf88)
rubidium
2010-05-12 13:14:56 +00:00
0c58a5e410
(svn r19793) -Add [FS#3657]: source.list to the Visual Studio solutions and run the project file regeneration when source.list changes (adf88)
rubidium
2010-05-12 13:14:56 +00:00
99ecfe4061
(svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88)
rubidium
2010-05-11 21:02:26 +00:00
618572ce77
(svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88)
rubidium
2010-05-11 21:02:26 +00:00
fe71d4fc99
(svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88)
rubidium
2010-05-11 21:01:57 +00:00
00422b37ef
(svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88)
rubidium
2010-05-11 21:01:57 +00:00
d2364c32ed
(svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88)
rubidium
2010-05-11 21:01:01 +00:00
fa7c8be0b8
(svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88)
rubidium
2010-05-11 21:01:01 +00:00
be504a6ef0
(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter
rubidium
2010-05-11 20:48:06 +00:00
ee02599bbf
(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter
rubidium
2010-05-11 20:48:06 +00:00
26bf9a13de
(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
glx
2010-05-11 20:44:58 +00:00
862321c62a
(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
glx
2010-05-11 20:44:58 +00:00
1c3c7da1f2
(svn r19786) -Update from WebTranslator v3.0: irish - 95 changes by tem polish - 2 changes by xine russian - 6 changes by Lone_Wolf turkish - 3 changes by niw3
translators
2010-05-11 17:45:15 +00:00
23d8539cf5
(svn r19786) -Update from WebTranslator v3.0: irish - 95 changes by tem polish - 2 changes by xine russian - 6 changes by Lone_Wolf turkish - 3 changes by niw3
translators
2010-05-11 17:45:15 +00:00
e594042fb7
(svn r19785) -Codechange: reorder/rework the checks for CheckNextTrainTile a bit, causing the whole function to be a few percent faster and hopefully better to understand
rubidium
2010-05-11 14:16:16 +00:00
9f84fd4298
(svn r19785) -Codechange: reorder/rework the checks for CheckNextTrainTile a bit, causing the whole function to be a few percent faster and hopefully better to understand
rubidium
2010-05-11 14:16:16 +00:00
38d60f4b47
(svn r19784) -Fix [FS#3770]: if a waypoint is immediately followed by a path signal a reservation would be made from that path signal before the waypoint is marked passed. As a result the order to go to the waypoint is used to reserve the path after the waypoint and as such trains get lost
rubidium
2010-05-11 11:55:12 +00:00
c293e7efa0
(svn r19784) -Fix [FS#3770]: if a waypoint is immediately followed by a path signal a reservation would be made from that path signal before the waypoint is marked passed. As a result the order to go to the waypoint is used to reserve the path after the waypoint and as such trains get lost
rubidium
2010-05-11 11:55:12 +00:00
1cfddeeccf
(svn r19783) -Update from WebTranslator v3.0: polish - 5 changes by xine russian - 24 changes by Lone_Wolf
translators
2010-05-10 17:45:10 +00:00
d04bec3dc0
(svn r19783) -Update from WebTranslator v3.0: polish - 5 changes by xine russian - 24 changes by Lone_Wolf
translators
2010-05-10 17:45:10 +00:00
92042c6237
(svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative scope *action2 on an unbuilt engine.
peter1138
2010-05-10 17:27:34 +00:00
55d227ef8b
(svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative scope *action2 on an unbuilt engine.
peter1138
2010-05-10 17:27:34 +00:00
6d94dd10dd
(svn r19780) -Fix [FS#3807]: make sure that when checking whether a path + filename are valid the whole string can be constructed within an array of length MAX_PATH. If not, the name is too long and is deemed invalid
rubidium
2010-05-10 09:50:49 +00:00
fb84d465ed
(svn r19780) -Fix [FS#3807]: make sure that when checking whether a path + filename are valid the whole string can be constructed within an array of length MAX_PATH. If not, the name is too long and is deemed invalid
rubidium
2010-05-10 09:50:49 +00:00
08919d2747
(svn r19779) -Change: add a return type to AppendPathSeparator and use that to determine whether we could append the path separator. If not, do not recurse into that directory as the path would exceed the maximum path length
rubidium
2010-05-10 09:49:02 +00:00
c03844c22a
(svn r19779) -Change: add a return type to AppendPathSeparator and use that to determine whether we could append the path separator. If not, do not recurse into that directory as the path would exceed the maximum path length
rubidium
2010-05-10 09:49:02 +00:00
369dedca89
(svn r19778) -Change: use the value from PATH_MAX (POSIX) for MAX_PATH (Windows/OpenTTD) if it exists
rubidium
2010-05-10 09:43:49 +00:00
fe63c484cb
(svn r19778) -Change: use the value from PATH_MAX (POSIX) for MAX_PATH (Windows/OpenTTD) if it exists
rubidium
2010-05-10 09:43:49 +00:00
948beec597
(svn r19777) -Change: use the file scanner to find the .tars
rubidium
2010-05-10 09:37:17 +00:00
2099d3ffb8
(svn r19777) -Change: use the file scanner to find the .tars
rubidium
2010-05-10 09:37:17 +00:00
8a2fecbff5
(svn r19776) -Change: don't scan for tars in the script scanner; it has already happened.
rubidium
2010-05-10 09:35:25 +00:00
a1e9becc8f
(svn r19776) -Change: don't scan for tars in the script scanner; it has already happened.
rubidium
2010-05-10 09:35:25 +00:00
3f961ca671
(svn r19775) -Fix: improper use of 'then' in few comments (ln)
smatz
2010-05-09 18:13:36 +00:00
114c2af6f2
(svn r19775) -Fix: improper use of 'then' in few comments (ln)
smatz
2010-05-09 18:13:36 +00:00
2eaca9e108
(svn r19774) -Update from WebTranslator v3.0: czech - 33 changes by Hadez korean - 3 changes by junho2813 portuguese - 3 changes by JayCity russian - 24 changes by Lone_Wolf slovenian - 3 changes by ntadej vietnamese - 3 changes by nglekhoi
translators
2010-05-09 17:45:22 +00:00
1a5e9abafe
(svn r19774) -Update from WebTranslator v3.0: czech - 33 changes by Hadez korean - 3 changes by junho2813 portuguese - 3 changes by JayCity russian - 24 changes by Lone_Wolf slovenian - 3 changes by ntadej vietnamese - 3 changes by nglekhoi
translators
2010-05-09 17:45:22 +00:00