Commit Graph

5724 Commits

Author SHA1 Message Date
bjarni
4cee3f0b06 (svn r7626) -Fix r7600: [OSX] building release dmg files no longer includes 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 21:46:21 +00:00
matthijs
a3e0d20c64 (svn r7625) * Change debian packaging version to support proper upgrading from/to release versions. 2006-12-29 21:30:31 +00:00
matthijs
3066eec864 (svn r7624) -Fix (FS#470): Also install openttd.32.bmp on make install, used as window icon by SDL (to be ported to 0.5). 2006-12-29 21:26:32 +00:00
KUDr
62f55edbe7 (svn r7623) - Fix: [YAPF] trains/roadvehs trying to enter the bridge ramp from under bridge rail/road (introduced by bridge merge r7573) 2006-12-29 18:40:02 +00:00
Darkvater
55e785d038 (svn r7622) -Codechange: Convert some more windows to ShowQuery. This includes the depot
sell-all popup, quit/abandon game. The language files committed in r7619 go with this.
2006-12-29 17:56:34 +00:00
Darkvater
18524958aa (svn r7621) -Codechange: Rework ShowQuery into a general modal popup window. 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 17:54:47 +00:00
KUDr
0ca54b8ecf (svn r7620) -Fix: [OPF] signal update was incorrectly propagated:
- 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 17:51:16 +00:00
Darkvater
17f42ef491 (svn r7619) -Feature (Internal): Add support for modal children. It's a window-child that
will block activity for the parent window until the modal popup is dismissed.
2006-12-29 17:16:12 +00:00
Darkvater
49eb2a91ab (svn r7618) -Feature: Add support for a parent<>child relationship in Window 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 17:07:41 +00:00
rubidium
664f1d1fa0 (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. 2006-12-29 16:40:22 +00:00
Darkvater
649b25bd11 (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.
2006-12-29 13:59:48 +00:00
miham
5bb559a978 (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)
2006-12-29 11:28:39 +00:00
rubidium
1e41e28026 (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. 2006-12-29 10:16:36 +00:00
rubidium
0d459f909c (svn r7607) -Codechange: remove direct map accesses for snow/desert on tunnels and bridges. 2006-12-29 09:10:44 +00:00
peter1138
9cb975f7f0 (svn r7606) -Codechange: [NewStations] Add support for variables 45 and 65. 2006-12-29 07:49:51 +00:00
Darkvater
88eb5014ce (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt 2006-12-29 00:06:31 +00:00
rubidium
6b572f1e1f (svn r7603) -Codechange (FS#481): update the Polish Town Name generator with Unicode characters (DDream). 2006-12-28 19:49:31 +00:00
Darkvater
f11a9c4b35 (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.
2006-12-28 19:38:09 +00:00
miham
9adab94ebd (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)
2006-12-28 18:45:24 +00:00
rubidium
fafafcc3f8 (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..
2006-12-28 18:01:22 +00:00
KUDr
78c503c020 (svn r7599) -Fix: (r7585, r7590) assert on load game that has some station with bigger spread-out than _patches.station_spread value (Celestar) 2006-12-28 17:45:31 +00:00
peter1138
691487b2fe (svn r7596) -Codechange: Always display tractive effort in kN. 2006-12-28 17:03:36 +00:00
peter1138
822646b9a9 (svn r7594) -Fix (r7522): GRF config list wasn't cleared when no GRFs should be used. 2006-12-28 16:11:07 +00:00
peter1138
e9e4ba8222 (svn r7592) -Feature: Add support for tractive effort to 'realistic' acceleration. 2006-12-28 13:18:07 +00:00
KUDr
02c07d2a86 (svn r7590) -Codechange: (r7585)
- use existing struct Rect instead of declaring new StationRect
 - use inline functions instead of macros
2006-12-28 11:52:12 +00:00
bjarni
d657aa97de (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)
2006-12-28 01:24:00 +00:00
bjarni
1f836aa995 (svn r7587) -Change: [OSX] updated readme about compiling a universal binary as the flag name changed, but didn't change in the readme 2006-12-28 01:13:55 +00:00
rubidium
16162ecd06 (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. 2006-12-28 00:57:56 +00:00
KUDr
69a43e5ade (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
eb4a2e45c3 (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
8a812544ec (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
1d6bd64c19 (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
23d20bd5f8 (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
3a1d7ccdac (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
fe202bc518 (svn r7578) -Fix r7577: fixed typo 2006-12-27 14:34:09 +00:00
Darkvater
09aa02542b (svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni) 2006-12-27 14:27:30 +00:00
celestar
091cc1cc4b (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911) 2006-12-27 13:48:57 +00:00
miham
eec3010fcf (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
d95e2c2dd1 (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
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