summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-11(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.rubidium
2008-05-11(svn r13044) -Fix: deleting an already deleted window.rubidium
2008-05-11(svn r13043) -Codechange: remove some duplicate variables from news_d.rubidium
2008-05-11(svn r13042) -Codechange: make a class of CreateScenarioWindow, ↵rubidium
GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
2008-05-11(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-11(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.rubidium
2008-05-11(svn r13039) -Codechange: make a class of the Query window.rubidium
2008-05-11(svn r13038) -Fix: When switching the signal gui patch to off, delete the ↵belugas
signal window accordingly
2008-05-10(svn r13037) -Codechange: make a class of the ReplaceVehicle window.rubidium
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
2008-05-10(svn r13036) -Codechange: make a class of the BuildIndustry Window.glx
2008-05-10(svn r13035) -Codechange: remove two needless global-ish variables.rubidium
2008-05-10(svn r13034) -Fix: segmentation fault due do double delete when closing the ↵rubidium
OSK window in some cases.
2008-05-10(svn r13033) -Fix [FS#2003](r13029): land info tool wasn't workingsmatz
2008-05-10(svn r13032) -Codechange: make industry view window resizable and truncate ↵glx
strings
2008-05-10(svn r13031) -Codechange: make AssignWidgetToWindow a static function ↵rubidium
instead of a global one as it should only be used from window.cpp.
2008-05-10(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure ↵rubidium
that the pointer you are allocating to is NULL. Patch by Alberth.
2008-05-10(svn r13029) -Codechange: more work in the road to getting the WP macros and ↵rubidium
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.
2008-05-10(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the ↵rubidium
same thing.
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-10(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)belugas
2008-05-09(svn r13025) -Codechange: remove the need for two WindowEvents.rubidium
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-09(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- ↵peter1138
the original values were correct.
2008-05-08(svn r13022) -Fix: driver list wasn't freed, replace by statically allocated onesmatz
2008-05-08(svn r13021) -Codechange: free data_b for other uses when it is not used to ↵rubidium
store a second tile to skip to (in news messages). Patch by cirdan.
2008-05-08(svn r13020) -Codechange: make industry directory window horizontally ↵glx
resizable and truncate strings
2008-05-08(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)glx
2008-05-08(svn r13018) -Codechange: make a class of the LandInfo Window.rubidium
2008-05-08(svn r13016) -Codechange: unify the detection if rail catenary should be drawnsmatz
2008-05-08(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the ↵rubidium
.cpp files where they are actually used.
2008-05-08(svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warningsglx
2008-05-08(svn r13013) -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. ↵rubidium
This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling.
2008-05-08(svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another ↵rubidium
function...
2008-05-08(svn r13011) -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the ↵rubidium
place where it is used and remove some unneeded globalisations of some other PlaceProc functions.
2008-05-08(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.rubidium
2008-05-08(svn r13009) -Codechange: move more tile highlighting related ↵rubidium
functions/types to tilehighlight_*.h.
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-08(svn r13007) -Fix: some files in source.list where in the wrong category.rubidium
2008-05-08(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so ↵rubidium
move it to there.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-07(svn r13002) -Fix (r13001): [autoreplace] previous fix broke updating of a ↵bjarni
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)
2008-05-07(svn r13001) -Fix [FS#1994](r12913): [autoreplace] we should stop working on ↵bjarni
vehicles right away if we fail to replace them and certainly not presume their data is valid
2008-05-07(svn r13000) -Fix (r12991): broken win9x compilationglx
2008-05-07(svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click ↵rubidium
event, we should not send a click event to the now non-existant Window as that causes segfaults.
2008-05-07(svn r12998) -Fix: -Wredundant_decls sees "friend" declarations as redundant ↵rubidium
declarations in GCC 2.95, so only use if for GCC >= 3.
2008-05-07(svn r12996) -Fix: debugging was not possible with MSVC 2008glx
2008-05-07(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ ↵smatz
wrapper for CBlobT
2008-05-07(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirtysmatz
2008-05-07(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freedsmatz