Commit Graph

9175 Commits (b47a151bcec9fe3f41ca8fad313aa2e155476cfe)
 

Author SHA1 Message Date
rubidium b47a151bce (svn r13037) -Codechange: make a class of the ReplaceVehicle window.
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
16 years ago
glx 356473efa5 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 16 years ago
rubidium c32559ac12 (svn r13035) -Codechange: remove two needless global-ish variables. 16 years ago
rubidium 3749323e23 (svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases. 16 years ago
smatz d41f3def5c (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 16 years ago
glx 6ad199d127 (svn r13032) -Codechange: make industry view window resizable and truncate strings 16 years ago
rubidium 83664c8bc4 (svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp. 16 years ago
rubidium 89c15ecb23 (svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth. 16 years ago
rubidium d24442ae8b (svn r13029) -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. 16 years ago
rubidium 935434333b (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 16 years ago
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
belugas e099831210 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 16 years ago
rubidium 68a1d75d9e (svn r13025) -Codechange: remove the need for two WindowEvents. 16 years ago
rubidium f438700402 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 16 years ago
peter1138 486172e07f (svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. 16 years ago
smatz 5e51833ee5 (svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one 16 years ago
rubidium 2ba05f8987 (svn r13021) -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. 16 years ago
glx bc514a7f51 (svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings 16 years ago
glx 0b37b81956 (svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) 16 years ago
rubidium ba853fdb0b (svn r13018) -Codechange: make a class of the LandInfo Window. 16 years ago
smatz 386a3f1d20 (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 16 years ago
rubidium 4a11ebe76f (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 16 years ago
glx 5fda77239e (svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings 16 years ago
rubidium d7e0dd6e82 (svn r13013) -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. 16 years ago
rubidium ea218de179 (svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function... 16 years ago
rubidium c74ca38970 (svn r13011) -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. 16 years ago
rubidium cd3dda5c0c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 16 years ago
rubidium cabd771fc0 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 16 years ago
glx e48a351f8e (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 16 years ago
rubidium f7b6a02b1e (svn r13007) -Fix: some files in source.list where in the wrong category. 16 years ago
rubidium 9ed36409c5 (svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there. 16 years ago
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
bjarni d3650ecb3a (svn r13002) -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)
16 years ago
bjarni 02709df7e3 (svn r13001) -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 16 years ago
glx 6e6102e20d (svn r13000) -Fix (r12991): broken win9x compilation 16 years ago
rubidium 19910188fa (svn r12999) -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. 16 years ago
rubidium 5e1516e486 (svn r12998) -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3. 16 years ago
glx c990d97291 (svn r12996) -Fix: debugging was not possible with MSVC 2008 16 years ago
smatz 3445b8054c (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT 16 years ago
smatz 220bc49731 (svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty 16 years ago
smatz c3822e3a90 (svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed 16 years ago
smatz 0c4715d825 (svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed 16 years ago
glx c2c9121307 (svn r12991) -Codechange: removed some unneeded includes 16 years ago
rubidium 694ba37377 (svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv. 16 years ago
rubidium cd7c99452f (svn r12989) -Codechange: move ViewportSign to viewport_type.h. 16 years ago
bjarni 0cfd2baa3c (svn r12988) -Fix [FS#1992](r12913): [autoreplace] failing to replace a road vehicle could free it's slot without the vehicle knowing it (leading to assert) 16 years ago
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium 7ccda80b0b (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
bjarni 8fea5a62c9 (svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files 16 years ago