summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
AgeCommit message (Collapse)Author
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-09(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main ↵smatz
toolbar, not after finishing the selection
2008-08-28(svn r14181) -Fix (r14175): Rail types are not road typespeter1138
2008-08-25(svn r14175) -Codechange: Rewrite the main toolbars to use the standard ↵peter1138
dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication.
2008-08-03(svn r13970) -Codechange: Replace numbers with Colours enum on network, ↵belugas
toolbar and dropdown guis. Mostly forgotten ones.
2008-08-02(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 ↵belugas
assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-03(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks ↵belugas
like enums can not be easily matched :(
2008-07-01(svn r13670) -Codechange : Merge some very alike events handlers.belugas
2008-06-30(svn r13663) -Codechange: Use a default parameter, hoping to reduce the ↵belugas
different signatures of functions in menus
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-06-27(svn r13646) -Change: typos and miss-aligned enum valuesbelugas
2008-06-27(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to ↵belugas
not care, but some other compilers do. Thanks to glx :)
2008-06-27(svn r13643) -Codechange: Enumify some loosely related values been used in ↵belugas
the toolbar resizing processes
2008-06-26(svn r13642) -Documentation: Add the enum values to the widget arrays, in ↵belugas
concordance with code style
2008-06-26(svn r13641) -Fix: Misleading enum name.belugas
2008-06-25(svn r13628) -Feature: enable building of aqueducts in the scenario editorskidd13
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-06-21(svn r13597) -Codechange: Enumification of the Map menu items.belugas
The rework allowed to remove a function, by merging two quite similar ones.
2008-06-20(svn r13590) -Codechange: Enumification of the Save/Load menu itemsbelugas
2008-06-19(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. ↵belugas
Makes it a bit clearer, don't you think?
2008-06-19(svn r13586) -Codechange: Using default parameter, for cases where there are ↵belugas
few exceptions.
2008-06-18(svn r13562) -Codechange: Yet another enumification, which required a bit of ↵belugas
explanation/documentation of a trickery some would call a hack
2008-06-18(svn r13561) -Codechange: two more enumifications of widgetsbelugas
2008-06-18(svn r13560) -Fix(r13550): This section widget_count did not required to be ↵belugas
lowered. So small revert
2008-06-17(svn r13559) -Codechange: Enumification of the Options menu itemsbelugas
2008-06-17(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value ↵belugas
as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
2008-06-17(svn r13543) -Codechange: Enumification of the InGame toolbar and some ↵belugas
leftovers of scenario editor one. Still more go do
2008-06-17(svn r13542) -Codechange: Less a few more magic numbers and a code a bit ↵belugas
more adaptable, still
2008-06-17(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.belugas
2008-06-17(svn r13540) -Codechange: Less a magic number and a more adaptable codebelugas
2008-06-16(svn r13536) -Codechange: Bit shifting is not really required when you know ↵belugas
exactly the value to use. Even more when it's a parameter.
2008-06-14(svn r13515) -Codechange: Widget enumification for scenario editorbelugas
2008-06-14(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)belugas
2008-06-13(svn r13504) -Codechange: enumify some widgets for scenario editor. More ↵belugas
work is required.
2008-06-13(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers ↵belugas
were assigned to the zoom in and out buttons in the scenario editor
2008-05-29(svn r13339) -Feature: splitting of the main toolbar when the resolution ↵rubidium
becomes very low so the buttons are still visible and useable. Patch by Dominik.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-22(svn r13208) -Fix (r13173): it was possible to open invalid submenu from ↵smatz
dropdowns
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario ↵smatz
Editor, too
2008-05-19(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, ↵smatz
it was always positioned on the right side
2008-05-18(svn r13173) -Codechange: make windows of the main toolbars.rubidium
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.