Darkvater [Sat, 18 Nov 2006 16:47:02 +0000] rev 5124
(svn r7205) -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.
Darkvater [Sat, 18 Nov 2006 13:55:44 +0000] rev 5123
(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
Darkvater [Sat, 18 Nov 2006 13:54:33 +0000] rev 5122
(svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them
called from the appropiate places in window.c
Darkvater [Sat, 18 Nov 2006 00:44:09 +0000] rev 5121
(svn r7201) -Codechange: Use goto's to loop _windows when there is a change you need to start over
Darkvater [Sat, 18 Nov 2006 00:14:43 +0000] rev 5120
(svn r7200) -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)
Darkvater [Fri, 17 Nov 2006 23:29:22 +0000] rev 5119
(svn r7199) -Codechange: [utf8] Make strtolower and str_strip_colours UTF8 aware.
belugas [Fri, 17 Nov 2006 23:01:58 +0000] rev 5118
(svn r7198) -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.
rubidium [Fri, 17 Nov 2006 22:15:55 +0000] rev 5117
(svn r7196) -Feature: use fontconfig so one can set the font family name in openttd.cfg instead of the full path to the font.
KUDr [Fri, 17 Nov 2006 19:31:44 +0000] rev 5116
(svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
(original patch by maedhros, ideas: peter1138, Darkvater, Rubidium, Patrick, Eddi|zuHause, ..)
rubidium [Fri, 17 Nov 2006 18:06:40 +0000] rev 5115
(svn r7194) -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.