Commit Graph

5447 Commits

Author SHA1 Message Date
rubidium
16162ecd06 (svn r7586) -Fix (FS#473): remove the Landscaping toolbar option from the Road Construction toolbar in the scenario editor, as there is another Lanscaping GUI in the scenario editor and launching that one could confuse users. 2006-12-28 00:57:56 +00:00
KUDr
69a43e5ade (svn r7585) -Codechange: CheckStationSpreadOut() took too much CPU. Station rectangle is now maintained instead of calculating it each time by walking through whole map. Should help with the performance issue related to AIs trying to build road stops too often. (idea by Celestar) 2006-12-27 23:11:43 +00:00
peter1138
eb4a2e45c3 (svn r7583) -Fix (r7573): Merging of bridge branch broke (partially reverted?) automatic railtype conversion when building track on existing rail. 2006-12-27 18:29:34 +00:00
rubidium
8a812544ec (svn r7582) -Fix (r7490): appending static GRFs to the list of to-be loaded GRF for a game could result in duplicate GRFs in that list, which can cause a segmentation fault while loading the GRFs. 2006-12-27 18:25:17 +00:00
rubidium
1d6bd64c19 (svn r7581) [Translations] -Change: overhaul of the Polish language file by MeusH to make use of the Unicode characters where needed. 2006-12-27 16:18:59 +00:00
Darkvater
23d20bd5f8 (svn r7580) -Fix (r7182): UTF8-merge changed the string handling a bit, now the str pointer for
control characters is at the next character, so take value and THEN increase
 pointer, not the other way around. This bug could result in incorrect bb's computed
 for strings.
2006-12-27 16:14:21 +00:00
celestar
3a1d7ccdac (svn r7579) -Fix: upon merging the bridge branch, I accidently reverted 7571. Re-revert it. Sorry. 2006-12-27 14:51:55 +00:00
bjarni
fe202bc518 (svn r7578) -Fix r7577: fixed typo 2006-12-27 14:34:09 +00:00
Darkvater
09aa02542b (svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni) 2006-12-27 14:27:30 +00:00
celestar
091cc1cc4b (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911) 2006-12-27 13:48:57 +00:00
miham
eec3010fcf (svn r7574) WebTranslator2 update to 2006-12-27 14:23:53
bulgarian  - 7 fixed, 55 changed by kokobongo (62)
catalan    - 2 changed by arnaullv (2)
estonian   - 26 fixed by kristjans (26)
lithuanian - 10 fixed by Plyta (10)
norwegian  - 53 fixed by oletk (53)
slovak     - 2 fixed by lengyel (2)
turkish    - 3 fixed by jnmbk (3)
ukrainian  - 28 fixed by znikoz (28)
2006-12-27 13:24:36 +00:00
celestar
d95e2c2dd1 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 2006-12-27 12:38:02 +00:00
Darkvater
d92103d6ff (svn r7571) -Fix (r7565): Older GCC versions do not have __VA_ARGS__ support (C99), work around
this (tokai)
2006-12-27 12:22:25 +00:00
rubidium
da4b1a7718 (svn r7569) -Fix (r7565): cocoa files were (somehow) forgotten.
-Change: messages about failures is cocoa should be debug level 0 and show what went wrong. "  failed with message X" isn't really descriptive.
-Change: remove unneeded level 1 debug messages for entering some cocoa functions.
2006-12-26 22:04:53 +00:00
Darkvater
64a67bb63b (svn r7568) -Fix [r7564]: buf+4 is the same as &buf[4], not buf[4] for a char*. 2006-12-26 21:48:15 +00:00
rubidium
4229d9e545 (svn r7566) -Fix: only send commands to the new client from the map, that is going to be transfered to the new client, is saved on the server and not while waiting for the 'map download slot' as that will add commands for already passed frames in the command queue of the new client. 2006-12-26 18:27:40 +00:00
Darkvater
073e0eb3c9 (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
2006-12-26 17:36:18 +00:00
Darkvater
2e0bbe5403 (svn r7564) -Codechange: Some newgrf changes. FFIR/EVAW endian-swapping, functionalize
check_length, don't print copyright message for grfinfo (it is shown in newgrf
 window), have action 0x0B print out the messages with severity 0.
2006-12-26 17:22:47 +00:00
rubidium
c140ca6f20 (svn r7563) -Fix (FS#468): removing towns in the scenario editor could leave subsidies with that town as source/destination, resulting in an assertion when displaying the Subsidies Window. 2006-12-26 15:28:11 +00:00
Darkvater
b58c90a075 (svn r7562) -Fix (r7060, 5874): It seems windows doesn't have the same functionality for CreateWindow when starting a program from the console or from the GUI. Because of this starting OpenTTD from the desktop wouldn't maximize the window, even if the config file said so. So work around this... 2006-12-26 13:30:48 +00:00
rubidium
9560a1d9ec (svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window. 2006-12-26 12:56:48 +00:00
rubidium
80c3be09fc (svn r7560) -Fix (r2300): p2 is not a PlayerID when creating a new company, but the ClientID (index in _network_client_info). Therefore it was not possible to create a new company if 8 or more clients were connected. Thanks to FlashFF for noticing this bug. 2006-12-26 11:47:31 +00:00
rubidium
28844c088c (svn r7559) -Fix (FS#456): clicking the 'Full Load' button when the 'current' order is selected in the Order GUI and one has instructed the train to go to the depot, via the button in the Train View GUI, changed the depot order by switching from 'service at depot' to 'stop at depot' and vice versa. 2006-12-26 00:33:07 +00:00
rubidium
c81256a268 (svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles. 2006-12-25 16:14:36 +00:00
bjarni
0cfecfbe3c (svn r7557) -Fix: [OSX] FS#463 libfontconfig not present on OSX by default
By adding CUSTOM_FONTCONFIG flag to the Makefile (not Makefile.config) to overwrite default locations of this library
  This allows static linking
2006-12-25 09:50:56 +00:00
belugas
8e20ae2e95 (svn r7556) -Fix(r7153): By handling the KeyEvent sooner in the events loops, the console command "screenshot no_con" did not had time to actually repaint the screen without the console before the screenshot. Forcing a redraw before it ensure that the feature acts as required. (to be ported to 0.5.0)
(thanks glx)
2006-12-25 01:40:33 +00:00
rubidium
67f63c8584 (svn r7555) -Fix (r5479): off-by-one error due do truncation on division by 2. Thanks to Ben_Robbins_ for providing the test case. 2006-12-24 22:10:09 +00:00
peter1138
5cf3b8a1a9 (svn r7554) -Fix (r7496): In Action 0xE, don't deactivate the current GRF (to be ported to 0.5) 2006-12-24 19:20:28 +00:00
miham
c820ae2502 (svn r7553) WebTranslator2 update to 2006-12-23 14:07:59
american   - 3 fixed by WhiteRabbit (3)
hungarian  - 4 fixed by miham (4)
2006-12-23 13:08:32 +00:00
miham
3c96e89a91 (svn r7552) WebTranslator2 update to 2006-12-23 11:41:58
american   - 1 fixed by WhiteRabbit (1)
bulgarian  - 1 changed by kokobongo (1)
catalan    - 2 fixed, 3 changed by arnaullv (5)
dutch      - 3 fixed by habell (3)
french     - 2 fixed by glx (2)
german     - 2 fixed by Neonox (2)
italian    - 3 fixed by sidew (3)
portuguese - 2 fixed by izhirahider (2)
russian    - 2 fixed by Smoky555 (2)
slovak     - 1 fixed by lengyel (1)
turkish    - 3 fixed by jnmbk (3)
2006-12-23 10:42:48 +00:00
rubidium
b1cfea6596 (svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game. 2006-12-23 09:06:37 +00:00
rubidium
ee51d18f86 (svn r7550) -Fix (r7299): compilation of x64 binaries with MSVC 2005, due to not telling that helpers.cpp should be compiled as C++ for x64. 2006-12-23 01:24:13 +00:00
rubidium
ff50233203 (svn r7549) -Fix (r7357): change the size of the NewGRF GUIs so any description of a GRF that is shown in TTDPatch without overflowing, does not overflow in OpenTTD. 2006-12-22 23:54:51 +00:00
Darkvater
458eb02678 (svn r7548) -Codechange: Some MorphOS changes to get OpenTTD compiled, packaged (tokai) 2006-12-22 15:06:27 +00:00
KUDr
b07b38d873 (svn r7547) -Fix: The cost of rail station removal was calculated based on the area occupied by the station. This produced unreasonably large removal costs for non-uniform stations. Now it is based on number of station tiles actually removed. 2006-12-22 13:16:40 +00:00
Darkvater
66776c7f06 (svn r7541) -Set svn:eol-style native for some languages that missed it. 2006-12-22 01:19:32 +00:00
Darkvater
96a53f1b13 (svn r7540) -Codechange: Print a summary of the number of errors/warnings of a language when strgen is run with the -w flag. 2006-12-22 01:18:56 +00:00
Darkvater
9c5b15eff1 (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 2006-12-22 01:17:33 +00:00
Darkvater
a1108eefc1 (svn r7537) -Forgot added VS80 support from Makefile 2006-12-21 21:56:10 +00:00
Darkvater
bb9c6c5fc5 (svn r7535) -Fix (r7326): Always unload cargo if the station accepts it, and always load cargo
if it's available with full load any (Maedhros)
2006-12-21 20:56:27 +00:00
matthijs
d88e549d9f (svn r7533) -Codechange [Debian]: Update debian packaging files
- Update to latest standards version.
	- Fix rules to compile only once.
2006-12-21 14:44:19 +00:00
Darkvater
29ed5e55c7 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
Darkvater
701a197ca9 (svn r7525) -Fix (r6631): Invalidate the widget of 'many random industries' when it is raised (Maedhros) 2006-12-21 11:34:50 +00:00
rubidium
d3abf3da65 (svn r7524) -Fix: remove empty strings that should not have been empty from the Ukrainian language file. 2006-12-21 10:41:10 +00:00
Darkvater
9b9add65c3 (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game.
This is only possible in SP (or in the intro menu). During game play you will
 get a confirmation window when applying the changes as some actions can crash
 OpenTTD and/or make your current game unplayable.
2006-12-21 10:29:16 +00:00
Darkvater
739e93fd23 (svn r7522) -Codechange: Have CopyGRFConfigList clear the destination list before assigning
values to it. This cuts down on memleaks which could exist when the function was
 not used carefully.
2006-12-21 10:09:43 +00:00
Darkvater
39eff474d3 (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions. 2006-12-21 00:13:56 +00:00
rubidium
52cf13bff6 (svn r7520) -Fix(r7348): memleak due to unconditionally overwriting the filename, name and info of a GRFConfig in IsGoodGRFConfigList. 2006-12-20 23:44:39 +00:00
KUDr
0bf22bdedf (svn r7519) -Fix: [YAPF] Cache was not deleted when waypoint was built or removed (frosch) 2006-12-20 23:41:24 +00:00
Darkvater
28042b65ac (svn r7518) -Codechange: more NULL pointer resets after free. 2006-12-20 21:17:33 +00:00