Commit Graph

5094 Commits

Author SHA1 Message Date
KUDr
e18c9f384d (svn r7162) -CodeChange: disabled compilation of unused code (Darkvater) 2006-11-15 23:47:52 +00:00
Darkvater
41733bacb0 (svn r7161) -Codechange: Update currency exchange rates... yes I'm bored ;p 2006-11-15 21:57:47 +00:00
Darkvater
d5c8a54666 (svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) 2006-11-15 21:51:16 +00:00
Darkvater
acc87fc9f0 (svn r7157) -Fix [FS#221, SF1168820]: Some mouse events possibly lost under high CPU load, handle
mouse input right away instead of waiting for GameLoop. (KUDr)
2006-11-15 21:01:19 +00:00
Darkvater
3328ceea9e (svn r7156) -Codechange: Remove obsolete variable, localize global variable, use GB and change logic
of the win32: TAB speeds up, but ALT+TAB doesn't code.
2006-11-15 19:49:16 +00:00
miham
7ba7bd0a49 (svn r7155) WebTranslator2 update to 2006-11-15 20:44:45
ukrainian  - 6 fixed, 2 changed by znikoz (8)
2006-11-15 19:45:16 +00:00
miham
977f12487d (svn r7154) [Translations] Added new language: serbian 2006-11-15 19:36:47 +00:00
Darkvater
eaddac35be (svn r7153) -Fix [FS#279]: Some keyboard events possibly lost under high CPU load, handle
keyboard input in place instead of global variables magic. (KUDr)
2006-11-15 19:35:52 +00:00
rubidium
791d20a011 (svn r7152) -Feature (FS#396): allow towns to be built on top of trees in the scenario editor. 2006-11-15 18:57:00 +00:00
miham
8be62234ed (svn r7149) WebTranslator2 update to 2006-11-14 18:26:05
estonian   - 1 fixed by vermon (1)
portuguese - 22 fixed by izhirahider (22)
turkish    - 2 fixed, 8 changed by jnmbk (10)
2006-11-14 17:26:41 +00:00
KUDr
6784e08945 (svn r7147) -CodeChange: Don't use references if they can refer to NULL (Tron) 2006-11-14 13:42:50 +00:00
KUDr
8a588f9cf1 (svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron) 2006-11-14 12:02:36 +00:00
tron
a0b44e744f (svn r7145) Remove extra semicolons 2006-11-14 11:01:59 +00:00
glx
50305fb253 (svn r7144) -Cleanup r7102: remove STR_CONFIG_PATCHES_PROGRESS_UPDATE_INTERVAL in lang files 2006-11-14 01:08:20 +00:00
glx
ada4bf0cf7 (svn r7143) -CodeChange: remove redondancy in saveload dialogs 2006-11-14 00:27:28 +00:00
glx
bc512e719f (svn r7142) -Fix: disable clone button in vehicle view for not owned vehicles (was already done for trains) 2006-11-14 00:02:02 +00:00
bjarni
0724b07575 (svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game
-Codechange: closing all windows for a player will now loop all windows and close those, which got the player as caption instead of having a list of windows to close
2006-11-13 20:33:51 +00:00
Darkvater
7a412adb71 (svn r7137) -Codechange: [win32] Use windows function in main loop to check if we have pressed ALT
(for ALT+TAB) instead of magic global _pressed_key from input-loop. (KUDr)
2006-11-13 19:35:31 +00:00
KUDr
d019abaf6b (svn r7134) - Fix (r7133) Still can't build oil refinery in the desert climate (this time i tested it) 2006-11-12 01:28:45 +00:00
KUDr
8d6fe990fe (svn r7133) - Fix: Can't build oil refinery in other climates than temperate. 2006-11-12 01:14:44 +00:00
Darkvater
ff8f301066 (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
2006-11-11 23:08:07 +00:00
Darkvater
cab930041a (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.
2006-11-11 10:12:00 +00:00
Darkvater
73b8d80036 (svn r7129) -Codechange: Get rid of a global variable that only sets a window's number. 2006-11-11 09:47:44 +00:00
Darkvater
e786cd5c6b (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1) 2006-11-10 19:24:14 +00:00
Darkvater
70eba6d525 (svn r7127) -Codechange [FS#149]: Improve the usability of the signal-dragger, do not bail out
at (certain) errors, just silently ignore them.
2006-11-10 19:04:27 +00:00
Darkvater
260b8f3f59 (svn r7126) -Synchronize the engine-renew settings of a player when joining a multiplayer game. 2006-11-10 18:34:19 +00:00
Darkvater
bd7649b080 (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.
2006-11-10 17:52:51 +00:00
Darkvater
c5723ab9af (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.
2006-11-10 11:45:50 +00:00
belugas
370e5446b1 (svn r7121) -Fix(r1): Tell the town that this player has built a statue only if it really did happened 2006-11-09 18:31:06 +00:00
Darkvater
8de434212e (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
2006-11-09 13:03:34 +00:00
miham
5d32907056 (svn r7116) WebTranslator2 update to 2006-11-08 19:31:08
ukrainian  - 7 fixed, 18 changed by znikoz (25)
2006-11-08 18:31:35 +00:00
peter1138
5471cc77ec (svn r7115) -Fix [FS#371]: Cloning a vehicle that has been refitted would incur the expense as running costs, not new vehicles. 2006-11-08 17:44:17 +00:00
peter1138
12a9d347d1 (svn r7114) -Codechange: [NewStations] Free up custom station layouts 2006-11-08 12:28:57 +00:00
peter1138
ddc420941d (svn r7113) -Codechange: [NewStations] Add support for copying custom station layouts 2006-11-08 12:17:14 +00:00
peter1138
2f6bc5add3 (svn r7112) -Codechange (r7106): Improve the test for determining if the rail type should be converted 2006-11-08 10:09:46 +00:00
tron
7673628161 (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 2006-11-08 09:18:27 +00:00
peter1138
f07ad4eda7 (svn r7110) -Fix: Do not let ships enter partial water tiles under bridges; they will travel up land... 2006-11-08 08:41:54 +00:00
belugas
5f139b74e5 (svn r7109) -Codechange: use map accessor IsClearWaterTile 2006-11-08 05:05:35 +00:00
Darkvater
8786045eab (svn r7108) -Fix (r7106): signed/unsigned comparison warning 2006-11-07 23:25:27 +00:00
peter1138
32c1de3be0 (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).
2006-11-07 22:34:59 +00:00
miham
47e63297a1 (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)
2006-11-07 18:42:31 +00:00
peter1138
37294114c3 (svn r7102) -Codechange: Remove and hardcode unnecessary patch setting progress_update_interval 2006-11-07 16:07:31 +00:00
tron
dd29f9d964 (svn r7101) Evaluate the necessary flags for libpng once per make run, not every time the CFLAGS/LIBS variables are used 2006-11-07 15:58:54 +00:00
tron
b92ccb7a98 (svn r7100) Evaluate the necessary flags for SDL once per make run, not every time the CFLAGS/LIBS variables are used 2006-11-07 15:53:20 +00:00
peter1138
c6b4834e10 (svn r7099) -Fix (r4768): When changing the selected newstation type, ensure the station size chosen is permitted. If not, pick the first valid sizes. 2006-11-07 15:25:07 +00:00
Darkvater
a254a5ea65 (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)
2006-11-07 14:41:53 +00:00
peter1138
c5439f8437 (svn r7096) -Fix (r6995 (sort-of)): Don't set bit 6 when convert grf ver 6 language ids to use ver 7 format 2006-11-07 13:09:44 +00:00
Darkvater
7c59305e96 (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.
2006-11-07 13:08:42 +00:00
Darkvater
3a2c773411 (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.
2006-11-07 13:06:02 +00:00
Darkvater
501fcb3465 (svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h and rewrite the function
a bit more sensibly.
2006-11-07 13:01:36 +00:00