Commit Graph

4042 Commits

Author SHA1 Message Date
tron
1ad425e802 (svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now depends on rail.h and not the other way round anymore 2006-06-18 15:28:29 +00:00
tron
60e65953fc (svn r5308) Replace an array of function pointers with a switch: It's shorter, more comprehensible, less dependent on magic numbers 2006-06-18 09:37:08 +00:00
tron
4a5305161e (svn r5307) Remove two unnecessary indirections which used function pointers instead of directly calling the functions 2006-06-18 07:49:25 +00:00
tron
95d009bde8 (svn r5298) Hide function declarations and remove function stubs which aren't needed in the !ENABLE_NETWORK case 2006-06-17 14:11:26 +00:00
tron
c8f6c4ef2f (svn r5297) Check the interface flags if IFF_BROADCAST is set before asking for the broadcast address 2006-06-17 13:25:22 +00:00
tron
5db6c57bea (svn r5295) Handle a quirk in the Windows interface detection code and fix a typo in r5293 (thanks to Darkvater for testing) 2006-06-17 12:11:17 +00:00
tron
50cfa9403d (svn r5294) -Fix: Plug a memory leak 2006-06-17 10:37:20 +00:00
tron
670e47eec3 (svn r5293) -Fix: Not all network interfaces are capable of broadcasting. Don't record those which aren't
-Fix: Not all networks are /24. Generate proper broadcast addresses for non-/24 nets
2006-06-17 10:24:20 +00:00
tron
bdf64588d3 (svn r5292) -Fix: When using SIOCGIFCONF to detect network interfaces accomodate for the fact that struct sockaddr doesn't have fixed size in all implementations 2006-06-17 08:16:58 +00:00
glx
dcfcf7df4a (svn r5291) - Fix: '-f' switch is not valid on windows, so don't show it in help 2006-06-17 02:25:18 +00:00
Darkvater
e835bba5b1 (svn r5288) - Fix [FS#199]: Tunnel construction could erronously terraform a foundationed tile with rails. This also fixes another bug where you could implicitly remove a foundation by raising nearby sloped land. Desirable perhaps, but unwanted. 2006-06-16 18:54:48 +00:00
Darkvater
81f5ab9ba6 (svn r5287) - Set some more ignore values (*.user), automatically generated by VS2005 2006-06-16 18:47:30 +00:00
Darkvater
54be2e503d (svn r5286) - Clean up VS2005 project files by making them identical to the VS2003 project file. Mainly put object files into a subdirectory of the project directory instead of a level higher which makes absolutely no sense. Also add some ignores, remove obsolete VS6 project files. 2006-06-16 00:28:15 +00:00
miham
49135bf6e8 (svn r5285) WebTranslator2 update to 2006-06-15 19:12:46
american   - 1 changed by WhiteRabbit (1)
2006-06-15 17:12:55 +00:00
miham
618396ca47 (svn r5266) WebTranslator2 update to 2006-06-14 19:54:19
czech      - 4 fixed by Hadez (4)
italian    - 15 changed by sidew (15)
2006-06-14 17:54:31 +00:00
tron
74d40ced0a (svn r5265) Replace a dozen bogus uses of strncmp() by strcmp() 2006-06-14 13:22:30 +00:00
tron
3d41cb23d4 (svn r5264) -Fix: The wrong IP could get unbanned, e.g. 'unban 1.2.3.42' could result in unbanning 1.2.3.4 2006-06-14 12:30:31 +00:00
tron
7d2efe3d84 (svn r5263) Use the flag which denotes if it's a plane or helicopter instead of magical engine numbers 2006-06-14 11:26:56 +00:00
tron
d2f6cb9e2d (svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers 2006-06-14 11:05:30 +00:00
tron
17c15fab3e (svn r5260) -Fix: It was possible to convert the railtype of a bridge while a train was on it 2006-06-14 09:52:50 +00:00
tron
f5638395fe (svn r5259) -Codechange: GetBridgeHeight{Ramp,}() now returns the height of the bridge, not one level lower 2006-06-14 09:01:21 +00:00
miham
b6e2b38fe7 (svn r5250) WebTranslator2 update to 2006-06-13 19:40:20
italian    - 4 fixed, 1 changed by sidew (5)
2006-06-13 17:40:29 +00:00
peter1138
642a3b4b22 (svn r5249) - Add code to copy the palette to a temporary byte aligned array when making a PCX screenshot, if the palette array is not byte aligned. 2006-06-13 17:13:46 +00:00
Darkvater
30c81ca9ac (svn r5248) - [Codechange]: Remove TerraformProc()'s mode parameter as it is not used 2006-06-13 14:04:12 +00:00
peter1138
02bde34b2b (svn r5240) - NewGRF: when there is more than one engine in a consist, base livery overrides and powered wagon weight/power on the last engine before the wagon. 2006-06-12 11:38:07 +00:00
glx
84f553b47f (svn r5229) Remove a write-only variable 2006-06-11 21:38:35 +00:00
KUDr
8316020ff3 (svn r5228) Suppress MSVC warnings about signed/unsigned comparison 2006-06-11 21:19:51 +00:00
miham
3b192c0315 (svn r5227) WebTranslator2 update to 2006-06-11 21:23:24
lithuanian - 16 fixed, 3 changed by Plyta (19)
polish     - 4 changed by meush (4)
spanish    - 31 fixed by eusebio (31)
2006-06-11 19:23:39 +00:00
tron
260012382d (svn r5226) Reduce the mess that sending chat messages is
This also fixes a bug:
-Fix: It was possible to rename a signs or waypoints with the chat box
2006-06-11 16:00:56 +00:00
tron
88f9473c85 (svn r5225) Some windows periodically check if their parent exists - if not they close themselves
This is unnecessary, because their parents already close them when they get closed
Therefore remove the code for the periodic checks
2006-06-11 14:56:21 +00:00
tron
0f5453d95b (svn r5222) Misc. smaller changes, mostly const, variable scope and replacing some magic numbers by enums 2006-06-11 07:17:43 +00:00
tron
4ba334ffde (svn r5221) Make the assertion in SetTileType() more strict: "lower edge of map <=> VOID" instead of just "lower edge of map => VOID"
This works since the hack abusing SetTileType() in openttd.c is gone (r5171)
2006-06-10 21:06:29 +00:00
tron
7d0a139828 (svn r5220) Testing for existence AND using rm -f is tautologous 2006-06-10 20:11:02 +00:00
tron
c9be4eed53 (svn r5219) CMD_CLEAR_AREA doesn't use p2, so don't pass anything seemingly meaningful 2006-06-10 20:08:19 +00:00
tron
256cd2341a (svn r5218) Remove GenericRaiseLowerLand(). It's not really as generic as the its name suggests, it's just an unnecessary indirection 2006-06-10 19:40:43 +00:00
miham
ea9242eff5 (svn r5217) WebTranslator2 update to 2006-06-10 20:54:18
polish     - 4 changed by meush (4)
2006-06-10 18:54:28 +00:00
miham
5ae22e72fa (svn r5216) WebTranslator2 update to 2006-06-10 19:27:22
french     - 4 fixed, 2 changed by glx (6)
lithuanian - 102 fixed, 16 changed by Plyta (118)
polish     - 4 fixed by meush (4)
2006-06-10 17:29:44 +00:00
miham
92770d22dc (svn r5214) [languages] Re-done afrikaans change, this time proper 2006-06-10 09:55:57 +00:00
miham
151b086d70 (svn r5213) [languages] reverted last change from tron 2006-06-10 09:52:11 +00:00
tron
79bfd1f63e (svn r5212) Afrikaans can be encoded in ISO8859-15, there's no need to make it unusable by encoding it in UTF-8 2006-06-10 09:48:15 +00:00
tron
4c2f3725d5 (svn r5211) Remove stray minus after colon, i.e. :- -> : (in one case even a stray colon) 2006-06-10 09:45:34 +00:00
tron
0a72639c2d (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. 2006-06-10 08:37:41 +00:00
tron
15c945c926 (svn r5203) Some bits were incorrectly marked as used 2006-06-09 20:06:02 +00:00
miham
33b1c15418 (svn r5202) WebTranslator2 update to 2006-06-09 19:46:28
american   - 4 fixed by WhiteRabbit (4)
dutch      - 4 fixed by webfreakz (4)
turkish    - 4 fixed, 4 changed by jnmbk (8)
ukrainian  - 4 fixed by znikoz (4)
2006-06-09 17:46:43 +00:00
peter1138
dfa60b0832 (svn r5201) - NewGRF: add loading of default refit costs. This information is not yet used 2006-06-09 16:35:07 +00:00
tron
901e2d02b1 (svn r5199) Make the control flow of GetTileTrackStatus_TunnelBridge() more comprehensible 2006-06-09 15:27:17 +00:00
tron
c1bcead499 (svn r5198) Fix some strange control flow: the case for MP_RAILWAY fell through the case for MP_TUNNELBRIDGE 2006-06-09 15:24:04 +00:00
peter1138
da4d1aa292 (svn r5197) - Use svn info to automatically find the last modified revision number and get branch information and place it in the revision string. Increase NETWORK_REVISION_LENGTH to accommodate the branch tag. 2006-06-09 14:40:30 +00:00
peter1138
01aec41f69 (svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with TILE_SIZE / 2 2006-06-09 14:37:28 +00:00
miham
0717a527eb (svn r5195) WebTranslator2 update to 2006-06-09 11:31:37
hungarian  - 4 fixed by miham (4)
italian    - 1 changed by sidew (1)
2006-06-09 09:31:48 +00:00