Peter Nelson
|
6c09dcdd66
|
Codechange: Use reference for non-optional StationList parameter. (#13092)
|
2024-11-19 20:33:32 +00:00 |
|
Peter Nelson
|
e1697a6ad1
|
Codechange: Don't use enums for non-enumerated values. (#13031)
In the past we have used enums to hold an arbitrary values. These values
are not enumerated types, so make them constants instead.
|
2024-10-27 18:02:49 +00:00 |
|
Peter Nelson
|
d08636c841
|
Codechange: Store station layout tiles as std::span.
Using std::span provides both the start and end of the list, which allows validating that the requested layout is in range.
|
2024-08-03 14:57:34 +01:00 |
|
Jonathan G Rennison
|
9c84e5df3f
|
Add: Road waypoint functionality
|
2024-06-24 22:12:08 +02:00 |
|
Patric Stout
|
a3cfd23cf9
|
Codechange: rename byte to uint8_t (#12308)
|
2024-03-16 23:59:32 +01:00 |
|
Rubidium
|
eaae0bb5e7
|
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
|
2023-07-19 19:30:14 +02:00 |
|
Peter Nelson
|
56085be9bd
|
Codechange: Move includes for common STL headers to stdafx.
|
2023-05-17 10:14:41 +01:00 |
|
Michael Lutz
|
6fe445e6c0
|
Codechange: Un-bitstuff station/depot/waypoint commands.
|
2021-12-16 22:28:32 +01:00 |
|
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
|
Charles Pigott
|
119ea7a195
|
Codechange: Remove StationHadVehicleOfTypeByte type
|
2019-04-29 17:40:22 +01:00 |
|
Charles Pigott
|
fb6ae81415
|
Codechange: Remove StationFacilityByte type
|
2019-04-29 17:40:22 +01:00 |
|
peter1138
|
ed6084523d
|
Codechange: Convert StationList from SmallVector to std::set.
|
2019-03-09 16:33:47 +00:00 |
|
peter1138
|
5ab1a73a8a
|
Codechange: Remove never-used StationIDList.
|
2019-02-21 17:45:47 +01:00 |
|
fonsinchen
|
dffc4d411e
|
(svn r25890) -Codechange: define a smallstack for station IDs
|
2013-10-20 13:47:11 +00:00 |
|
fonsinchen
|
04e3eb6fab
|
(svn r25361) -Feature: distribute cargo according to plan given by linkgraph
|
2013-06-09 13:03:48 +00:00 |
|
rubidium
|
df16ebd730
|
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
|
2011-12-19 17:48:04 +00:00 |
|
terkhen
|
10caf391a1
|
(svn r22343) -Change: Remove pixel limiter for query strings.
|
2011-04-17 18:42:17 +00:00 |
|
rubidium
|
7eba2bf4d3
|
(svn r21890) -Cleanup: remove some unneeded includes
|
2011-01-22 14:52:20 +00:00 |
|
rubidium
|
6b86ee9888
|
(svn r21797) -Fix/Change: unify the size (in characters) of the string inputs with eachother and TTD to prevent crashes/asserts with e.g. signs that are too long
|
2011-01-14 22:08:40 +00:00 |
|
rubidium
|
44d1c55347
|
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
|
2010-12-05 22:25:36 +00:00 |
|
rubidium
|
398418b8fa
|
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
|
2010-05-13 09:44:44 +00:00 |
|
smatz
|
53aaabe6e9
|
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
|
2010-03-23 22:25:43 +00:00 |
|
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
|
rubidium
|
31b325baaf
|
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
|
2010-01-04 18:12:10 +00:00 |
|
rubidium
|
8b88bb0c9b
|
(svn r18714) -Codechange: move the TileArea struct to it's own header
|
2010-01-04 18:05:14 +00:00 |
|
rubidium
|
81062163a2
|
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
|
2009-12-02 16:20:44 +00:00 |
|
smatz
|
47660b984b
|
(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen)
|
2009-11-15 21:06:13 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
rubidium
|
e473e69ba4
|
(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants
|
2009-07-28 21:06:38 +00:00 |
|
rubidium
|
47a37b6093
|
(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.
|
2009-07-26 21:07:03 +00:00 |
|
rubidium
|
68ead6b84f
|
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
2009-07-22 08:59:57 +00:00 |
|
rubidium
|
3fcfb9b248
|
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
|
2009-07-18 18:39:17 +00:00 |
|
rubidium
|
861a2163f6
|
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
|
2009-07-18 10:01:31 +00:00 |
|
rubidium
|
84df3ba2b4
|
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
|
2009-07-17 19:44:13 +00:00 |
|
rubidium
|
b350c5faef
|
(svn r16758) -Document: some station related types/enums
|
2009-07-07 11:21:14 +00:00 |
|
rubidium
|
571dfb9055
|
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
|
2009-07-04 11:26:57 +00:00 |
|
rubidium
|
f16aa9f509
|
(svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations.
|
2009-04-10 22:47:19 +00:00 |
|
rubidium
|
d832626bb9
|
(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)
|
2008-10-19 15:39:12 +00:00 |
|
rubidium
|
97c184f8f8
|
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
|
2008-08-13 06:05:01 +00:00 |
|
rubidium
|
923e21129c
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
2008-05-29 15:13:28 +00:00 |
|
rubidium
|
4625695653
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
2008-05-25 19:17:03 +00:00 |
|
rubidium
|
6f15d34fe5
|
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
|
2008-03-31 06:42:26 +00:00 |
|
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
2008-03-31 00:06:17 +00:00 |
|
rubidium
|
58e6e75320
|
(svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h.
|
2008-03-28 16:33:28 +00:00 |
|