Commit Graph

5665 Commits (e257f0e36c88f6c9437db1d36896ec29766db8f2)
 

Author SHA1 Message Date
rubidium d42ee81f79 (svn r7617) -Fix (7609): GetTrackBits only works (as intended) for plain rail tiles, so get the trackbits if it is certain it is a plain rail tile. Noticed by Tron. 18 years ago
Darkvater daf71e7ef8 (svn r7616) -Cleanup:
-(re)set _rename_[id/what] to -1 to catch invalid calls (main_gui.c)
 -Only invalidate widget of pause/ff instead of whole window (main_gui.c)
 -Remove numbering from WE_ and WC_ as it's not needed, also remove
  non-existing windowclasses (window.h, openttd.h)
 -Give names to some of the enums (window.h)
 -In UninitWindowSystem not only free malloc'd widgets, but also reset the z-array (window.c)
 -Some coding style, comments, etc.
18 years ago
miham 497590c6a7 (svn r7611) WebTranslator2 update to 2006-12-29 12:28:05
american   - 2 fixed by WhiteRabbit (2)
french     - 2 fixed by glx (2)
portuguese - 2 fixed by izhirahider (2)
18 years ago
rubidium e04d84c7b0 (svn r7609) -Codechange: remove some direct map accesses to m5 and some unneeded signal removal code in ClearTileTrack as it is done in CmdRemoveSingleRail too, which is called for every removed trackbit. 18 years ago
rubidium 50d681c1e9 (svn r7607) -Codechange: remove direct map accesses for snow/desert on tunnels and bridges. 18 years ago
peter1138 a367897eb8 (svn r7606) -Codechange: [NewStations] Add support for variables 45 and 65. 18 years ago
Darkvater 8097072075 (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt 18 years ago
rubidium 17e49cfd94 (svn r7603) -Codechange (FS#481): update the Polish Town Name generator with Unicode characters (DDream). 18 years ago
Darkvater bc9ceb8b74 (svn r7602) -Fix (r7565): MSVC2003 and lower don't support variadic macros, so work around
this and thank MS for such a crappy, shitty crap compiler.
18 years ago
miham 9516b4db60 (svn r7601) WebTranslator2 update to 2006-12-28 19:44:37
bulgarian  - 7 fixed, 2 changed by kokobongo (9)
catalan    - 5 changed by arnaullv (5)
estonian   - 2 fixed, 7 changed by kristjans (9)
italian    - 2 fixed by sidew (2)
polish     - 3 fixed, 3 changed by meush (6)
russian    - 2 fixed by Smoky555 (2)
spanish    - 41 fixed by eusebio (41)
swedish    - 13 fixed, 81 changed by ChrillDeVille (94)
turkish    - 4 fixed, 2 changed by jnmbk (6)
18 years ago
rubidium a40482f9a6 (svn r7600) -Remove: out-dated documentation about console and Mandrake Readme.
-Change: make readme.txt UTF-8 instead of ISO 8859-15.
-Change: some indenting, aligning and other small textual changes.
-Add: some comments about port forwarding and NewGRF over the net..
18 years ago
KUDr c6e57eeb10 (svn r7599) -Fix: (r7585, r7590) assert on load game that has some station with bigger spread-out than _patches.station_spread value (Celestar) 18 years ago
peter1138 0d77ad8126 (svn r7596) -Codechange: Always display tractive effort in kN. 18 years ago
peter1138 b161eea49c (svn r7594) -Fix (r7522): GRF config list wasn't cleared when no GRFs should be used. 18 years ago
peter1138 8ca21a3cb0 (svn r7592) -Feature: Add support for tractive effort to 'realistic' acceleration. 18 years ago
KUDr b78dd8742d (svn r7590) -Codechange: (r7585)
- use existing struct Rect instead of declaring new StationRect
 - use inline functions instead of macros
18 years ago
bjarni 13f2a34396 (svn r7588) -Change: [OSX] removed the flag JAGUAR since it didn't work anyway
Also removed all the Makefile code regarding this flag since it's no longer needed
   Removed documentation about special limitations regarding running the game on OSX 10.2
   OpenTTD now officially needs OSX 10.3.9 to work correctly (the trunk needed that for months)
18 years ago
bjarni fbec15ab1d (svn r7587) -Change: [OSX] updated readme about compiling a universal binary as the flag name changed, but didn't change in the readme 18 years ago
rubidium 2e85a2c2cb (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. 18 years ago
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) 18 years ago
peter1138 0fbd8c8006 (svn r7583) -Fix (r7573): Merging of bridge branch broke (partially reverted?) automatic railtype conversion when building track on existing rail. 18 years ago
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. 18 years ago
rubidium d2ad96dd16 (svn r7581) [Translations] -Change: overhaul of the Polish language file by MeusH to make use of the Unicode characters where needed. 18 years ago
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.
18 years ago
celestar 77d9646765 (svn r7579) -Fix: upon merging the bridge branch, I accidently reverted 7571. Re-revert it. Sorry. 18 years ago
bjarni bfcdc3d6c2 (svn r7578) -Fix r7577: fixed typo 18 years ago
Darkvater dd6c97e4f4 (svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni) 18 years ago
celestar de7d74d57a (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911) 18 years ago
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)
18 years ago
celestar 8cd5daa533 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
Darkvater 98e6c790e0 (svn r7571) -Fix (r7565): Older GCC versions do not have __VA_ARGS__ support (C99), work around
this (tokai)
18 years ago
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.
18 years ago
Darkvater f4e390d16f (svn r7568) -Fix [r7564]: buf+4 is the same as &buf[4], not buf[4] for a char*. 18 years ago
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. 18 years ago
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.
18 years ago
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.
18 years ago
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. 18 years ago
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... 18 years ago
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. 18 years ago
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. 18 years ago
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. 18 years ago
rubidium ec10c5bd40 (svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles. 18 years ago
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
18 years ago
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)
18 years ago
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. 18 years ago
peter1138 e93c00aa46 (svn r7554) -Fix (r7496): In Action 0xE, don't deactivate the current GRF (to be ported to 0.5) 18 years ago
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)
18 years ago
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)
18 years ago
rubidium acb4f49de0 (svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game. 18 years ago
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. 18 years ago