Commit Graph

3937 Commits

Author SHA1 Message Date
tron
f233b89efd (svn r4942) if (x != NULL) free(x); -> free(x); 2006-05-21 15:27:10 +00:00
tron
7ad49df54c (svn r4941) Replace some ints and magic numbers by proper types and enums 2006-05-21 15:19:20 +00:00
tron
e774caca2a (svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion 2006-05-21 13:51:36 +00:00
miham
c0021cf937 (svn r4939) WebTranslator2 update to 2006-05-21 15:17:53
czech      - 3 changed by Hadez (3)
estonian   - 15 fixed by t2t2 (15)
norwegian  - 4 fixed by brygge_2 (4)
ukrainian  - 1 changed by znikoz (1)
2006-05-21 13:18:06 +00:00
tron
9bd8bccaa0 (svn r4938) Remove STATION_HANGAR, because it isn't really a station type of its own 2006-05-21 12:01:57 +00:00
tron
2b17d16ce2 (svn r4937) Reduce the use of _error_message a bit 2006-05-21 11:34:08 +00:00
celestar
14d347b426 (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
998034297c (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
b95c1faca9 (svn r4927) Replace 3 big ifs (which regard foundations) by a bit less confusing code 2006-05-20 18:03:22 +00:00
tron
d508e76ada (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
b5f433bf4c (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
d955b49e1b (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
a5f6677b20 (svn r4916) - Fix: SLE_BOOL replaced by SLE_UINT8 for byte _network_lan_internet 2006-05-19 20:32:45 +00:00
KUDr
e02bf1db6a (svn r4915) - Fix: SLE_UINT8 replaced by SLE_BOOL for bool variables (found by Celestar) 2006-05-19 19:36:17 +00:00
celestar
09ba9710fc (svn r4914) -Fix (FS#180) Aircraft can now serve as feeders 2006-05-19 13:44:32 +00:00
celestar
586336dfa7 (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
70306b544f (svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual variations 2006-05-19 10:04:03 +00:00
glx
d2c8412e50 (svn r4906) - Fix: Refresh build vehicle window (if opened) when converting rail depot 2006-05-18 16:51:42 +00:00
peter1138
fa39815308 (svn r4905) - NewGRF: fix typo that prevented non-english NewGRF text from working. 2006-05-18 15:34:36 +00:00
belugas
c323138492 (svn r4903) CodeChange : forgot the Id tag. Sorry 2006-05-18 02:52:07 +00:00
belugas
69f47611db (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
0194a3da1e (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
220342c27c (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
bb1a95d149 (svn r4897) - NewGRF: don't allow addition of empty strings in action 4 2006-05-17 13:05:44 +00:00
peter1138
7fb02749ac (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
fc3d714621 (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
2128dbec13 (svn r4892) - Fix [FS#162]: SEGV when sorting an empty server list. (glx) 2006-05-16 21:13:41 +00:00
Darkvater
8fbed228a3 (svn r4891) - Fix (r4822): The station list window had some overlapping widgets (peter1138) 2006-05-16 18:01:20 +00:00
miham
b6773dc0f3 (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
2233ec0836 (svn r4889) - Codechange: added vehicle count in 'players' console command 2006-05-16 16:30:40 +00:00
belugas
2fd4e554b8 (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
57ad8aad2a (svn r4886) Corrected localecodes 2006-05-16 14:03:42 +00:00
celestar
0310643a7e (svn r4882) -Fix: Forgot a change in previous commit 2006-05-16 12:31:15 +00:00
celestar
967d4011f7 (svn r4881) -Codechange: Be a little more strict about types and remove some null-operations 2006-05-16 12:04:53 +00:00
glx
6b4d44bc53 (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
9434d3988d (svn r4875) - Fix: %ll don't work with mingw (msvrct.dll problem) 2006-05-15 22:32:27 +00:00
miham
5b9daf160c (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
063b18a626 (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
3aec5f7642 (svn r4872) - NewGRF: add support for vehicle variable 0x47 (mart3p) 2006-05-15 06:49:36 +00:00
glx
c118d61e40 (svn r4871) - Fixed off-by-one and added company color displaying in 'players' console command. 2006-05-14 23:01:11 +00:00
miham
6916ff4dcf (svn r4870) Translations: added greek language (utf-8) 2006-05-14 21:10:15 +00:00
peter1138
feed914b97 (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
90af6ee14f (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
b621b300a8 (svn r4867) - NewGRF: implement partial support for engine variable 0x42 2006-05-14 15:11:12 +00:00
miham
d8f3c16d14 (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
07290318db (svn r4865) [Translations] Added new (empty) language: afrikaans language 2006-05-13 19:28:31 +00:00
miham
fc3c62bb92 (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
aeb4138f6e (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
3a953fdad7 (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
a5f80809c2 (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