KUDr
2ac1ba423d
(svn r7133) - Fix: Can't build oil refinery in other climates than temperate.
18 years ago
Darkvater
d550c47c9a
(svn r7131) -Fix (r7126) which fixes (r2817) the activating of a function call that was
...
1. never executed before that and even if it would, it
2. could never be executed because if it did OpenTTD would crash
18 years ago
Darkvater
47e7ad7771
(svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with
...
some special values (WDP_) instead of checking window-class. This also fixes FS#172
now that we can position windows arbitrarily and are not restricted to window-classes.
18 years ago
Darkvater
21db9ebb8e
(svn r7129) -Codechange: Get rid of a global variable that only sets a window's number.
18 years ago
Darkvater
d50f6c8a8c
(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
18 years ago
Darkvater
0d9f80839f
(svn r7127) -Codechange [FS#149]: Improve the usability of the signal-dragger, do not bail out
...
at (certain) errors, just silently ignore them.
18 years ago
Darkvater
d0e0b78a32
(svn r7126) -Synchronize the engine-renew settings of a player when joining a multiplayer game.
18 years ago
Darkvater
73ca5faa2e
(svn r7125) -Fix: Several errors/glitches related to multiplayer and bankrupcy, mainly such a
...
thing happening to a server, and non updated company-information. Also fixes FS#393.
18 years ago
Darkvater
82f7140357
(svn r7124) -Fix (r37xx): sizeof(bool) = 4 for (certain) OSX do not assume it is 1. This would break
...
the saving of certain values to the config. Thanks PandaMojo ford ebugging.
18 years ago
belugas
ebd054b8d8
(svn r7121) -Fix(r1): Tell the town that this player has built a statue only if it really did happened
18 years ago
Darkvater
fd2b3d3e14
(svn r7120) -Fix (r6631): A town size of 0 in the scenario editor is a random size. So to get a size
...
you need it between 1 and 3 and therefore there is no one-on-one correspondence between
widget-numbers and town-size. Based on a patch by Maedhros
18 years ago
miham
061f9ee5d5
(svn r7116) WebTranslator2 update to 2006-11-08 19:31:08
...
ukrainian - 7 fixed, 18 changed by znikoz (25)
18 years ago
peter1138
6a2583c43f
(svn r7115) -Fix [FS#371]: Cloning a vehicle that has been refitted would incur the expense as running costs, not new vehicles.
18 years ago
peter1138
2c17c649af
(svn r7114) -Codechange: [NewStations] Free up custom station layouts
18 years ago
peter1138
0aa8c0123a
(svn r7113) -Codechange: [NewStations] Add support for copying custom station layouts
18 years ago
peter1138
c73578aae6
(svn r7112) -Codechange (r7106): Improve the test for determining if the rail type should be converted
18 years ago
tron
2ebd07ecfc
(svn r7111) After checking p1 in CmdBuildSingleRail() assign it to a variable railtype instead of using p1 in the function. Also assign p2 to track only after it has been checked for validity
18 years ago
peter1138
d830874c12
(svn r7110) -Fix: Do not let ships enter partial water tiles under bridges; they will travel up land...
18 years ago
belugas
cfd69f21ff
(svn r7109) -Codechange: use map accessor IsClearWaterTile
18 years ago
Darkvater
cb34a5ad34
(svn r7108) -Fix (r7106): signed/unsigned comparison warning
18 years ago
peter1138
f03125c656
(svn r7106) -Feature: Allow over-building of compatible railtypes, i.e. normal and
...
electrified rail. If building electrified rail, normal rail is upgraded
for you (for the normal cost).
18 years ago
miham
0b733ac28a
(svn r7104) WebTranslator2 update to 2006-11-07 19:41:56
...
german - 1 changed by Neonox (1)
portuguese - 5 fixed by izhirahider (5)
turkish - 8 fixed, 4 changed by jnmbk (12)
18 years ago
peter1138
c281cf028f
(svn r7102) -Codechange: Remove and hardcode unnecessary patch setting progress_update_interval
18 years ago
tron
e37b5d13bd
(svn r7101) Evaluate the necessary flags for libpng once per make run, not every time the CFLAGS/LIBS variables are used
18 years ago
tron
1dd5dfd3b3
(svn r7100) Evaluate the necessary flags for SDL once per make run, not every time the CFLAGS/LIBS variables are used
18 years ago
peter1138
9dfc42bb84
(svn r7099) -Fix (r4768): When changing the selected newstation type, ensure the station size chosen is permitted. If not, pick the first valid sizes.
18 years ago
Darkvater
c4e4fa98fd
(svn r7098) -Regression (r7094): Zoom buttons were not properly updated with a new/loaded game. The
...
good thing is, we got rid of even more magic code (tm)
18 years ago
peter1138
745a5b8cc3
(svn r7096) -Fix (r6995 (sort-of)): Don't set bit 6 when convert grf ver 6 language ids to use ver 7 format
18 years ago
Darkvater
293a89dd71
(svn r7095) -Codechange: Move MaxZoomIn function to viewport.h and change it to MaxZoomInOut
...
with a zoom parameter and a pointer to the window which's viewport we want to zoom.
18 years ago
Darkvater
65e051fe93
(svn r7094) -Codechange: Get rid of the window-specific code in DoZoomInOutWindow (enable, disable
...
buttons depending on calling window, game-mode); handle it by broadcasting messages
to the calling window, because that knows how and what buttons to set.
18 years ago
Darkvater
e90bc1681f
(svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h and rewrite the function
...
a bit more sensibly.
18 years ago
Darkvater
45366b4372
(svn r7092) -Codechange: Add function to send a window message to a whole class of windows,
...
SendWindowMessageClass().
18 years ago
tron
db98136bed
(svn r7091) Make some code a) shorter b) simpler c) not leak memory
18 years ago
peter1138
ca8605ebc5
(svn r7086) -Featurette: Add additional positioning for long dropdown lists: first, try to fit the dropdown below the calling widget, as before; second, try to fit it wholly above the calling widget; and lastly, fit the list below the widget and add a scrollbar.
18 years ago
miham
35e53249ed
(svn r7084) WebTranslator2 update to 2006-11-06 22:12:45
...
danish - 5 fixed, 25 changed by ThomasA (30)
italian - 5 changed by sidew (5)
turkish - 13 fixed by jnmbk (13)
18 years ago
belugas
54b0726d58
(svn r7083) -Fix 6631: Protect out of boundaries widget testing
18 years ago
peter1138
701c47fb4a
(svn r7080) -Codechange: Remove negative array indexes, and only add ", " when needed, when building station acceptance lists.
18 years ago
peter1138
3da04ab1b5
(svn r7079) -Codechange: Move an array to the only place it is used.
18 years ago
Darkvater
8371325a10
(svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport into proper push-buttons.
18 years ago
Darkvater
c94db0a929
(svn r7077) -Codechange: Send proper message to network window, and handle selection control in
...
there instead of calling function.
18 years ago
Darkvater
d327ffb0f4
(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
...
declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
18 years ago
Darkvater
c9a19c29fe
(svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! (r5549)
18 years ago
peter1138
62fc499370
(svn r7074) -Fix (r7073): stupid debugs
18 years ago
peter1138
6ebac79c45
(svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles
18 years ago
peter1138
7ab311cd69
(svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace the comment too...
18 years ago
peter1138
6f290da200
(svn r7070) -Codechange: Make the AI choose road vehicles based on a rating (currently max speed * capacity) instead of either the cost or the index of the vheicle.
18 years ago
KUDr
fd361b104d
(svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138)
18 years ago
tron
a763e7e52e
(svn r7068) if () cascades -> switch ()
18 years ago
tron
f9fa8437eb
(svn r7067) Remove the unused parameter params_3 from AddStringToDraw()
18 years ago
tron
24cce7bfa1
(svn r7066) -Codechange: Factorise common code
18 years ago