Commit Graph

5396 Commits

Author SHA1 Message Date
KUDr
598a6f996d (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
0fbd8c8006 (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
17e8ce4202 (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
d2ad96dd16 (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
65d00be13d (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
77d9646765 (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
bfcdc3d6c2 (svn r7578) -Fix r7577: fixed typo 2006-12-27 14:34:09 +00:00
Darkvater
dd6c97e4f4 (svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni) 2006-12-27 14:27:30 +00:00
celestar
de7d74d57a (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911) 2006-12-27 13:48:57 +00:00
miham
a2b54b367a (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
8cd5daa533 (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
98e6c790e0 (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
8f2bb7fd43 (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
f4e390d16f (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
7110731cb9 (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
04628a1979 (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
08d0319f7c (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
7d05b7c40f (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
c128024b7d (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
eb7a6a3018 (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
24bb55e079 (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
404859378a (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
ec10c5bd40 (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
2b1db5c2ae (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
0be1149353 (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
747542c5fe (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
e93c00aa46 (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
2d769ff46b (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
dc9b22bf66 (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
acb4f49de0 (svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game. 2006-12-23 09:06:37 +00:00
rubidium
1805266825 (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
0a1119b332 (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
5e504bd65b (svn r7548) -Codechange: Some MorphOS changes to get OpenTTD compiled, packaged (tokai) 2006-12-22 15:06:27 +00:00
KUDr
41578c2ad3 (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
d2956c3ceb (svn r7541) -Set svn:eol-style native for some languages that missed it. 2006-12-22 01:19:32 +00:00
Darkvater
5575766896 (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
2b2bbfed24 (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 2006-12-22 01:17:33 +00:00
Darkvater
1c260bc5f1 (svn r7537) -Forgot added VS80 support from Makefile 2006-12-21 21:56:10 +00:00
Darkvater
19f54fd017 (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
e71e1fd044 (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
85da0eb990 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
Darkvater
0b6a6e4137 (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
3c7e72b35b (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
dbb36b67d8 (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
5cd081b6cd (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
85cd063a9d (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions. 2006-12-21 00:13:56 +00:00
rubidium
0f06c40be7 (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
2306f64c38 (svn r7519) -Fix: [YAPF] Cache was not deleted when waypoint was built or removed (frosch) 2006-12-20 23:41:24 +00:00
Darkvater
4b1fb7ff61 (svn r7518) -Codechange: more NULL pointer resets after free. 2006-12-20 21:17:33 +00:00
Darkvater
d849b8f66b (svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList 2006-12-20 20:43:52 +00:00