Commit Graph

4044 Commits

Author SHA1 Message Date
peter1138
ae8f4f8d9a (svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1. 2006-05-23 19:36:50 +00:00
miham
f6c5b3e78a (svn r4956) WebTranslator2 update to 2006-05-23 19:45:23
catalan    - 29 fixed, 9 changed by jecaro (38)
czech      - 1 fixed by Hadez (1)
german     - 1 fixed by Neonox (1)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by sidew (1)
norwegian  - 2 fixed by brygge_2 (2)
portuguese - 1 fixed by izhirahider (1)
romanian   - 16 fixed by kneekoo (16)
2006-05-23 17:45:46 +00:00
Darkvater
bbfb399c29 (svn r4947) - Fix [FS#145]: Starting scenarios did not adhere to local difficulty settings 2006-05-22 16:44:16 +00:00
celestar
979b640f19 (svn r4946) "Feature": Add a cheat that allows running electric engines on normal rail 2006-05-22 14:41:20 +00:00
rubidium
ba6ea3d359 (svn r4945) Fix (r3726): make -t command line option (set starting date/year) work again 2006-05-22 10:08:23 +00:00
rubidium
928fbe34f2 (svn r4944) Codechange: make _patches_newgame available via settings.h and remove instances of extern Patches _patches_newgame in .c files 2006-05-22 09:59:09 +00:00
tron
58458812a4 (svn r4943) uint tile -> TileIndex tile, byte player -> PlayerID player 2006-05-21 16:18:58 +00:00
tron
965ac2c1e6 (svn r4942) if (x != NULL) free(x); -> free(x); 2006-05-21 15:27:10 +00:00
tron
5783d57ec0 (svn r4941) Replace some ints and magic numbers by proper types and enums 2006-05-21 15:19:20 +00:00
tron
3282efda88 (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
de18908057 (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
65c06663ba (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
1706164ff7 (svn r4937) Reduce the use of _error_message a bit 2006-05-21 11:34:08 +00:00
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