------------------------------------------------------------------------ r7209 | peter1138 | 2006-11-18 17:34:20 +0000 (Sat, 18 Nov 2006) | 2 lines -Codechange: Alter position of scroll bar in the station list; the filter line isn't scrollable... ------------------------------------------------------------------------ r7208 | Darkvater | 2006-11-18 17:12:39 +0000 (Sat, 18 Nov 2006) | 1 line -Revert [r6040]: Remove double-click action in minimap and reintroduce lmb-scrolling (Rubidium) ------------------------------------------------------------------------ r7207 | Darkvater | 2006-11-18 17:07:05 +0000 (Sat, 18 Nov 2006) | 1 line -Codechange: Pass the (unchanged) windowpointer to the console window and do it only once. ------------------------------------------------------------------------ r7206 | Darkvater | 2006-11-18 17:04:44 +0000 (Sat, 18 Nov 2006) | 2 lines -Codechange: Remove (some of) the magic needed for windows that could be invalid after a call to DeleteWindow() somewhere else. Also do some cleanup with AllowWindowDescFront() ------------------------------------------------------------------------ r7205 | Darkvater | 2006-11-18 16:47:02 +0000 (Sat, 18 Nov 2006) | 6 lines -Fix [FS#350, SF#1560913]: Window allocation and deletion messed with the actual window structs inside their array, and possibly invalidating pointers higher up. Meaning that any function called within an wndproc could cause unknown/invalid pointers once control was returned to this function. Solved by the introduction of an extra abstraction layer, an array of z-window positions that is only concerned with the pointers. ------------------------------------------------------------------------ r7203 | Darkvater | 2006-11-18 13:55:44 +0000 (Sat, 18 Nov 2006) | 1 line -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3) ------------------------------------------------------------------------ r7202 | Darkvater | 2006-11-18 13:54:33 +0000 (Sat, 18 Nov 2006) | 2 lines -Codechange: Move _viewports and _active_viewports local to viewport.c and have them called from the appropiate places in window.c ------------------------------------------------------------------------ r7201 | Darkvater | 2006-11-18 00:44:09 +0000 (Sat, 18 Nov 2006) | 1 line -Codechange: Use goto's to loop _windows when there is a change you need to start over ------------------------------------------------------------------------ r7200 | Darkvater | 2006-11-18 00:14:43 +0000 (Sat, 18 Nov 2006) | 3 lines -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById instead of _windows loop (viewport.c), remove dump-code (mixer.c), MSVC6 borkdness in stdafx.h, constness (viewport.c), variable localization (win32.c), comments (window.c) ------------------------------------------------------------------------ r7199 | Darkvater | 2006-11-17 23:29:22 +0000 (Fri, 17 Nov 2006) | 1 line -Codechange: [utf8] Make strtolower and str_strip_colours UTF8 aware. ------------------------------------------------------------------------ r7198 | belugas | 2006-11-17 23:01:58 +0000 (Fri, 17 Nov 2006) | 5 lines -Codechange: Implement a circular tile search function. Just provide the number of tiles per side, a pointer to a test function, the tile to start searching and voila. Fixes [FS#364] by removing a lengthy and suboptimal random search pattern. Thanks Rubidium. ------------------------------------------------------------------------ r7196 | rubidium | 2006-11-17 22:15:55 +0000 (Fri, 17 Nov 2006) | 2 lines -Feature: use fontconfig so one can set the font family name in openttd.cfg instead of the full path to the font. ------------------------------------------------------------------------ r7195 | KUDr | 2006-11-17 19:31:44 +0000 (Fri, 17 Nov 2006) | 2 lines -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'. (original patch by maedhros, ideas: peter1138, Darkvater, Rubidium, Patrick, Eddi|zuHause, ..) ------------------------------------------------------------------------ r7194 | rubidium | 2006-11-17 18:06:40 +0000 (Fri, 17 Nov 2006) | 2 lines -Fix (FS#237): the electric rail type was not set correctly for NewGRFs where the engine traction type was set before the track type of the trains. ------------------------------------------------------------------------ r7191 | peter1138 | 2006-11-17 11:03:38 +0000 (Fri, 17 Nov 2006) | 2 lines -Feature: Add NewGRF support for 32 bit dates, allowing vehicles and bridges to be available before 1920. ------------------------------------------------------------------------ r7190 | KUDr | 2006-11-17 10:42:20 +0000 (Fri, 17 Nov 2006) | 5 lines -Fix: If the non-player-based _patches setting was changed on the server during MP game, the callback function was: 1. Called only on the server but not on its clients. 2. Was called before the setting change occurred (usually with no effect) 3. Received old 'p1' argument value intead of new one It could cause some MP desyncs in the future. ------------------------------------------------------------------------ r7187 | Darkvater | 2006-11-17 10:06:11 +0000 (Fri, 17 Nov 2006) | 1 line -CodeChange: [win32] Limit success of ToUnicode/ToAscii to only one translated character as we only support one and remove TranslateMessage() call since we do not use it anyways (glx) ------------------------------------------------------------------------ r7185 | peter1138 | 2006-11-17 07:46:02 +0000 (Fri, 17 Nov 2006) | 2 lines -Codechange: Make strgen validate strings for UTF-8 well-formed-ness-ness ------------------------------------------------------------------------ r7184 | peter1138 | 2006-11-17 07:35:12 +0000 (Fri, 17 Nov 2006) | 2 lines -Codechange: Convert Catalan name generator to UTF-8 ------------------------------------------------------------------------ r7183 | peter1138 | 2006-11-16 22:19:12 +0000 (Thu, 16 Nov 2006) | 2 lines -Feature (cont): Convert all language from ISO8859-15 to UTF-8 ------------------------------------------------------------------------ r7182 | peter1138 | 2006-11-16 22:05:33 +0000 (Thu, 16 Nov 2006) | 2 lines -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. ------------------------------------------------------------------------ r7179 | Darkvater | 2006-11-16 20:57:23 +0000 (Thu, 16 Nov 2006) | 4 lines -Codechange (r7173): Actually "prefer" team chat through the patch setting instead of always sending to teammate if the patch is on even if you do not have any allies. So with setting off you always send to 'all players', with setting on you send to teammates if you have any, otherwise to all players. ------------------------------------------------------------------------ r7178 | KUDr | 2006-11-16 20:52:39 +0000 (Thu, 16 Nov 2006) | 1 line -Fix: forgotten pointer dereferences (Bjarni, Bjarni, Bjarni, ...) ------------------------------------------------------------------------ r7176 | glx | 2006-11-16 18:41:57 +0000 (Thu, 16 Nov 2006) | 1 line -Fix: remove button was not always disabled when it should have been (rail/road build toolbar) ------------------------------------------------------------------------ r7175 | rubidium | 2006-11-16 18:33:55 +0000 (Thu, 16 Nov 2006) | 2 lines -Fix: remove English (i.e. untranslated) strings from the Ukrainian language file. ------------------------------------------------------------------------ r7174 | KUDr | 2006-11-16 17:59:02 +0000 (Thu, 16 Nov 2006) | 1 line -CodeChange: CheckStationSpreadOut() now uses MergePoint() for bounding rectangle calculation. ------------------------------------------------------------------------ r7173 | Darkvater | 2006-11-16 17:44:04 +0000 (Thu, 16 Nov 2006) | 1 line -Codechange (r6824): Allow the user to change the chat-destination when chatting with or 'T' instead of the game choosing one for you automatically. ------------------------------------------------------------------------ r7172 | Darkvater | 2006-11-16 17:41:24 +0000 (Thu, 16 Nov 2006) | 2 lines -Fix [r6931]: The console showed '?' characters instead of colours. Now strip all colours for the console. It's a bit magicky (magic numbers) but UTF8 fixes that soon. ------------------------------------------------------------------------ r7171 | miham | 2006-11-16 17:15:26 +0000 (Thu, 16 Nov 2006) | 6 lines WebTranslator2 update to 2006-11-16 18:14:50 bulgarian - 2 fixed, 3 deleted, 2 changed by kokobongo (7) dutch - 2 fixed by habell (2) italian - 2 fixed by sidew (2) slovak - 1 fixed by lengyel (1) ------------------------------------------------------------------------ r7170 | Darkvater | 2006-11-16 16:50:54 +0000 (Thu, 16 Nov 2006) | 2 lines -Fix: [sdl] Non-working console toggle for some keyboard layouts. Do not OR the backquote character but set it. Happened on Linux with Hungarian keyboard for example. ------------------------------------------------------------------------ r7169 | KUDr | 2006-11-16 16:18:00 +0000 (Thu, 16 Nov 2006) | 1 line -Fix: [FS#388] Station sign (and base station coordinates) didn't move along with station when station moved by walking. (HMage) ------------------------------------------------------------------------ r7167 | KUDr | 2006-11-16 13:59:26 +0000 (Thu, 16 Nov 2006) | 1 line -Fix: [FS#367] Crash: engine.h:194: RailVehInfo: Assertion (reported by skidd13) ------------------------------------------------------------------------ r7166 | KUDr | 2006-11-16 12:31:38 +0000 (Thu, 16 Nov 2006) | 1 line -Fix: [FS#402] MiniMap was misplacing vehicles sometimes (HMage) ------------------------------------------------------------------------ r7164 | KUDr | 2006-11-16 10:51:42 +0000 (Thu, 16 Nov 2006) | 1 line -Fix: [YAPF] assert when look-ahead polynomial result (red-signal penalty) is negative. Such penalty is now added as positive penalty for the appropriate green signal. (DannyA) ------------------------------------------------------------------------ r7163 | Darkvater | 2006-11-16 00:09:39 +0000 (Thu, 16 Nov 2006) | 1 line -Codechange: Disable compilation of additional yapf code. ------------------------------------------------------------------------ r7162 | KUDr | 2006-11-15 23:47:52 +0000 (Wed, 15 Nov 2006) | 1 line -CodeChange: disabled compilation of unused code (Darkvater) ------------------------------------------------------------------------ r7161 | Darkvater | 2006-11-15 21:57:47 +0000 (Wed, 15 Nov 2006) | 1 line -Codechange: Update currency exchange rates... yes I'm bored ;p ------------------------------------------------------------------------ r7160 | Darkvater | 2006-11-15 21:51:16 +0000 (Wed, 15 Nov 2006) | 1 line -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) ------------------------------------------------------------------------ r7157 | Darkvater | 2006-11-15 21:01:19 +0000 (Wed, 15 Nov 2006) | 3 lines -Fix [FS#221, SF1168820]: Some mouse events possibly lost under high CPU load, handle mouse input right away instead of waiting for GameLoop. (KUDr) ------------------------------------------------------------------------ r7156 | Darkvater | 2006-11-15 19:49:16 +0000 (Wed, 15 Nov 2006) | 2 lines -Codechange: Remove obsolete variable, localize global variable, use GB and change logic of the win32: TAB speeds up, but ALT+TAB doesn't code. ------------------------------------------------------------------------ r7155 | miham | 2006-11-15 19:45:16 +0000 (Wed, 15 Nov 2006) | 3 lines WebTranslator2 update to 2006-11-15 20:44:45 ukrainian - 6 fixed, 2 changed by znikoz (8) ------------------------------------------------------------------------ r7154 | miham | 2006-11-15 19:36:47 +0000 (Wed, 15 Nov 2006) | 1 line [Translations] Added new language: serbian ------------------------------------------------------------------------ r7153 | Darkvater | 2006-11-15 19:35:52 +0000 (Wed, 15 Nov 2006) | 2 lines -Fix [FS#279]: Some keyboard events possibly lost under high CPU load, handle keyboard input in place instead of global variables magic. (KUDr) ------------------------------------------------------------------------ r7152 | rubidium | 2006-11-15 18:57:00 +0000 (Wed, 15 Nov 2006) | 2 lines -Feature (FS#396): allow towns to be built on top of trees in the scenario editor. ------------------------------------------------------------------------ r7149 | miham | 2006-11-14 17:26:41 +0000 (Tue, 14 Nov 2006) | 5 lines 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) ------------------------------------------------------------------------ r7147 | KUDr | 2006-11-14 13:42:50 +0000 (Tue, 14 Nov 2006) | 1 line -CodeChange: Don't use references if they can refer to NULL (Tron) ------------------------------------------------------------------------ r7146 | KUDr | 2006-11-14 12:02:36 +0000 (Tue, 14 Nov 2006) | 1 line -CodeChange: ST_CONST macro removed as it is no longer needed (Tron) ------------------------------------------------------------------------ r7145 | tron | 2006-11-14 11:01:59 +0000 (Tue, 14 Nov 2006) | 1 line Remove extra semicolons ------------------------------------------------------------------------ r7144 | glx | 2006-11-14 01:08:20 +0000 (Tue, 14 Nov 2006) | 1 line -Cleanup r7102: remove STR_CONFIG_PATCHES_PROGRESS_UPDATE_INTERVAL in lang files ------------------------------------------------------------------------ r7143 | glx | 2006-11-14 00:27:28 +0000 (Tue, 14 Nov 2006) | 1 line -CodeChange: remove redondancy in saveload dialogs ------------------------------------------------------------------------ r7142 | glx | 2006-11-14 00:02:02 +0000 (Tue, 14 Nov 2006) | 1 line -Fix: disable clone button in vehicle view for not owned vehicles (was already done for trains) ------------------------------------------------------------------------ r7138 | bjarni | 2006-11-13 20:33:51 +0000 (Mon, 13 Nov 2006) | 3 lines -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 ------------------------------------------------------------------------ r7137 | Darkvater | 2006-11-13 19:35:31 +0000 (Mon, 13 Nov 2006) | 2 lines -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) ------------------------------------------------------------------------ r7134 | KUDr | 2006-11-12 01:28:45 +0000 (Sun, 12 Nov 2006) | 1 line - Fix (r7133) Still can't build oil refinery in the desert climate (this time i tested it) ------------------------------------------------------------------------ r7133 | KUDr | 2006-11-12 01:14:44 +0000 (Sun, 12 Nov 2006) | 1 line - Fix: Can't build oil refinery in other climates than temperate. ------------------------------------------------------------------------ r7131 | Darkvater | 2006-11-11 23:08:07 +0000 (Sat, 11 Nov 2006) | 3 lines -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 ------------------------------------------------------------------------