summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-13(svn r7137) -Codechange: [win32] Use windows function in main loop to check ↵Darkvater
if we have pressed ALT (for ALT+TAB) instead of magic global _pressed_key from input-loop. (KUDr)
2006-11-12(svn r7134) - Fix (r7133) Still can't build oil refinery in the desert ↵KUDr
climate (this time i tested it)
2006-11-12(svn r7133) - Fix: Can't build oil refinery in other climates than temperate.KUDr
2006-11-11(svn r7131) -Fix (r7126) which fixes (r2817) the activating of a function ↵Darkvater
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(svn r7130) -Codechange: Handle the positioning of windows through the ↵Darkvater
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(svn r7129) -Codechange: Get rid of a global variable that only sets a ↵Darkvater
window's number.
2006-11-10(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc ↵Darkvater
positioning WDP_AUTO = -1)
2006-11-10(svn r7127) -Codechange [FS#149]: Improve the usability of the ↵Darkvater
signal-dragger, do not bail out at (certain) errors, just silently ignore them.
2006-11-10(svn r7126) -Synchronize the engine-renew settings of a player when joining ↵Darkvater
a multiplayer game.
2006-11-10(svn r7125) -Fix: Several errors/glitches related to multiplayer and ↵Darkvater
bankrupcy, mainly such a thing happening to a server, and non updated company-information. Also fixes FS#393.
2006-11-10(svn r7124) -Fix (r37xx): sizeof(bool) = 4 for (certain) OSX do not assume ↵Darkvater
it is 1. This would break the saving of certain values to the config. Thanks PandaMojo ford ebugging.
2006-11-09(svn r7121) -Fix(r1): Tell the town that this player has built a statue only ↵belugas
if it really did happened
2006-11-09(svn r7120) -Fix (r6631): A town size of 0 in the scenario editor is a ↵Darkvater
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-08(svn r7116) WebTranslator2 update to 2006-11-08 19:31:08miham
ukrainian - 7 fixed, 18 changed by znikoz (25)
2006-11-08(svn r7115) -Fix [FS#371]: Cloning a vehicle that has been refitted would ↵peter1138
incur the expense as running costs, not new vehicles.
2006-11-08(svn r7114) -Codechange: [NewStations] Free up custom station layoutspeter1138
2006-11-08(svn r7113) -Codechange: [NewStations] Add support for copying custom ↵peter1138
station layouts
2006-11-08(svn r7112) -Codechange (r7106): Improve the test for determining if the ↵peter1138
rail type should be converted
2006-11-08(svn r7111) After checking p1 in CmdBuildSingleRail() assign it to a ↵tron
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(svn r7110) -Fix: Do not let ships enter partial water tiles under bridges; ↵peter1138
they will travel up land...
2006-11-08(svn r7109) -Codechange: use map accessor IsClearWaterTilebelugas
2006-11-07(svn r7108) -Fix (r7106): signed/unsigned comparison warningDarkvater
2006-11-07(svn r7106) -Feature: Allow over-building of compatible railtypes, i.e. ↵peter1138
normal and electrified rail. If building electrified rail, normal rail is upgraded for you (for the normal cost).
2006-11-07(svn r7104) WebTranslator2 update to 2006-11-07 19:41:56miham
german - 1 changed by Neonox (1) portuguese - 5 fixed by izhirahider (5) turkish - 8 fixed, 4 changed by jnmbk (12)
2006-11-07(svn r7102) -Codechange: Remove and hardcode unnecessary patch setting ↵peter1138
progress_update_interval
2006-11-07(svn r7101) Evaluate the necessary flags for libpng once per make run, not ↵tron
every time the CFLAGS/LIBS variables are used
2006-11-07(svn r7100) Evaluate the necessary flags for SDL once per make run, not ↵tron
every time the CFLAGS/LIBS variables are used
2006-11-07(svn r7099) -Fix (r4768): When changing the selected newstation type, ensure ↵peter1138
the station size chosen is permitted. If not, pick the first valid sizes.
2006-11-07(svn r7098) -Regression (r7094): Zoom buttons were not properly updated with ↵Darkvater
a new/loaded game. The good thing is, we got rid of even more magic code (tm)
2006-11-07(svn r7096) -Fix (r6995 (sort-of)): Don't set bit 6 when convert grf ver 6 ↵peter1138
language ids to use ver 7 format
2006-11-07(svn r7095) -Codechange: Move MaxZoomIn function to viewport.h and change it ↵Darkvater
to MaxZoomInOut with a zoom parameter and a pointer to the window which's viewport we want to zoom.
2006-11-07(svn r7094) -Codechange: Get rid of the window-specific code in ↵Darkvater
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(svn r7093) -Codechange: Move DoZoomInOutWindow declaration to viewport.h ↵Darkvater
and rewrite the function a bit more sensibly.
2006-11-07(svn r7092) -Codechange: Add function to send a window message to a whole ↵Darkvater
class of windows, SendWindowMessageClass().
2006-11-07(svn r7091) Make some code a) shorter b) simpler c) not leak memorytron
2006-11-06(svn r7086) -Featurette: Add additional positioning for long dropdown lists: ↵peter1138
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.
2006-11-06(svn r7084) WebTranslator2 update to 2006-11-06 22:12:45miham
danish - 5 fixed, 25 changed by ThomasA (30) italian - 5 changed by sidew (5) turkish - 13 fixed by jnmbk (13)
2006-11-06(svn r7083) -Fix 6631: Protect out of boundaries widget testingbelugas
2006-11-06(svn r7080) -Codechange: Remove negative array indexes, and only add ", " ↵peter1138
when needed, when building station acceptance lists.
2006-11-06(svn r7079) -Codechange: Move an array to the only place it is used.peter1138
2006-11-06(svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport ↵Darkvater
into proper push-buttons.
2006-11-06(svn r7077) -Codechange: Send proper message to network window, and handle ↵Darkvater
selection control in there instead of calling function.
2006-11-06(svn r7076) -Codechange: Prefer includes instead of using extern. Move ↵Darkvater
UpdateNetworkGameWindow declaration to network.h, and remove stale externs of NetworkPopulateCompanyInfo
2006-11-06(svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! ↵Darkvater
(r5549)
2006-11-05(svn r7074) -Fix (r7073): stupid debugspeter1138
2006-11-05(svn r7073) -Feature: Add cargo refit support to both AIs for road vehiclespeter1138
2006-11-05(svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace ↵peter1138
the comment too...
2006-11-05(svn r7070) -Codechange: Make the AI choose road vehicles based on a rating ↵peter1138
(currently max speed * capacity) instead of either the cost or the index of the vheicle.
2006-11-05(svn r7069) -Fix: AI tried to build road from the back or side of road ↵KUDr
stop/depot (peter1138)
2006-11-05(svn r7068) if () cascades -> switch ()tron