Commit Graph

4150 Commits

Author SHA1 Message Date
glx
19464e028a (svn r4807) - Fix: win32 compilation was broken by r4802 2006-05-09 15:36:48 +00:00
peter1138
99197b608a (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
e02b86c88b (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
c0eaa2ef41 (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
88dfc46885 (svn r4791) - Codechange: Mark road bits as unsigned. Fixes warning with older gcc versions. 2006-05-09 10:35:13 +00:00
tron
1be0d9926e (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
2a337ab009 (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
3dae1a9bba (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
3c76fd331a (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
dd69f010b3 (svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits 2006-05-09 06:52:28 +00:00
glx
8bb61ca472 (svn r4785) - Newstations: don't draw catenary on non-track tiles 2006-05-08 21:59:36 +00:00
peter1138
d2c015cf2f (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
9c1282d283 (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
e4aed98827 (svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures. 2006-05-08 13:35:25 +00:00
peter1138
05e2c6b886 (svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration 2006-05-08 10:01:34 +00:00
peter1138
bfaf9e1489 (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
2df2528244 (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
a5394567ae (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
6cac8ed674 (svn r4773) - Newstations: add proper tooltips to the station builder window 2006-05-07 13:10:48 +00:00
peter1138
d23e3a2fa2 (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
40a843e808 (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
f324715c55 (svn r4770) - Revert unindented change to rail_cmd.c in r4769. 2006-05-07 11:49:48 +00:00
peter1138
7e0ca9489d (svn r4769) - Newstations: add newstations ttdpatch flag 2006-05-07 11:41:44 +00:00
peter1138
99cb906265 (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
9d6ddd364e (svn r4767) - Newstations: fix loading / use of custom ground sprites 2006-05-07 10:58:53 +00:00
tron
00930cf8d9 (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
ebcf2ee3b1 (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
ec7e431cf6 (svn r4764) Move some functions from rail.h to rail_map.h 2006-05-07 07:01:48 +00:00
peter1138
36e27af00c (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
8573da9d96 (svn r4762) - Newstations: make child sprites transparent. 2006-05-06 22:32:54 +00:00
peter1138
77a4bc5aac (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
9fd5f28934 (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
7085598376 (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
c778716264 (svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass. 2006-05-06 22:08:14 +00:00
peter1138
6b8b8395e4 (svn r4757) - Newstations: add saveload support for custom station speclists 2006-05-06 21:46:26 +00:00
peter1138
db77493ac0 (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
09bb8ba10c (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
f1b2fcb203 (svn r4753) - Truncate text in dropdown lists to stop text overflowing. 2006-05-06 20:29:31 +00:00
peter1138
81cf6ec49e (svn r4752) - NewGRF: brokenness slipped through... 2006-05-06 20:27:32 +00:00
peter1138
13ba573c68 (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
cd9821fb39 (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
9b7ac6acb6 (svn r4749) - Newstations: add snowline support to variable 42. 2006-05-06 09:43:38 +00:00
peter1138
3cdd2a637b (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
bd839bd52e (svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49. 2006-05-06 09:31:06 +00:00
KUDr
607f88410e (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
peter1138
cf30c682a8 (svn r4742) - Newstations: Add callbacks for building and drawing custom stations. 2006-05-04 20:00:50 +00:00
peter1138
2280caaef3 (svn r4741) - NewGRF: use the correct variable type for the random bit mask 2006-05-04 19:42:50 +00:00
peter1138
c22e79d551 (svn r4740) - Newstations: add function to evaluate station callbacks 2006-05-04 19:27:41 +00:00
peter1138
e5d936d0fe (svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally 2006-05-04 19:21:16 +00:00
peter1138
7a91a966ea (svn r4738) - Newstations: attach all sprite group cargo types, not just the default and purchase pseudo types, to a station spec. 2006-05-04 19:15:02 +00:00