summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-30(svn r7640) -Codechange: move a table from industry_cmd.c to table/industry_landrubidium
-Codechange: add a reference to the industry GFX enum and some comments to the tables -Codechange: remove some magic numbers
2006-12-30(svn r7639) -Fix: FS#487 Changed music/qtmidi.c to not use functions ↵bjarni
deprecated by Apple (pvz)
2006-12-30(svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin ↵Darkvater
and shuffle around some code for SetupColorsAndInitialWindow. Because we know that after a successful load all windows are removed we can setup default windows in this function, and show ShowJoinStatusWindow in PACKET_SERVER_MAP. -Setup the global _network_join_status for ShowJoinStatusWindow in the only two places where the function is called, instead of inside it. -Turn the join status window into a modal window of the network window so it stays on top.
2006-12-30(svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a ↵Darkvater
parent. If the query has no parent (eg give money, rename waypoint), the global function HandleOnEditText is used.
2006-12-30(svn r7636) -Cleanup: Remove unused window classes (sorry WC-mess) and use ↵Darkvater
sizeof(array) instead of X * sizeof(array[0])
2006-12-30(svn r7635) -Fix (r7618, r7621): Guard against recursive deletion. It is ↵Darkvater
possible that when a parent window is deleted it deletes its child (always) and in turn, through some code the child initiates the deletion of the parent which, if not guarded against, deletes the child and so on...
2006-12-30(svn r7632) -Codechange: several small code cleanups of texteff, like moving ↵rubidium
magic values and defines to an enum and fix coding/documentation style. -Codechange: make DeleteAnimatedTile a little clearer (pv2b).
2006-12-30(svn r7631) -Fix (r1): some pointer arithmetic gave the number of entries ↵rubidium
instead of the number of bytes to move when removing the animated state from a tile. This caused desyncs between Little and Big Endian machines. Thanks to pv2b for helping me in locating the bug and to Darkvater for figuring out that the arithmetic returned the number of entries instead of bytes.
2006-12-30(svn r7630) -Fix: At the end of the quarter the old economy numbers were ↵Darkvater
shifted up, and the current economy numbers were moved to economy[0]. This was done in one memmove which worked because old_economy was behind cur_economy in the struct. Do not rely on this functionality...
2006-12-29(svn r7629) -Fix: the CLI parameter for joining a network game is "-n ↵rubidium
ip:port#player", not "-n ip#player:port" as the help text suggests.
2006-12-29(svn r7628) -Fix: [YAPF] suppress 'Train is lost' message if pathfinding ↵KUDr
ended on the first two-way red signal due to yapf.rail_firstred_twoway_eol option.
2006-12-29(svn r7626) -Fix r7600: [OSX] building release dmg files no longer includes ↵bjarni
console.txt, since we don't have that file anymore (this made dmg building fail) -Cleanup: [OSX] removed the link files since they aren't needed and broken anyway
2006-12-29(svn r7625) * Change debian packaging version to support proper upgrading ↵matthijs
from/to release versions.
2006-12-29(svn r7624) -Fix (FS#470): Also install openttd.32.bmp on make install, used ↵matthijs
as window icon by SDL (to be ported to 0.5).
2006-12-29(svn r7623) - Fix: [YAPF] trains/roadvehs trying to enter the bridge ramp ↵KUDr
from under bridge rail/road (introduced by bridge merge r7573)
2006-12-29(svn r7622) -Codechange: Convert some more windows to ShowQuery. This ↵Darkvater
includes the depot sell-all popup, quit/abandon game. The language files committed in r7619 go with this.
2006-12-29(svn r7621) -Codechange: Rework ShowQuery into a general modal popup window. ↵Darkvater
It gets passed a parent pointer which will be blocked as long as the popup is open. This applies to newgrf-apply, heightmap warning, genworld progress.
2006-12-29(svn r7620) -Fix: [OPF] signal update was incorrectly propagated:KUDr
- through incompatible rail types - from under bridge track to the bridge ramp (peter1138) - same for tunnels (from track on top of tunnel entry to the tunnel)
2006-12-29(svn r7619) -Feature (Internal): Add support for modal children. It's a ↵Darkvater
window-child that will block activity for the parent window until the modal popup is dismissed.
2006-12-29(svn r7618) -Feature: Add support for a parent<>child relationship in Window ↵Darkvater
terms. A child is a window whose parent pointer is non-null. Deleting the parent cascades deleting the children as well; children first.
2006-12-29(svn r7617) -Fix (7609): GetTrackBits only works (as intended) for plain ↵rubidium
rail tiles, so get the trackbits if it is certain it is a plain rail tile. Noticed by Tron.
2006-12-29(svn r7616) -Cleanup:Darkvater
-(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.
2006-12-29(svn r7611) WebTranslator2 update to 2006-12-29 12:28:05miham
american - 2 fixed by WhiteRabbit (2) french - 2 fixed by glx (2) portuguese - 2 fixed by izhirahider (2)
2006-12-29(svn r7609) -Codechange: remove some direct map accesses to m5 and some ↵rubidium
unneeded signal removal code in ClearTileTrack as it is done in CmdRemoveSingleRail too, which is called for every removed trackbit.
2006-12-29(svn r7607) -Codechange: remove direct map accesses for snow/desert on ↵rubidium
tunnels and bridges.
2006-12-29(svn r7606) -Codechange: [NewStations] Add support for variables 45 and 65.peter1138
2006-12-29(svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove ↵Darkvater
directmusic.txt
2006-12-28(svn r7603) -Codechange (FS#481): update the Polish Town Name generator with ↵rubidium
Unicode characters (DDream).
2006-12-28(svn r7602) -Fix (r7565): MSVC2003 and lower don't support variadic macros, ↵Darkvater
so work around this and thank MS for such a crappy, shitty crap compiler.
2006-12-28(svn r7601) WebTranslator2 update to 2006-12-28 19:44:37miham
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)
2006-12-28(svn r7600) -Remove: out-dated documentation about console and Mandrake Readme.rubidium
-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..
2006-12-28(svn r7599) -Fix: (r7585, r7590) assert on load game that has some station ↵KUDr
with bigger spread-out than _patches.station_spread value (Celestar)
2006-12-28(svn r7596) -Codechange: Always display tractive effort in kN.peter1138
2006-12-28(svn r7594) -Fix (r7522): GRF config list wasn't cleared when no GRFs should ↵peter1138
be used.
2006-12-28(svn r7592) -Feature: Add support for tractive effort to 'realistic' ↵peter1138
acceleration.
2006-12-28(svn r7590) -Codechange: (r7585)KUDr
- use existing struct Rect instead of declaring new StationRect - use inline functions instead of macros
2006-12-28(svn r7588) -Change: [OSX] removed the flag JAGUAR since it didn't work anywaybjarni
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)
2006-12-28(svn r7587) -Change: [OSX] updated readme about compiling a universal binary ↵bjarni
as the flag name changed, but didn't change in the readme
2006-12-28(svn r7586) -Fix (FS#473): remove the Landscaping toolbar option from the ↵rubidium
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-27(svn r7585) -Codechange: CheckStationSpreadOut() took too much CPU. Station ↵KUDr
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(svn r7583) -Fix (r7573): Merging of bridge branch broke (partially ↵peter1138
reverted?) automatic railtype conversion when building track on existing rail.
2006-12-27(svn r7582) -Fix (r7490): appending static GRFs to the list of to-be loaded ↵rubidium
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(svn r7581) [Translations] -Change: overhaul of the Polish language file by ↵rubidium
MeusH to make use of the Unicode characters where needed.
2006-12-27(svn r7580) -Fix (r7182): UTF8-merge changed the string handling a bit, now ↵Darkvater
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(svn r7579) -Fix: upon merging the bridge branch, I accidently reverted ↵celestar
7571. Re-revert it. Sorry.
2006-12-27(svn r7578) -Fix r7577: fixed typobjarni
2006-12-27(svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni)Darkvater
2006-12-27(svn r7575) -Codechange: Allow the AI to build signals under bridges (revert ↵celestar
r4911)
2006-12-27(svn r7574) WebTranslator2 update to 2006-12-27 14:23:53miham
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(svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary ↵celestar
rail/road combinations (including signals)