------------------------------------------------------------------------ r13032 | glx | 2008-05-10 15:58:22 +0000 (Sat, 10 May 2008) | 1 line -Codechange: make industry view window resizable and truncate strings ------------------------------------------------------------------------ r13031 | rubidium | 2008-05-10 13:54:20 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp. ------------------------------------------------------------------------ r13030 | rubidium | 2008-05-10 13:53:11 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth. ------------------------------------------------------------------------ r13029 | rubidium | 2008-05-10 13:46:36 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme. ------------------------------------------------------------------------ r13028 | rubidium | 2008-05-10 12:30:27 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. ------------------------------------------------------------------------ r13027 | rubidium | 2008-05-10 08:58:52 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. ------------------------------------------------------------------------ r13026 | belugas | 2008-05-10 02:59:52 +0000 (Sat, 10 May 2008) | 1 line -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) ------------------------------------------------------------------------ r13025 | rubidium | 2008-05-09 15:27:00 +0000 (Fri, 09 May 2008) | 2 lines -Codechange: remove the need for two WindowEvents. ------------------------------------------------------------------------ r13024 | rubidium | 2008-05-09 09:29:27 +0000 (Fri, 09 May 2008) | 2 lines -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. ------------------------------------------------------------------------ r13023 | peter1138 | 2008-05-09 07:47:30 +0000 (Fri, 09 May 2008) | 2 lines -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. ------------------------------------------------------------------------ r13022 | smatz | 2008-05-08 23:26:17 +0000 (Thu, 08 May 2008) | 1 line -Fix: driver list wasn't freed, replace by statically allocated one ------------------------------------------------------------------------ r13021 | rubidium | 2008-05-08 22:53:49 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan. ------------------------------------------------------------------------ r13020 | glx | 2008-05-08 21:09:21 +0000 (Thu, 08 May 2008) | 1 line -Codechange: make industry directory window horizontally resizable and truncate strings ------------------------------------------------------------------------ r13019 | glx | 2008-05-08 20:05:32 +0000 (Thu, 08 May 2008) | 1 line -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) ------------------------------------------------------------------------ r13018 | rubidium | 2008-05-08 19:26:55 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: make a class of the LandInfo Window. ------------------------------------------------------------------------ r13016 | smatz | 2008-05-08 16:48:29 +0000 (Thu, 08 May 2008) | 1 line -Codechange: unify the detection if rail catenary should be drawn ------------------------------------------------------------------------ r13015 | rubidium | 2008-05-08 14:14:16 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. ------------------------------------------------------------------------ r13014 | glx | 2008-05-08 14:04:52 +0000 (Thu, 08 May 2008) | 1 line -Fix (r13008): mingw revealed some signed/unsigned warnings ------------------------------------------------------------------------ r13013 | rubidium | 2008-05-08 13:51:15 +0000 (Thu, 08 May 2008) | 2 lines -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling. ------------------------------------------------------------------------ r13012 | rubidium | 2008-05-08 13:48:34 +0000 (Thu, 08 May 2008) | 2 lines -Fix (r13011): the PlaceProc that was moved depended on another function... ------------------------------------------------------------------------ r13011 | rubidium | 2008-05-08 13:30:50 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the place where it is used and remove some unneeded globalisations of some other PlaceProc functions. ------------------------------------------------------------------------ r13010 | rubidium | 2008-05-08 13:29:35 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move the tree building GUI out of misc_gui.cpp. ------------------------------------------------------------------------ r13009 | rubidium | 2008-05-08 13:21:55 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. ------------------------------------------------------------------------ r13008 | glx | 2008-05-08 13:20:54 +0000 (Thu, 08 May 2008) | 1 line -Fix [FS#1997]: silence some MSVC x64 warnings ------------------------------------------------------------------------ r13007 | rubidium | 2008-05-08 13:06:12 +0000 (Thu, 08 May 2008) | 2 lines -Fix: some files in source.list where in the wrong category. ------------------------------------------------------------------------ r13006 | rubidium | 2008-05-08 12:59:47 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there. ------------------------------------------------------------------------ r13005 | rubidium | 2008-05-08 11:50:34 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: prepare AllocateWindowDescFront for subclassing of Window. ------------------------------------------------------------------------ r13004 | rubidium | 2008-05-08 11:31:41 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. ------------------------------------------------------------------------ r13002 | bjarni | 2008-05-07 23:00:11 +0000 (Wed, 07 May 2008) | 3 lines -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not) ------------------------------------------------------------------------ r13001 | bjarni | 2008-05-07 22:08:20 +0000 (Wed, 07 May 2008) | 2 lines -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid ------------------------------------------------------------------------ r13000 | glx | 2008-05-07 21:51:13 +0000 (Wed, 07 May 2008) | 1 line -Fix (r12991): broken win9x compilation ------------------------------------------------------------------------ r12999 | rubidium | 2008-05-07 21:45:27 +0000 (Wed, 07 May 2008) | 2 lines -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults. ------------------------------------------------------------------------ r12998 | rubidium | 2008-05-07 21:42:17 +0000 (Wed, 07 May 2008) | 2 lines -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3. ------------------------------------------------------------------------ r12996 | glx | 2008-05-07 20:10:48 +0000 (Wed, 07 May 2008) | 1 line -Fix: debugging was not possible with MSVC 2008 ------------------------------------------------------------------------ r12995 | smatz | 2008-05-07 18:31:29 +0000 (Wed, 07 May 2008) | 1 line -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT ------------------------------------------------------------------------ r12994 | smatz | 2008-05-07 18:14:09 +0000 (Wed, 07 May 2008) | 1 line -Fix (r12976): another case main toolbar wasn't marked dirty ------------------------------------------------------------------------ r12993 | smatz | 2008-05-07 17:36:28 +0000 (Wed, 07 May 2008) | 1 line -Fix (r11175): list used for sorting GRFs wasn't freed ------------------------------------------------------------------------ r12992 | smatz | 2008-05-07 15:53:58 +0000 (Wed, 07 May 2008) | 1 line -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed ------------------------------------------------------------------------ r12991 | glx | 2008-05-07 14:12:20 +0000 (Wed, 07 May 2008) | 1 line -Codechange: removed some unneeded includes ------------------------------------------------------------------------ r12990 | rubidium | 2008-05-07 13:37:53 +0000 (Wed, 07 May 2008) | 2 lines -Fix: silence the redundanct declaration warning when compiling with iconv. ------------------------------------------------------------------------ r12989 | rubidium | 2008-05-07 13:18:33 +0000 (Wed, 07 May 2008) | 2 lines -Codechange: move ViewportSign to viewport_type.h. ------------------------------------------------------------------------ r12988 | bjarni | 2008-05-07 13:11:33 +0000 (Wed, 07 May 2008) | 2 lines -Fix [FS#1992](r12913): [autoreplace] failing to replace a road vehicle could free it's slot without the vehicle knowing it (leading to assert) ------------------------------------------------------------------------ r12987 | rubidium | 2008-05-07 13:10:15 +0000 (Wed, 07 May 2008) | 2 lines -Codechange: split viewport and tile selection. ------------------------------------------------------------------------ r12986 | rubidium | 2008-05-07 09:07:19 +0000 (Wed, 07 May 2008) | 2 lines -Codechange: move the landscape and transport related types from openttd.h to their own headers. ------------------------------------------------------------------------ r12985 | bjarni | 2008-05-07 08:38:56 +0000 (Wed, 07 May 2008) | 2 lines -Fix (r12977): [OSX] fixed missing includes in the cocoa files ------------------------------------------------------------------------ r12984 | rubidium | 2008-05-07 08:27:55 +0000 (Wed, 07 May 2008) | 2 lines -Codechange: some coding style in window.cpp. ------------------------------------------------------------------------ r12983 | belugas | 2008-05-07 00:04:40 +0000 (Wed, 07 May 2008) | 1 line -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin ------------------------------------------------------------------------ r12982 | smatz | 2008-05-06 23:45:25 +0000 (Tue, 06 May 2008) | 1 line -Fix: compiler warning when compiling without asserts ------------------------------------------------------------------------ r12981 | glx | 2008-05-06 23:43:47 +0000 (Tue, 06 May 2008) | 1 line -Codechange: remove some useless includes and defines ------------------------------------------------------------------------ r12980 | rubidium | 2008-05-06 22:50:55 +0000 (Tue, 06 May 2008) | 2 lines -Fix: MorphOS threading support. Patch by Fabien Coeurjoly. ------------------------------------------------------------------------ r12979 | rubidium | 2008-05-06 22:42:10 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: support using MORPHOS in sources.list. ------------------------------------------------------------------------ r12978 | rubidium | 2008-05-06 22:41:28 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai. ------------------------------------------------------------------------ r12977 | rubidium | 2008-05-06 22:17:12 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: remove quite some redundant (duplicate) function declarations. ------------------------------------------------------------------------ r12976 | rubidium | 2008-05-06 22:08:18 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. ------------------------------------------------------------------------ r12975 | rubidium | 2008-05-06 21:28:30 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: replace DeleteWindow(w) with delete w. ------------------------------------------------------------------------ r12974 | rubidium | 2008-05-06 21:07:47 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: check whether loading/saving highscores goes as it should be. ------------------------------------------------------------------------ r12973 | peter1138 | 2008-05-06 17:24:27 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites... ------------------------------------------------------------------------ r12972 | glx | 2008-05-06 15:36:55 +0000 (Tue, 06 May 2008) | 1 line -Fix (r12971): forgot to close a comment ------------------------------------------------------------------------ r12971 | rubidium | 2008-05-06 15:11:33 +0000 (Tue, 06 May 2008) | 2 lines -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. ------------------------------------------------------------------------ r12970 | glx | 2008-05-06 15:06:19 +0000 (Tue, 06 May 2008) | 1 line -Codechange: coding style for some function names ------------------------------------------------------------------------ r12969 | rubidium | 2008-05-06 14:24:33 +0000 (Tue, 06 May 2008) | 2 lines -Codechange: remove a completely pointless file. ------------------------------------------------------------------------ r12968 | maedhros | 2008-05-06 10:31:50 +0000 (Tue, 06 May 2008) | 2 lines -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address. ------------------------------------------------------------------------ r12967 | glx | 2008-05-05 23:04:24 +0000 (Mon, 05 May 2008) | 1 line -Fix (r12966): my lang update script failed ------------------------------------------------------------------------ r12966 | glx | 2008-05-05 22:52:49 +0000 (Mon, 05 May 2008) | 1 line -Update: apply english.txt changes from r12965 to other languages ------------------------------------------------------------------------ r12965 | glx | 2008-05-05 22:42:06 +0000 (Mon, 05 May 2008) | 1 line -Codechange: add support for callback 37 in industries directory window ------------------------------------------------------------------------ r12964 | glx | 2008-05-05 22:37:40 +0000 (Mon, 05 May 2008) | 1 line -Codechange: rewrite callback 37 related code so it will be easier to add supported windows ------------------------------------------------------------------------ r12963 | rubidium | 2008-05-05 22:35:33 +0000 (Mon, 05 May 2008) | 2 lines -Fix (r12960): loading some NewGRFs could cause an infinite loop. ------------------------------------------------------------------------ r12962 | smatz | 2008-05-05 22:22:12 +0000 (Mon, 05 May 2008) | 1 line -Fix (r12961): forgot one break ------------------------------------------------------------------------ r12961 | smatz | 2008-05-05 22:03:01 +0000 (Mon, 05 May 2008) | 1 line -Codechange: store the type of savegame we are loading in a global variable ------------------------------------------------------------------------ r12960 | rubidium | 2008-05-05 21:54:05 +0000 (Mon, 05 May 2008) | 2 lines -Codechange: handle return values of (some) file system related functions. ------------------------------------------------------------------------ r12959 | glx | 2008-05-05 21:09:03 +0000 (Mon, 05 May 2008) | 1 line -Fix: don't assume no production when the first produced cargo is invalid in industries directory ------------------------------------------------------------------------ r12958 | peter1138 | 2008-05-05 19:02:10 +0000 (Mon, 05 May 2008) | 2 lines -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded. ------------------------------------------------------------------------ r12957 | rubidium | 2008-05-05 18:27:57 +0000 (Mon, 05 May 2008) | 2 lines -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case. ------------------------------------------------------------------------ r12956 | belugas | 2008-05-05 16:05:36 +0000 (Mon, 05 May 2008) | 1 line -Codechange: Code-style application on switch-case aligment ------------------------------------------------------------------------ r12955 | smatz | 2008-05-05 15:07:09 +0000 (Mon, 05 May 2008) | 1 line -Fix (r12858): compilation with desync debug was broken ------------------------------------------------------------------------ r12953 | peter1138 | 2008-05-05 11:36:43 +0000 (Mon, 05 May 2008) | 2 lines -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. ------------------------------------------------------------------------ r12952 | peter1138 | 2008-05-05 11:24:58 +0000 (Mon, 05 May 2008) | 2 lines -Cleanup: Indenting and codestyle ------------------------------------------------------------------------ r12951 | belugas | 2008-05-05 02:11:12 +0000 (Mon, 05 May 2008) | 1 line -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values. ------------------------------------------------------------------------ r12950 | belugas | 2008-05-05 02:02:32 +0000 (Mon, 05 May 2008) | 1 line -Fix: two includes is one too much ------------------------------------------------------------------------ r12949 | rubidium | 2008-05-04 22:57:50 +0000 (Sun, 04 May 2008) | 2 lines -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces. ------------------------------------------------------------------------ r12948 | rubidium | 2008-05-04 22:38:18 +0000 (Sun, 04 May 2008) | 2 lines -Fix [FS#1982]: all vehicles would be available when an original scenario would be played. ------------------------------------------------------------------------ r12947 | glx | 2008-05-04 22:32:25 +0000 (Sun, 04 May 2008) | 1 line -Fix: keep only first 15 bits for non failed callback results ------------------------------------------------------------------------ r12946 | rubidium | 2008-05-04 22:19:44 +0000 (Sun, 04 May 2008) | 2 lines -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway. ------------------------------------------------------------------------ r12945 | rubidium | 2008-05-04 22:13:47 +0000 (Sun, 04 May 2008) | 2 lines -Fix: (small) memory leak when joining/exiting threads. ------------------------------------------------------------------------ r12944 | smatz | 2008-05-04 21:53:36 +0000 (Sun, 04 May 2008) | 1 line -Codechange: use rev.h instead of externs at many places ------------------------------------------------------------------------ r12943 | rubidium | 2008-05-04 21:47:36 +0000 (Sun, 04 May 2008) | 2 lines -Fix: reading/modifying invalid data under some circumstances. ------------------------------------------------------------------------ r12942 | rubidium | 2008-05-04 21:36:37 +0000 (Sun, 04 May 2008) | 2 lines -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes. ------------------------------------------------------------------------ r12941 | rubidium | 2008-05-04 10:05:50 +0000 (Sun, 04 May 2008) | 2 lines -Codechange: don't access wndproc directly. Patch by Alberth. ------------------------------------------------------------------------ r12940 | bjarni | 2008-05-04 10:05:35 +0000 (Sun, 04 May 2008) | 2 lines -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well ------------------------------------------------------------------------ r12939 | rubidium | 2008-05-04 09:39:16 +0000 (Sun, 04 May 2008) | 2 lines -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number. ------------------------------------------------------------------------ r12938 | rubidium | 2008-05-04 08:56:59 +0000 (Sun, 04 May 2008) | 2 lines -Codechange: coding style fixes. Patch by Alberth. ------------------------------------------------------------------------ r12937 | rubidium | 2008-05-04 08:49:57 +0000 (Sun, 04 May 2008) | 2 lines -Codechange: split allocating and finding the spot to place a window. Patch by Alberth. ------------------------------------------------------------------------ r12936 | rubidium | 2008-05-04 08:38:21 +0000 (Sun, 04 May 2008) | 2 lines -Doc: a few structs in geometry_type.hpp. Patch by Alberth. ------------------------------------------------------------------------