Commit Graph

3805 Commits

Author SHA1 Message Date
celestar
3c6c3895cf (svn r4812) -Fix (FS#161) NTP properly checks for railtypes on non-plain-rail-tiles (Rubidium) 2006-05-10 09:38:29 +00:00
peter1138
d2fc3431a1 (svn r4811) - NewGRF: only check a sprite set's feature when assigning a sprite result sprite group. 2006-05-10 06:23:43 +00:00
glx
11f4f6276f (svn r4810) - Fix: removed warning about strict-alias (release build) 2006-05-09 17:24:08 +00:00
belugas
29337381a0 (svn r4809) Codechange : Merged two loops in only one. 2006-05-09 17:10:26 +00:00
peter1138
6aa73acb30 (svn r4808) - Fix GetCharacterWidth() change in os2.c missed in r4802. 2006-05-09 15:43:40 +00:00
glx
afee99ad06 (svn r4807) - Fix: win32 compilation was broken by r4802 2006-05-09 15:36:48 +00:00
peter1138
fd778ecafa (svn r4802) - Codechange: replace _stringwidth_base and associated magic numbers with a FontSize enum, using the numbers (which are SpriteIDs) in only the places needed. 2006-05-09 13:23:04 +00:00
peter1138
52bab5e9bd (svn r4793) - Replace list of magic numbers (characters that don't exist) with a call to SpriteExists(), when building the character width cache. 2006-05-09 11:42:51 +00:00
peter1138
0d6c71fc38 (svn r4792) - Codechange: change a uint to a uint16 to avoid a signed/unsigned warning from some compilers. 2006-05-09 11:39:23 +00:00
peter1138
de12d4a207 (svn r4791) - Codechange: Mark road bits as unsigned. Fixes warning with older gcc versions. 2006-05-09 10:35:13 +00:00
tron
c9defc0fea (svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does 2006-05-09 09:56:09 +00:00
rubidium
e5bd292dab (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency 2006-05-09 08:25:31 +00:00
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 2006-05-09 08:17:33 +00:00
miham
a0e387597a (svn r4787) WebTranslator2 update to 2006-05-09 08:55:14
czech      - 6 fixed by Hadez (6)
german     - 3 fixed by Neonox (3)
hungarian  - 3 fixed by miham (3)
lithuanian - 3 fixed, 4 changed by Plyta (7)
polish     - 3 fixed, 3 changed by meush (6)
portuguese - 3 fixed by izhirahider (3)
slovenian  - 34 fixed by Sonicelo (34)
turkish    - 2 fixed by jnmbk (2)
2006-05-09 06:56:09 +00:00
peter1138
6e3b7f40be (svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits 2006-05-09 06:52:28 +00:00
glx
cd3c141336 (svn r4785) - Newstations: don't draw catenary on non-track tiles 2006-05-08 21:59:36 +00:00
peter1138
8fa9ff068f (svn r4784) - NewGRF: shuffle the mix of signed / unsigned types when dealing with var adjusts. Fixes issues with some station layouts. 2006-05-08 17:47:35 +00:00
peter1138
288ffe7f50 (svn r4783) - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting. 2006-05-08 17:13:48 +00:00
peter1138
7d41c0d7cf (svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures. 2006-05-08 13:35:25 +00:00
peter1138
e33db100b9 (svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration 2006-05-08 10:01:34 +00:00
peter1138
5f2257e13c (svn r4780) - Newstations: when building using a dynamic layout, add the station axis to the returned tile type. Also supply correct parameters to var 10. 2006-05-08 06:22:01 +00:00
peter1138
a56ef34f8d (svn r4777) - NewGRF: moving warning message about feature callbacks above station code and change minimum length for action 3 from 7 to 6 bytes. 2006-05-07 17:43:03 +00:00
peter1138
e12003b1a5 (svn r4775) - Newstations: allow clicking on any part of the station class dropdown to bring up the list, instead of just the button (thanks tron) 2006-05-07 16:34:16 +00:00
peter1138
add861333d (svn r4773) - Newstations: add proper tooltips to the station builder window 2006-05-07 13:10:48 +00:00
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) 2006-05-07 12:58:45 +00:00
tron
8bd664f81f (svn r4771) -Regression: It was possible to remove a bridge while a vehicle was on it 2006-05-07 11:55:28 +00:00
peter1138
9208cd3f42 (svn r4770) - Revert unindented change to rail_cmd.c in r4769. 2006-05-07 11:49:48 +00:00
peter1138
d3fea69041 (svn r4769) - Newstations: add newstations ttdpatch flag 2006-05-07 11:41:44 +00:00
peter1138
0f6dc99fb5 (svn r4768) - Newstations: Add newstation selector GUI. The additions are only active if a newstation set is loaded, otherwise it will look the same. 2006-05-07 11:40:53 +00:00
peter1138
31a54a6835 (svn r4767) - Newstations: fix loading / use of custom ground sprites 2006-05-07 10:58:53 +00:00
tron
24854be59e (svn r4766) -Fix: Vehicles on a sloped tile under a bridge were affected by the bridge speed limit 2006-05-07 08:18:12 +00:00
tron
5622ad4b5e (svn r4765) Add GetTileMaxZ(), which returns the height of the highest corner of a tile, and use it to simplify the code in a few places 2006-05-07 07:55:05 +00:00
tron
4f092c8de8 (svn r4764) Move some functions from rail.h to rail_map.h 2006-05-07 07:01:48 +00:00
peter1138
ec1edb127a (svn r4763) - Newstations: revert r4762, instead map bit the palette modifier from bit 14 to bit 31 on GRF load. 2006-05-06 22:55:21 +00:00
peter1138
b0f40692d8 (svn r4762) - Newstations: make child sprites transparent. 2006-05-06 22:32:54 +00:00
peter1138
15640ca7da (svn r4761) - Newstations: support platform information in variable 10 (callback parameter 1) when building a station 2006-05-06 22:30:36 +00:00
peter1138
0a532f8491 (svn r4760) - Newstations: change the way custom stations are allocated when loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere) 2006-05-06 22:20:16 +00:00
peter1138
0597c35fc1 (svn r4759) - Newstations: increase the number of station classes from 16 to 32. 16 was an arbitrary limit, 32 is the limit for dropdown lists... 2006-05-06 22:10:38 +00:00
peter1138
6e2b98b060 (svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass. 2006-05-06 22:08:14 +00:00
peter1138
10992deeb3 (svn r4757) - Newstations: add saveload support for custom station speclists 2006-05-06 21:46:26 +00:00
peter1138
a7a194c4df (svn r4755) - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints. 2006-05-06 20:48:40 +00:00
peter1138
f689b20874 (svn r4754) - Newstations: expose default station display data via a function so we can use it (rarely) in other places. 2006-05-06 20:33:22 +00:00
peter1138
5c94fd7afa (svn r4753) - Truncate text in dropdown lists to stop text overflowing. 2006-05-06 20:29:31 +00:00
peter1138
82037a5abe (svn r4752) - NewGRF: brokenness slipped through... 2006-05-06 20:27:32 +00:00
peter1138
416f8ec5fb (svn r4751) - NewGRF: when assigning new texts, ignore the feature byte as some sets use generic feature always. Also, don't add vehicle id shifts if the vehicle id is out of range. 2006-05-06 20:20:02 +00:00
tron
79935130eb (svn r4750) -Fix: Trains could enter certain sloped rail tiles under bridges with incompatible rail type 2006-05-06 14:32:16 +00:00
peter1138
e63634d332 (svn r4749) - Newstations: add snowline support to variable 42. 2006-05-06 09:43:38 +00:00
peter1138
b7e0ca4453 (svn r4748) - Newstations: use custom sprite layout callback for waypoints as well as stations. Supports merging of adjacent waypoints if the GRF supports it (newstatsw.grf) 2006-05-06 09:40:12 +00:00
peter1138
0197d7d683 (svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49. 2006-05-06 09:31:06 +00:00
KUDr
1512d86e35 (svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c 2006-05-05 19:30:09 +00:00