Commit Graph

5546 Commits

Author SHA1 Message Date
Darkvater 9011371e83 (svn r7516) -Codechange: Number the newgrf-gui widgets and use their symbolic names for access with some const goodness. 2006-12-20 19:16:44 +00:00
Darkvater 083ceabe16 (svn r7515) -Codechange [newgrf]: Ignore ascii code 0x0A in text. Newline is 0x0D. 2006-12-20 17:03:14 +00:00
glx 8bf9f5f7fd (svn r7511) -Fix(r7505): Fix network game list selection by enlarging by two pixel and adding a new row to it 2006-12-19 14:24:45 +00:00
miham a512188386 (svn r7509) WebTranslator2 update to 2006-12-19 07:13:46
bulgarian  - 5 fixed by kokobongo (5)
catalan    - 1 fixed, 4 changed by arnaullv (5)
esperanto  - 24 fixed by LaPingvino (24)
estonian   - 5 fixed by vermon (5)
french     - 1 fixed by glx (1)
portuguese - 1 fixed by izhirahider (1)
russian    - 1 fixed by Smoky555 (1)
ukrainian  - 16 fixed by znikoz (16)
2006-12-19 06:14:29 +00:00
rubidium 8e87d4f9ea (svn r7507) -Fix (7505): the name of a GRF could be "", which causes a segmentation fault. So take the filename, which cannot be "", when the of the GRF name is "". Also check for "" length when receiving GRF names. 2006-12-18 17:29:59 +00:00
glx 64bf2432bb (svn r7506) -Codechange: [NewGRF] Add action 7/9/D variable 0x81 (current year) 2006-12-18 15:34:12 +00:00
rubidium 32db875d97 (svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have.
-Feature: show NewGRF compatability of network games in the Game List window; a green square if you got the same OpenTTD version and have the needed NewGRF, a red square if the version does not match and a yellow square if the version matches, but the client is missing at least one of the NewGRFs.
2006-12-18 12:26:55 +00:00
peter1138 f010066c1b (svn r7503) -Codechange: [NewGRF] Add bounds checking for spriteset cargo types. (NewCargo support will change this rule a bit...) 2006-12-18 10:46:06 +00:00
miham 37c45e44af (svn r7501) WebTranslator2 update to 2006-12-15 19:51:16
esperanto  - 18 fixed by LaPingvino (18)
2006-12-15 18:51:47 +00:00
Darkvater d85e9fe405 (svn r7500) -Fix (r7460): GetEnvironmentVariable and strncat take the number of characters and
not the number of bytes as an argument. Thanks Tron.
2006-12-15 15:21:13 +00:00
miham 631becf31d (svn r7499) WebTranslator2 update to 2006-12-15 10:49:50
esperanto  - 35 fixed, 2 changed by LaPingvino (37)
slovak     - 1 fixed by lengyel (1)
turkish    - 5 fixed by jnmbk (5)
2006-12-15 09:50:27 +00:00
peter1138 b14c526c92 (svn r7496) -Codechange: [NewGRF] Skip processing a GRF if it deactivated itself. 2006-12-14 19:10:46 +00:00
peter1138 5772da18b2 (svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF. 2006-12-14 15:14:29 +00:00
Darkvater dd42d07d2a (svn r7494) -Fix: Really disable AI's in Multiplayer if you tell it so. In loaded games with
AI's the setting didn't take effect, resulting in immediate desyncs.
2006-12-13 22:38:45 +00:00
miham a10dc3067a (svn r7492) [Translations] Moved esperanto from unfinished, as it is nearly complete 2006-12-13 18:47:59 +00:00
miham 3582c8164f (svn r7491) WebTranslator2 update to 2006-12-13 19:43:22
esperanto  - 238 fixed, 6 changed by LaPingvino (244)
russian    - 252 changed by Smoky555 (252)
2006-12-13 18:45:23 +00:00
peter1138 be3e653db3 (svn r7490) -Feature: Load a list of NewGRFs from the config (in the [newgrf-static] section) that should always be loaded. These will also be active during the intro screen, and in multiplayer games. Only "network-safe" NewGRFs are permitted, such as fonts and sprite replacement sets. 2006-12-12 19:38:41 +00:00
miham 208b466181 (svn r7489) WebTranslator2 update to 2006-12-12 19:57:02
esperanto  - 69 fixed by LaPingvino (69)
2006-12-12 18:57:32 +00:00
miham 2270a64c77 (svn r7488) WebTranslator2 update to 2006-12-12 19:19:02
esperanto  - 39 fixed by LaPingvino (39)
2006-12-12 18:19:33 +00:00
miham 90b6ace889 (svn r7487) [Translations] Readded language name as it disappeared because of several, clear reasons. For more information, please write mail to miham-devnull@xenon.bibl.u-szeged.hu 2006-12-12 13:53:30 +00:00
miham 258bf3107b (svn r7486) WebTranslator2 update to 2006-12-12 14:47:37
esperanto  - 146 fixed by LaPingvino (146)
romanian   - 1 fixed, 1 changed by kneekoo (2)
russian    - 8 fixed, 935 changed by Smoky555 (943)
2006-12-12 13:49:02 +00:00
peter1138 c95ed1959a (svn r7485) -Codechange: [NewGRF] Add debug warning for unsupported running cost bases for rail vehicles. 2006-12-12 12:00:50 +00:00
miham d5cde8e1f3 (svn r7484) WebTranslator2 update to 2006-12-12 08:39:41
esperanto  - 72 fixed by LaPingvino (72)
polish     - 1 changed by meush (1)
russian    - 299 fixed, 351 changed by Smoky555 (650)
2006-12-12 07:40:14 +00:00
miham 7e84ddd5c8 (svn r7482) WebTranslator2 update to 2006-12-11 21:26:12
esperanto  - 180 fixed by LaPingvino (180)
2006-12-11 20:26:44 +00:00
miham 593c644234 (svn r7480) WebTranslator2 update to 2006-12-11 19:29:26
croatian   - 126 fixed, 45 changed by knovak (171)
danish     - 9 fixed, 3 changed by ThomasA (12)
dutch      - 4 fixed by habell (4)
esperanto  - 246 fixed, 1 changed by LaPingvino (247)
2006-12-11 18:29:59 +00:00
glx 3f6d5e2323 (svn r7479) -Fix r5946: don't lower non-existent widget 2006-12-11 17:11:44 +00:00
rubidium 8d2c82bc2a (svn r7477) -Fix (7451): Allocate(Industry|Town) get called twice when trying to build an industry/town via a command, thus incrementing the number of towns/industries twice when created via a command. 2006-12-11 12:37:57 +00:00
rubidium c3d65805e7 (svn r7476) -Fix (6965): the paper mill belongs in the Sub-Arctic (LT_HILLY) and not the Tropic (LT_DESERT) climate. 2006-12-11 12:32:23 +00:00
peter1138 4f7dc6b0f2 (svn r7475) -Fix (r7348): sanity check NewGRF action 8 strings for null terminator 2006-12-10 21:39:38 +00:00
peter1138 8e26cfb157 (svn r7473) -Fix (r7269): Pass a cargo type to determine the freight weight
multiplier instead of a vehicle. Fixes incorrect display of total 
train capacity.
2006-12-10 19:00:06 +00:00
Darkvater ea518f8d96 (svn r7471) -Codechange: Centre the 'quit' button on the main menu. 2006-12-10 15:28:11 +00:00
Darkvater 75c053453d (svn r7470) -Codechange: Leave elrails enabled after loading old (pre-optional) and very old (pre-elrails) games. Let the user manually disable if if undesired. 2006-12-10 15:21:48 +00:00
peter1138 df1684b0d9 (svn r7469) -Fix (r7348): NewGRF settings weren't loaded in cases. 2006-12-10 12:12:26 +00:00
Darkvater aea6916e3a (svn r7468) -Codechange: [win32] Add some comments to MB/WIDE_TO_WIDE/MB_[BUFFER] macros and
use them some more in win32 code. Also for the clipboard use the convert_from_fs
 function instead of calling Win32 API directly. Make the static buffers in OTTD2FS
 and FS2OTTD the same size (character-length wise)
2006-12-10 11:46:43 +00:00
Darkvater ff5f9349c8 (svn r7467) -Cleanup: [win32] Disable the submit-savegame-on-crash code as we (webserver)
doesn't do anything with it and the button has been disabled for ages.
2006-12-10 11:40:31 +00:00
Darkvater 2158acb1ae (svn r7466) -Cleanup: [win32] Coding style, indentation, variable localization. 2006-12-10 11:37:22 +00:00
peter1138 db96bd4b1b (svn r7465) -Codechange: Save the default GRF configuration. 2006-12-10 11:32:54 +00:00
peter1138 0d5e3344fb (svn r7464) -Codechange: move BuildParamList from newgrf_gui to newgrf_config and
prefix with GRF.
2006-12-10 11:29:14 +00:00
peter1138 778f97c786 (svn r7463) -Codechange: Don't load invalid NewGRF files from the configuration file; instead show a warning. 2006-12-10 10:12:54 +00:00
glx 6bc56c61e3 (svn r7462) -Fix: when doing comparison in action 7/9, mask the param value so it has the 'same' size as the value it is compared to 2006-12-10 00:48:50 +00:00
Darkvater 14363bfb51 (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
Darkvater 74106ce6e9 (svn r7460) -Fix (r7337): [win32] If the underlying OS didn't have support for SHGetFolderPath the
application failed to run. Now test if the function exists and if not try a different
 approach using our own OTTDSHGetFolderPath wrapper.
2006-12-09 23:55:56 +00:00
glx 5f8f0e4e47 (svn r7459) -Fix: make sure TrainConsistChanged() is called for the first vehicle of a chain after reffiting
because free wagons present in depot can have the same type as the one bought and refitted by autoreplace
2006-12-09 20:14:26 +00:00
miham af18700a00 (svn r7458) WebTranslator2 update to 2006-12-09 20:53:05
american   - 1 fixed by WhiteRabbit (1)
german     - 1 changed by Neonox (1)
hungarian  - 3 fixed, 5 changed by miham (8)
portuguese - 29 fixed by izhirahider (29)
2006-12-09 19:53:56 +00:00
miham 167127ce54 (svn r7457) WebTranslator2 update to 2006-12-09 19:35:23
esperanto  - 191 fixed, 2 changed by LaPingvino (193)
french     - 1 fixed by glx (1)
german     - 27 fixed by Neonox (27)
italian    - 1 fixed by sidew (1)
polish     - 8 fixed by meush (8)
turkish    - 8 fixed by jnmbk (8)
2006-12-09 18:37:26 +00:00
miham 09458ec5f0 (svn r7456) [Namegen] Fixed hungarian characters in namegen as well 2006-12-09 17:43:04 +00:00
rubidium d02a614ebe (svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time. 2006-12-09 14:18:08 +00:00
rubidium 5b5b1d1514 (svn r7451) -Fix (7372): GetNum(Towns|Industries) should return the actual number of towns and industries.
-Fix (6055): GetMax(Town|Industry)Index should not return the number of towns or industries - 1, but the size of the pool - 1.
2006-12-09 14:14:51 +00:00
Darkvater 38edab372b (svn r7450) -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron) 2006-12-09 10:57:05 +00:00
Darkvater f87c8834e2 (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because
it interferes with OS/2 symbol in libc (psmedley)
2006-12-09 10:56:12 +00:00