Darkvater
073e0eb3c9
(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
...
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
18 years ago
peter1138
86d4052b1e
(svn r7282) -Fix (r625): ttdpatch vars are little endian
18 years ago
peter1138
2ba8bf37b9
(svn r6741) - Codechange: Simplify and unify resolving of station groups, and use the first available cargo type instead of only the default.
18 years ago
rubidium
2d30e02ba2
(svn r6013) -Fix: some newgrf properties returned the date in the new format where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
18 years ago
rubidium
243872b4fd
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
18 years ago
tron
179cd84cc3
(svn r5690) Factor common code to reduce code duplication
18 years ago
tron
92c2793b39
(svn r5689) Default a station tile to be electrifiable if there is no other information available. I suppose this was a copy&paste error
18 years ago
tron
801bf631b0
(svn r5632) Replace a boolean variable in DeallocateSpecFromStation() by a return
...
Also set the return type to void, because the caller doesn't care about it
18 years ago
tron
2bb9fd3901
(svn r5624) Use {IsPlainRailTile,IsRailDepot,IsRailWaypoint,HasSignals}() instead of GetRailTile{T,Subt}ype() - this is more concise and a bit more flexible if/when the rail tile encoding changes
18 years ago
peter1138
ae8f4f8d9a
(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1.
19 years ago
glx
56862a8997
(svn r4856) - Newstations: catenary was not drawn on some station tiles
19 years ago
rubidium
9b1bbf72ee
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
19 years ago
peter1138
6e3b7f40be
(svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits
19 years ago
glx
cd3c141336
(svn r4785) - Newstations: don't draw catenary on non-track tiles
19 years ago
peter1138
288ffe7f50
(svn r4783) - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting.
19 years ago
peter1138
7d41c0d7cf
(svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures.
19 years ago
peter1138
5c3887cdb4
(svn r4772) - Newstations: when allocating a custom station (via action 0x03) check if the station has already been allocated. (Fixes duplicate waypoints in newstatsw in non-temperate climate)
19 years ago
peter1138
31a54a6835
(svn r4767) - Newstations: fix loading / use of custom ground sprites
19 years ago
peter1138
6e2b98b060
(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
19 years ago
peter1138
10992deeb3
(svn r4757) - Newstations: add saveload support for custom station speclists
19 years ago
peter1138
a7a194c4df
(svn r4755) - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints.
19 years ago
peter1138
e63634d332
(svn r4749) - Newstations: add snowline support to variable 42.
19 years ago
peter1138
0197d7d683
(svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49.
19 years ago
KUDr
1512d86e35
(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c
19 years ago
peter1138
34668ff09d
(svn r4740) - Newstations: add function to evaluate station callbacks
19 years ago
peter1138
4963eb80b7
(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
19 years ago
peter1138
a55ac6efac
(svn r4738) - Newstations: attach all sprite group cargo types, not just the default and purchase pseudo types, to a station spec.
19 years ago
peter1138
0a16393ffe
(svn r4737) - Newstations: 'real' groups picked the wrong set of loading or loaded sprites
19 years ago
peter1138
263281ef82
(svn r4736) - Newstations: use the correct value for PBS status (No PBS)
19 years ago
peter1138
d8ea65dc82
(svn r4734) - Newstations: add more variables and fix a division by zero.
19 years ago
peter1138
fe6801bb57
(svn r4729) - Newstations: replace old station resolver with new resolver code (as has happened for vehicles)
19 years ago
peter1138
be5744ae50
(svn r4723) - Newstations: add TileIndex parameter to station resolver.
19 years ago
peter1138
102ca98c1c
(svn r4707) - NewGRF: minor code duffage; return early and less indentation.
19 years ago
belugas
187013b6a3
(svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
...
This is following the same scheme as for IndustrySpec
19 years ago
peter1138
2f01c7d990
(svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however.
19 years ago
peter1138
70bd867d71
(svn r4551) - NewGRF: add string handling for newstations.
19 years ago
peter1138
fe6dadad7b
(svn r4484) - Newstations: Use StringIDs instead of char*s to reference our custom names.
19 years ago
peter1138
de84d6338d
(svn r4473) - Newstations:
...
- Alter parameters of CMD_BUILD_RAILROAD_STATION to accept a custom station class and id.
- Add a dynamically allocated list of custom stations that the SpecIndex (m4) references.
19 years ago
peter1138
71b530dfe2
(svn r4459) - Newstations: check pointer for NULL before using it.
19 years ago
peter1138
05d7d046c7
(svn r3530) - NewGRF: Move station resolver to newgrf_station
19 years ago
peter1138
ea4c5bbd2d
(svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update project files.
19 years ago