Commit Graph

5585 Commits

Author SHA1 Message Date
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
Darkvater 1812bcfc8c (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 9011371e83 (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 083ceabe16 (svn r7515) -Codechange [newgrf]: Ignore ascii code 0x0A in text. Newline is 0x0D. 2006-12-20 17:03:14 +00:00
glx 8bf9f5f7fd (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 a512188386 (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 8e87d4f9ea (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 64bf2432bb (svn r7506) -Codechange: [NewGRF] Add action 7/9/D variable 0x81 (current year) 2006-12-18 15:34:12 +00:00
rubidium 32db875d97 (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 f010066c1b (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 37c45e44af (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 d85e9fe405 (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 631becf31d (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