Commit Graph

5386 Commits

Author SHA1 Message Date
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
Darkvater
9fc627f99b (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
38c2574b3c (svn r7515) -Codechange [newgrf]: Ignore ascii code 0x0A in text. Newline is 0x0D. 2006-12-20 17:03:14 +00:00
glx
55b70d9eb3 (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
c649dc8a27 (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
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