Commit Graph

5542 Commits

Author SHA1 Message Date
rubidium
da9ebd384a (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
f6a223345b (svn r7506) -Codechange: [NewGRF] Add action 7/9/D variable 0x81 (current year) 2006-12-18 15:34:12 +00:00
rubidium
78c1aad22c (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
bc77a4f2b8 (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
cd5deab983 (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
286874eb37 (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
b05233c51d (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
3fb528a381 (svn r7496) -Codechange: [NewGRF] Skip processing a GRF if it deactivated itself. 2006-12-14 19:10:46 +00:00
peter1138
107656f9c9 (svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF. 2006-12-14 15:14:29 +00:00
Darkvater
9752d36ed2 (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
0b6cb0f4fd (svn r7492) [Translations] Moved esperanto from unfinished, as it is nearly complete 2006-12-13 18:47:59 +00:00
miham
61d4f4d8ec (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
08a494f184 (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
2e9b97e332 (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
e43af8a76c (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
1b624564b2 (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
10ec3b577d (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
686225bc5b (svn r7485) -Codechange: [NewGRF] Add debug warning for unsupported running cost bases for rail vehicles. 2006-12-12 12:00:50 +00:00
miham
38b9124a17 (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
b5a477e658 (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
bb464a512b (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
ba8517e2aa (svn r7479) -Fix r5946: don't lower non-existent widget 2006-12-11 17:11:44 +00:00
rubidium
8b646c3cb2 (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
2b5413df43 (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
eaeceec672 (svn r7475) -Fix (r7348): sanity check NewGRF action 8 strings for null terminator 2006-12-10 21:39:38 +00:00
peter1138
aca5d1926a (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
babf6e3d7d (svn r7471) -Codechange: Centre the 'quit' button on the main menu. 2006-12-10 15:28:11 +00:00
Darkvater
421d3653c7 (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
f9f6b5f341 (svn r7469) -Fix (r7348): NewGRF settings weren't loaded in cases. 2006-12-10 12:12:26 +00:00
Darkvater
bde8e9ee44 (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
f0e1f9842d (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
e3d94c6e12 (svn r7466) -Cleanup: [win32] Coding style, indentation, variable localization. 2006-12-10 11:37:22 +00:00
peter1138
bf3b850c53 (svn r7465) -Codechange: Save the default GRF configuration. 2006-12-10 11:32:54 +00:00
peter1138
f27cc51674 (svn r7464) -Codechange: move BuildParamList from newgrf_gui to newgrf_config and
prefix with GRF.
2006-12-10 11:29:14 +00:00
peter1138
4ac40e64c1 (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
1edad40e4e (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
6c3590338c (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
Darkvater
533034780b (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
ba0051175f (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
8c64e004ad (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
937f9b0595 (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
f4ee33ddb2 (svn r7456) [Namegen] Fixed hungarian characters in namegen as well 2006-12-09 17:43:04 +00:00
rubidium
fba426dc06 (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
af5c73c12e (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
37b4075385 (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
1422f6a17a (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
rubidium
80c80c6db1 (svn r7448) -Fix (r5794): use the height of the edge of the map for effect vehicles that are outside the map. 2006-12-09 08:37:15 +00:00
miham
24e962d0c5 (svn r7447) WebTranslator2 update to 2006-12-09 07:56:50
brazilian_portuguese - 8 fixed by tucalipe (8)
catalan    - 159 changed by arnaullv (159)
2006-12-09 06:57:22 +00:00
Darkvater
0fabe8f8ef (svn r7446) -Feature: Double the length of the cargo and rating indicators in the station list window,
thanks for the inspiration Rince. Workings of the small 1-pixel wide bar have changed a
 little. Up till now it was pretty random, now it is only drawn for stations with minimal
 amount of cargo (<=30) and 1-pixel height is 5 units.
2006-12-09 00:46:02 +00:00
Darkvater
8559b4e726 (svn r7445) -Codechange (r4822): Properly draw the cargo colours in the station list and centre the
cargo abbreviations. The window at least looks a lot better this way.
2006-12-09 00:41:25 +00:00