Commit Graph

4081 Commits

Author SHA1 Message Date
celestar
e693290ed1 (svn r4934) -Fix: Correct a misleading comment, and remove an unneeded condition from the corresponding if (thans Tron for pointing it out) 2006-05-20 21:04:43 +00:00
belugas
6f86766b21 (svn r4928) CodeChange : Rename functions referring to "Vehicle" for "Feature".
Mainly because newgrf deals with more than just vehicles.
2006-05-20 18:10:39 +00:00
tron
1dc8b1a00e (svn r4927) Replace 3 big ifs (which regard foundations) by a bit less confusing code 2006-05-20 18:03:22 +00:00
tron
2a3aca6139 (svn r4920) Remove parameters, which get only used in certain functions, by splitting those functions.
At least in the case of checking for oil industry restrictions this makes the check conditions more clear.
2006-05-20 16:46:37 +00:00
tron
edb5e87e0c (svn r4918) Move the information about the size of airports from an global array into the struct which describes an airport 2006-05-20 15:13:27 +00:00
peter1138
910aa90bd3 (svn r4917) - NewGRF: remove _custom_sprites_base, now used only to rejig vehicle images from ttd games, as we redetermine all vehicle images after game load anyway. 2006-05-20 08:12:59 +00:00
KUDr
dc1408097f (svn r4916) - Fix: SLE_BOOL replaced by SLE_UINT8 for byte _network_lan_internet 2006-05-19 20:32:45 +00:00
KUDr
530bc2bf91 (svn r4915) - Fix: SLE_UINT8 replaced by SLE_BOOL for bool variables (found by Celestar) 2006-05-19 19:36:17 +00:00
celestar
94ef21bd2d (svn r4914) -Fix (FS#180) Aircraft can now serve as feeders 2006-05-19 13:44:32 +00:00
celestar
486e207ea0 (svn r4911) -Fix (FS#156): The Ai no longer attempts to build signals under bridges.
NOTE 1: Remove/revert this for the bridge branch
			   NOTE 2: Bug displays fundamental flaw in command system:
			           If two commands, where command 2 depends on command 1, have
			           to be checked, all those checks need to be manual.
			           (like in this example, first build rail then build signal.
			            BuildSignal cannot be checked without DC_EXEC as the rail
			            isn't there yet)
2006-05-19 12:08:01 +00:00
peter1138
cd6ab6178c (svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual variations 2006-05-19 10:04:03 +00:00
glx
62dbc36741 (svn r4906) - Fix: Refresh build vehicle window (if opened) when converting rail depot 2006-05-18 16:51:42 +00:00
peter1138
136359ecbd (svn r4905) - NewGRF: fix typo that prevented non-english NewGRF text from working. 2006-05-18 15:34:36 +00:00
belugas
ca082f188a (svn r4903) CodeChange : forgot the Id tag. Sorry 2006-05-18 02:52:07 +00:00
belugas
a102163239 (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
Clearing engine and newgrf_engine from cargo related structures.
Apart from moving stuff cargo related, there is nothing really newcargo for now.
2006-05-18 02:43:23 +00:00
peter1138
282b76a0b3 (svn r4901) - Codechange: change 'SpriteGroup *' to 'struct SpriteGroup *' within StationSpec and GRFFile struct declarations. Now only code which actually references those pointers needs to know about the SpriteGroup struct. Remove some unnecessary lingering header dependencies. 2006-05-17 21:26:12 +00:00
miham
450c13c1da (svn r4898) WebTranslator2 update to 2006-05-17 18:53:49
german     - 11 changed by Neonox (11)
2006-05-17 16:53:56 +00:00
peter1138
d40bc5a264 (svn r4897) - NewGRF: don't allow addition of empty strings in action 4 2006-05-17 13:05:44 +00:00
peter1138
5a65e3301e (svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42. 2006-05-17 08:20:36 +00:00
peter1138
afd69f53f5 (svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed. 2006-05-17 07:16:49 +00:00
Darkvater
d02f2ec1e6 (svn r4892) - Fix [FS#162]: SEGV when sorting an empty server list. (glx) 2006-05-16 21:13:41 +00:00
Darkvater
3abc59ebfa (svn r4891) - Fix (r4822): The station list window had some overlapping widgets (peter1138) 2006-05-16 18:01:20 +00:00
miham
e7da15416e (svn r4890) WebTranslator2 update to 2006-05-16 19:24:43
afrikaans  - 254 fixed, 96 changed by TrueTenacity (350)
finnish    - 2 fixed, 6 changed by lauri.kajan (8)
german     - 1 deleted, 27 changed by Neonox (28)
italian    - 12 fixed by sidew (12)
polish     - 10 fixed by meush (10)
2006-05-16 17:24:58 +00:00
glx
6c572f1947 (svn r4889) - Codechange: added vehicle count in 'players' console command 2006-05-16 16:30:40 +00:00
belugas
09a143d985 (svn r4888) CodeChange : Newgrf : little cleanup and additions
-Add 4 new langIDs (Afrikaans, greek, ukrainian,croatian)
-Only allocate memory when the string will be inserted
-In order to avoid the UTF-8 marker, compare based on length of defined iso_code (thanks peter1138)
-Synch with lang files iso_code cleanup
2006-05-16 15:37:00 +00:00
miham
23c294dba4 (svn r4886) Corrected localecodes 2006-05-16 14:03:42 +00:00
celestar
cbf4e1e159 (svn r4882) -Fix: Forgot a change in previous commit 2006-05-16 12:31:15 +00:00
celestar
476ad49ac0 (svn r4881) -Codechange: Be a little more strict about types and remove some null-operations 2006-05-16 12:04:53 +00:00
glx
b6006511d3 (svn r4876) - Fix: company value is an int64, so display it correctly in 'players' console command 2006-05-15 23:08:04 +00:00
glx
adb1657ad7 (svn r4875) - Fix: %ll don't work with mingw (msvrct.dll problem) 2006-05-15 22:32:27 +00:00
miham
9648655a64 (svn r4874) WebTranslator2 update to 2006-05-15 23:12:59
croatian   - 1 fixed by knovak (1)
finnish    - 1 fixed, 69 changed by lauri.kajan (70)
french     - 15 fixed, 4 changed by glx (19)
norwegian  - 7 fixed by brygge_2 (7)
slovenian  - 18 fixed by Sonicelo (18)
swedish    - 16 fixed by ChrillDeVille (16)
ukrainian  - 70 fixed, 5 changed by znikoz (75)
2006-05-15 21:13:16 +00:00
miham
eb2e6d6089 (svn r4873) WebTranslator2 update to 2006-05-15 14:29:26
afrikaans  - 794 fixed by TrueTenacity (794)
finnish    - 12 fixed, 1 changed by lauri.kajan (13)
french     - 32 fixed by glx (32)
italian    - 3 fixed, 51 changed by sidew (54)
portuguese - 4 fixed by izhirahider (4)
slovenian  - 3 fixed, 3 changed by christooss (6)
ukrainian  - 88 fixed, 1 changed by znikoz (89)
2006-05-15 12:29:42 +00:00
peter1138
fa37809eb6 (svn r4872) - NewGRF: add support for vehicle variable 0x47 (mart3p) 2006-05-15 06:49:36 +00:00
glx
e48874936e (svn r4871) - Fixed off-by-one and added company color displaying in 'players' console command. 2006-05-14 23:01:11 +00:00
miham
ed9f81c5f1 (svn r4870) Translations: added greek language (utf-8) 2006-05-14 21:10:15 +00:00
peter1138
e29d60b21b (svn r4869) - NewGRF: support setting train list vehicle width to 32 instead of 29 pixels, for sets which use 32 pixel long engines/wagons. 2006-05-14 20:58:12 +00:00
peter1138
77a3900d5d (svn r4868) - Codechange: in the train detail window, don't call DrawTrainImage() for each row, as we already loop to find the vehicles to
draw. Fixes a potential issue of extraneous wagons being drawn, if they are very short.
2006-05-14 20:38:09 +00:00
peter1138
3f28a8cd42 (svn r4867) - NewGRF: implement partial support for engine variable 0x42 2006-05-14 15:11:12 +00:00
miham
1d0fcc7326 (svn r4866) WebTranslator2 update to 2006-05-14 16:56:38
danish     - 1 fixed by Bjarni (1)
german     - 3 changed by Neonox (3)
slovenian  - 192 fixed by Sonicelo (192)
turkish    - 10 fixed by jnmbk (10)
ukrainian  - 324 fixed, 2 deleted, 20 changed by znikoz (346)
2006-05-14 14:59:01 +00:00
miham
2313fb30aa (svn r4865) [Translations] Added new (empty) language: afrikaans language 2006-05-13 19:28:31 +00:00
miham
2aa4dad29a (svn r4864) [WebTranslator2] Updating languages to 2006-05-13 19:10:57
Fixed czech (removed doubled cased entries with leading dot in casenames)
2006-05-13 17:11:26 +00:00
miham
1d1562d0b8 (svn r4863) WebTranslator2 update to 2006-05-13 18:38:31
czech      - 10 fixed by Hadez (10)
dutch      - 10 fixed, 12 changed by habell (15), webfreakz (7)
estonian   - 63 fixed by t2t2 (63)
finnish    - 39 fixed by habazi (39)
german     - 17 changed by Neonox (13), chu (4)
2006-05-13 16:38:45 +00:00
miham
98918a8fcc (svn r4862) [WebTranslator2] Fixed up last commit, which was pure utf-8 accidentally (grr, hate typos). Sorry again! 2006-05-13 16:31:02 +00:00
miham
4e13bab8ad (svn r4861) WebTranslator2 update to 2006-05-13 18:17:17
czech      - 10 fixed by Hadez (10)
dutch      - 10 fixed, 5 changed by habell (15)
estonian   - 63 fixed by t2t2 (63)
finnish    - 39 fixed by habazi (39)
german     - 17 changed by Neonox (13), chu (4)
ukrainian  - 19 fixed by miham (19)
2006-05-13 16:17:28 +00:00
peter1138
7d92ea8d1e (svn r4860) - NewGRF: remove a missed extern for _traininfo_vehicle_pitch 2006-05-13 12:03:44 +00:00
peter1138
7048438227 (svn r4859) - Pathfinder: fix issue with train pathfinding over level crossings. 2006-05-13 11:24:15 +00:00
glx
56862a8997 (svn r4856) - Newstations: catenary was not drawn on some station tiles 2006-05-12 23:44:20 +00:00
peter1138
d926fa9f60 (svn r4855) - Fix r4854: Remove 4 character offset, as buff is already in correct place. 2006-05-12 21:48:32 +00:00
peter1138
b7c7ec107e (svn r4854) - Codechange: don't assume a short format month is 3 characters -- copy the string in the same way the other parts
are copied.
2006-05-12 19:30:49 +00:00
peter1138
14eec984df (svn r4853) - Languages: update broken ukrainian.txt 2006-05-12 17:26:49 +00:00