------------------------------------------------------------------------ r4810 | glx | 2006-05-09 17:24:08 +0000 (Tue, 09 May 2006) | 1 line - Fix: removed warning about strict-alias (release build) ------------------------------------------------------------------------ r4809 | belugas | 2006-05-09 17:10:26 +0000 (Tue, 09 May 2006) | 1 line Codechange : Merged two loops in only one. ------------------------------------------------------------------------ r4808 | peter1138 | 2006-05-09 15:43:40 +0000 (Tue, 09 May 2006) | 2 lines - Fix GetCharacterWidth() change in os2.c missed in r4802. ------------------------------------------------------------------------ r4807 | glx | 2006-05-09 15:36:48 +0000 (Tue, 09 May 2006) | 1 line - Fix: win32 compilation was broken by r4802 ------------------------------------------------------------------------ r4802 | peter1138 | 2006-05-09 13:23:04 +0000 (Tue, 09 May 2006) | 2 lines - Codechange: replace _stringwidth_base and associated magic numbers with a FontSize enum, using the numbers (which are SpriteIDs) in only the places needed. ------------------------------------------------------------------------ r4793 | peter1138 | 2006-05-09 11:42:51 +0000 (Tue, 09 May 2006) | 2 lines - Replace list of magic numbers (characters that don't exist) with a call to SpriteExists(), when building the character width cache. ------------------------------------------------------------------------ r4792 | peter1138 | 2006-05-09 11:39:23 +0000 (Tue, 09 May 2006) | 2 lines - Codechange: change a uint to a uint16 to avoid a signed/unsigned warning from some compilers. ------------------------------------------------------------------------ r4791 | peter1138 | 2006-05-09 10:35:13 +0000 (Tue, 09 May 2006) | 2 lines - Codechange: Mark road bits as unsigned. Fixes warning with older gcc versions. ------------------------------------------------------------------------ r4790 | tron | 2006-05-09 09:56:09 +0000 (Tue, 09 May 2006) | 1 line Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does ------------------------------------------------------------------------ r4789 | rubidium | 2006-05-09 08:25:31 +0000 (Tue, 09 May 2006) | 2 lines - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency ------------------------------------------------------------------------ r4788 | rubidium | 2006-05-09 08:17:33 +0000 (Tue, 09 May 2006) | 2 lines - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity ------------------------------------------------------------------------ r4787 | miham | 2006-05-09 06:56:09 +0000 (Tue, 09 May 2006) | 10 lines 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) ------------------------------------------------------------------------ r4786 | peter1138 | 2006-05-09 06:52:28 +0000 (Tue, 09 May 2006) | 2 lines - Newstations: in GetPlatformInfo() ensure negative values are only four bits ------------------------------------------------------------------------ r4785 | glx | 2006-05-08 21:59:36 +0000 (Mon, 08 May 2006) | 1 line - Newstations: don't draw catenary on non-track tiles ------------------------------------------------------------------------ r4784 | peter1138 | 2006-05-08 17:47:35 +0000 (Mon, 08 May 2006) | 2 lines - NewGRF: shuffle the mix of signed / unsigned types when dealing with var adjusts. Fixes issues with some station layouts. ------------------------------------------------------------------------ r4783 | peter1138 | 2006-05-08 17:13:48 +0000 (Mon, 08 May 2006) | 2 lines - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting. ------------------------------------------------------------------------ r4782 | peter1138 | 2006-05-08 13:35:25 +0000 (Mon, 08 May 2006) | 2 lines - Newstations: fix issue with saving/loading games with newstations on big endian architectures. ------------------------------------------------------------------------ r4781 | peter1138 | 2006-05-08 10:01:34 +0000 (Mon, 08 May 2006) | 2 lines - NewGRF: give _traininfo_vehicle_pitch a proper declaration ------------------------------------------------------------------------ r4780 | peter1138 | 2006-05-08 06:22:01 +0000 (Mon, 08 May 2006) | 2 lines - Newstations: when building using a dynamic layout, add the station axis to the returned tile type. Also supply correct parameters to var 10. ------------------------------------------------------------------------ r4777 | peter1138 | 2006-05-07 17:43:03 +0000 (Sun, 07 May 2006) | 2 lines - NewGRF: moving warning message about feature callbacks above station code and change minimum length for action 3 from 7 to 6 bytes. ------------------------------------------------------------------------ r4775 | peter1138 | 2006-05-07 16:34:16 +0000 (Sun, 07 May 2006) | 2 lines - Newstations: allow clicking on any part of the station class dropdown to bring up the list, instead of just the button (thanks tron) ------------------------------------------------------------------------ r4773 | peter1138 | 2006-05-07 13:10:48 +0000 (Sun, 07 May 2006) | 2 lines - Newstations: add proper tooltips to the station builder window ------------------------------------------------------------------------ r4772 | peter1138 | 2006-05-07 12:58:45 +0000 (Sun, 07 May 2006) | 2 lines - 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) ------------------------------------------------------------------------ r4771 | tron | 2006-05-07 11:55:28 +0000 (Sun, 07 May 2006) | 1 line -Regression: It was possible to remove a bridge while a vehicle was on it ------------------------------------------------------------------------ r4770 | peter1138 | 2006-05-07 11:49:48 +0000 (Sun, 07 May 2006) | 2 lines - Revert unindented change to rail_cmd.c in r4769. ------------------------------------------------------------------------ r4769 | peter1138 | 2006-05-07 11:41:44 +0000 (Sun, 07 May 2006) | 2 lines - Newstations: add newstations ttdpatch flag ------------------------------------------------------------------------ r4768 | peter1138 | 2006-05-07 11:40:53 +0000 (Sun, 07 May 2006) | 2 lines - Newstations: Add newstation selector GUI. The additions are only active if a newstation set is loaded, otherwise it will look the same. ------------------------------------------------------------------------ r4767 | peter1138 | 2006-05-07 10:58:53 +0000 (Sun, 07 May 2006) | 2 lines - Newstations: fix loading / use of custom ground sprites ------------------------------------------------------------------------ r4766 | tron | 2006-05-07 08:18:12 +0000 (Sun, 07 May 2006) | 1 line -Fix: Vehicles on a sloped tile under a bridge were affected by the bridge speed limit ------------------------------------------------------------------------ r4765 | tron | 2006-05-07 07:55:05 +0000 (Sun, 07 May 2006) | 1 line Add GetTileMaxZ(), which returns the height of the highest corner of a tile, and use it to simplify the code in a few places ------------------------------------------------------------------------ r4764 | tron | 2006-05-07 07:01:48 +0000 (Sun, 07 May 2006) | 1 line Move some functions from rail.h to rail_map.h ------------------------------------------------------------------------ r4763 | peter1138 | 2006-05-06 22:55:21 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: revert r4762, instead map bit the palette modifier from bit 14 to bit 31 on GRF load. ------------------------------------------------------------------------ r4762 | peter1138 | 2006-05-06 22:32:54 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: make child sprites transparent. ------------------------------------------------------------------------ r4761 | peter1138 | 2006-05-06 22:30:36 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: support platform information in variable 10 (callback parameter 1) when building a station ------------------------------------------------------------------------ r4760 | peter1138 | 2006-05-06 22:20:16 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: change the way custom stations are allocated when loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere) ------------------------------------------------------------------------ r4759 | peter1138 | 2006-05-06 22:10:38 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: increase the number of station classes from 16 to 32. 16 was an arbitrary limit, 32 is the limit for dropdown lists... ------------------------------------------------------------------------ r4758 | peter1138 | 2006-05-06 22:08:14 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: add support for 'blocked' station tiles, which no train can pass. ------------------------------------------------------------------------ r4757 | peter1138 | 2006-05-06 21:46:26 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: add saveload support for custom station speclists ------------------------------------------------------------------------ r4755 | peter1138 | 2006-05-06 20:48:40 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints. ------------------------------------------------------------------------ r4754 | peter1138 | 2006-05-06 20:33:22 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: expose default station display data via a function so we can use it (rarely) in other places. ------------------------------------------------------------------------ r4753 | peter1138 | 2006-05-06 20:29:31 +0000 (Sat, 06 May 2006) | 2 lines - Truncate text in dropdown lists to stop text overflowing. ------------------------------------------------------------------------ r4752 | peter1138 | 2006-05-06 20:27:32 +0000 (Sat, 06 May 2006) | 2 lines - NewGRF: brokenness slipped through... ------------------------------------------------------------------------ r4751 | peter1138 | 2006-05-06 20:20:02 +0000 (Sat, 06 May 2006) | 2 lines - 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. ------------------------------------------------------------------------ r4750 | tron | 2006-05-06 14:32:16 +0000 (Sat, 06 May 2006) | 1 line -Fix: Trains could enter certain sloped rail tiles under bridges with incompatible rail type ------------------------------------------------------------------------ r4749 | peter1138 | 2006-05-06 09:43:38 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: add snowline support to variable 42. ------------------------------------------------------------------------ r4748 | peter1138 | 2006-05-06 09:40:12 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: use custom sprite layout callback for waypoints as well as stations. Supports merging of adjacent waypoints if the GRF supports it (newstatsw.grf) ------------------------------------------------------------------------ r4747 | peter1138 | 2006-05-06 09:31:06 +0000 (Sat, 06 May 2006) | 2 lines - Newstations: implement support for variables 40, 41, 46, 47 and 49. ------------------------------------------------------------------------ r4746 | KUDr | 2006-05-05 19:30:09 +0000 (Fri, 05 May 2006) | 1 line - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c ------------------------------------------------------------------------ r4742 | peter1138 | 2006-05-04 20:00:50 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: Add callbacks for building and drawing custom stations. ------------------------------------------------------------------------ r4741 | peter1138 | 2006-05-04 19:42:50 +0000 (Thu, 04 May 2006) | 2 lines - NewGRF: use the correct variable type for the random bit mask ------------------------------------------------------------------------ r4740 | peter1138 | 2006-05-04 19:27:41 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: add function to evaluate station callbacks ------------------------------------------------------------------------ r4739 | peter1138 | 2006-05-04 19:21:16 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally ------------------------------------------------------------------------ r4738 | peter1138 | 2006-05-04 19:15:02 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: attach all sprite group cargo types, not just the default and purchase pseudo types, to a station spec. ------------------------------------------------------------------------ r4737 | peter1138 | 2006-05-04 18:10:17 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: 'real' groups picked the wrong set of loading or loaded sprites ------------------------------------------------------------------------ r4736 | peter1138 | 2006-05-04 18:07:18 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: use the correct value for PBS status (No PBS) ------------------------------------------------------------------------ r4735 | miham | 2006-05-04 14:21:57 +0000 (Thu, 04 May 2006) | 11 lines WebTranslator2 update to 2006-05-04 16:19:23 czech - 1 changed by Hadez (1) dutch - 3 fixed by webfreakz (3) german - 1 fixed, 3 changed by Neonox (3), moewe2 (1) hungarian - 2 changed by miham (2) polish - 9 changed by meush (9) portuguese - 3 fixed, 3 changed by izhirahider (6) romanian - 58 fixed by kneekoo (58) slovenian - 95 fixed by christooss (95) turkish - 1 fixed by jnmbk (1) ------------------------------------------------------------------------ r4734 | peter1138 | 2006-05-04 07:26:30 +0000 (Thu, 04 May 2006) | 2 lines - Newstations: add more variables and fix a division by zero. ------------------------------------------------------------------------ r4733 | peter1138 | 2006-05-04 03:38:09 +0000 (Thu, 04 May 2006) | 2 lines - NewGRF: remove remnants of old resolver code. ------------------------------------------------------------------------ r4732 | glx | 2006-05-03 22:12:09 +0000 (Wed, 03 May 2006) | 1 line - Fix: use correct types in IsValid[Direction|Axis] ------------------------------------------------------------------------ r4729 | peter1138 | 2006-05-03 21:35:33 +0000 (Wed, 03 May 2006) | 2 lines - Newstations: replace old station resolver with new resolver code (as has happened for vehicles) ------------------------------------------------------------------------ r4724 | peter1138 | 2006-05-03 21:25:49 +0000 (Wed, 03 May 2006) | 2 lines - Newstations: Add per-tile random data for station tiles. ------------------------------------------------------------------------ r4723 | peter1138 | 2006-05-03 21:19:21 +0000 (Wed, 03 May 2006) | 2 lines - Newstations: add TileIndex parameter to station resolver. ------------------------------------------------------------------------ r4722 | peter1138 | 2006-05-03 21:07:44 +0000 (Wed, 03 May 2006) | 2 lines - Newstations: release station sprite layout data when uninitializing NewGRF data. ------------------------------------------------------------------------ r4721 | peter1138 | 2006-05-03 20:51:42 +0000 (Wed, 03 May 2006) | 2 lines - NewGRF: use loading sprites rather than loaded when there is no vehicle (fixes issue with purchase list) ------------------------------------------------------------------------ r4720 | peter1138 | 2006-05-03 20:42:45 +0000 (Wed, 03 May 2006) | 2 lines - Newstations: instead of literally copying sprite layout data, just copy the pointer to the existing data. ------------------------------------------------------------------------ r4719 | peter1138 | 2006-05-03 20:35:41 +0000 (Wed, 03 May 2006) | 2 lines - Newstations: instead of drawing nothing, fall back to the default sprite layout if a station layout specifies so. ------------------------------------------------------------------------ r4716 | peter1138 | 2006-05-03 19:31:00 +0000 (Wed, 03 May 2006) | 2 lines - NewGRF: fix problem with loading custom station class id; use BSWAP32() only on variables, not functions. ------------------------------------------------------------------------ r4715 | KUDr | 2006-05-03 16:18:45 +0000 (Wed, 03 May 2006) | 1 line - Fix: (FS#109) — Wrongfully bad signal - Don't allow OPF to enter train depot from the back ------------------------------------------------------------------------ r4714 | peter1138 | 2006-05-03 15:46:21 +0000 (Wed, 03 May 2006) | 2 lines - NewGRF: simplify evaluation of 'real' sprite groups. ------------------------------------------------------------------------ r4713 | KUDr | 2006-05-03 15:21:49 +0000 (Wed, 03 May 2006) | 1 line - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build. ------------------------------------------------------------------------ r4709 | peter1138 | 2006-05-03 14:22:59 +0000 (Wed, 03 May 2006) | 2 lines - Codechange: avoid messing around with globals, magic numbers and literal strings by using a string ID, when drawing the small right arrow for the small order lists (aircraft and ships) ------------------------------------------------------------------------ r4708 | peter1138 | 2006-05-03 12:17:02 +0000 (Wed, 03 May 2006) | 2 lines - NewGRF: fix selection of number of loaded and loading states. ------------------------------------------------------------------------ r4707 | peter1138 | 2006-05-03 11:19:17 +0000 (Wed, 03 May 2006) | 2 lines - NewGRF: minor code duffage; return early and less indentation. ------------------------------------------------------------------------ r4706 | peter1138 | 2006-05-03 06:24:14 +0000 (Wed, 03 May 2006) | 2 lines - NewGRF: add the correct default error message for the wagon attach callback. ------------------------------------------------------------------------ r4704 | peter1138 | 2006-05-02 21:58:02 +0000 (Tue, 02 May 2006) | 2 lines - NewGRF: in Action 0x03, set the engine type's GRF ID on the 'default' cargo type, not for each specific cargo. Fixes '(undefined string)' issues, as some engines weren't set properly. ------------------------------------------------------------------------ r4703 | peter1138 | 2006-05-02 21:43:47 +0000 (Tue, 02 May 2006) | 2 lines - NewGRF: add support for callback 0x1D, "can wagon be attached". This can be used to disallow freight wagons to be placed in passenger trains, along with other uses. ------------------------------------------------------------------------ r4702 | peter1138 | 2006-05-02 21:42:11 +0000 (Tue, 02 May 2006) | 2 lines - NewGRF: add support for 'special' vehicle callbacks that use a different vehicle for parent scope than the first vehicle in the consist. ------------------------------------------------------------------------ r4698 | peter1138 | 2006-05-02 20:48:27 +0000 (Tue, 02 May 2006) | 2 lines - When selecting files to commit, select the correct ones... missed header file update in r4697 ------------------------------------------------------------------------ r4697 | peter1138 | 2006-05-02 20:44:06 +0000 (Tue, 02 May 2006) | 2 lines - NewGRF: callback IDs can now be 16 bit values. ------------------------------------------------------------------------ r4696 | peter1138 | 2006-05-02 20:17:17 +0000 (Tue, 02 May 2006) | 2 lines - NewGRF: add support for vehicle variable 0x60, count vehicle type occurance. ------------------------------------------------------------------------ r4693 | peter1138 | 2006-05-02 19:24:02 +0000 (Tue, 02 May 2006) | 2 lines - NewGRF: invalidate aircraft in viewports during loading stages so that graphic changes are visible. (mart3p) ------------------------------------------------------------------------ r4692 | peter1138 | 2006-05-02 19:09:49 +0000 (Tue, 02 May 2006) | 2 lines - Use DEBUG() instead of direct fprintf in extmidi music driver, and silence 'set volume not implemented' warning at the default debug level. ------------------------------------------------------------------------ r4691 | peter1138 | 2006-05-02 18:56:07 +0000 (Tue, 02 May 2006) | 2 lines - Codechange: don't use unnamed unions as GCC 2.95.ancient won't compile it. Needed for our MorphOS user ;) ------------------------------------------------------------------------