summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
AgeCommit message (Collapse)Author
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-16(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game ↵rubidium
year of the scenario, not the (starting) game year for new games/scenarios.
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-21(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windowsglx
2009-03-21(svn r15783) -Codechange: make the dropdown draw code pass around the ↵rubidium
left/right instead of the x and width to make drawing text at offsets easier.
2009-03-21(svn r15782) -Codechange: replace some calls to the all text drawing API to ↵rubidium
the new one.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-02(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making ↵rubidium
it possible to remove someone's tram tracks. -Feature: allow building road stops on road/tram tracks of competitors.
2009-02-11(svn r15448) -Codechange: Don't show rail types in selection drop downs if ↵peter1138
they have no label.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-09(svn r15424) -Codechange: make it possible to have multiple windows with ↵rubidium
edit box open simultaniously (Zuu).
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-24(svn r15254) -Fix (r15242): of course MSVC requires a castglx
2009-01-23(svn r15242) -Feature: allow moving clients between companies/spectators by ↵rubidium
the server and the clients themselves (dihedral)
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