summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-16(svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one.belugas
2008-04-14(svn r12705) -Codechange: enumification of some more widgetsbelugas
2008-04-14(svn r12704) -Codechange: code style cleanup, mostly switch case alignmentbelugas
2008-03-23(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own ↵rubidium
little neighbourhood. Based on a patch by Dominik.
2008-03-22(svn r12391) -Feature: Show whether a town is a "city" in the town ↵maedhros
description title bar.
2008-02-16(svn r12159) -Codechange: Enumify some widget magical numbersbelugas
-Cleanup: apply a bit of code style. Mostly re-indenting switch cases
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-16(svn r11643) -Codechange: conform with the coding style for the WP macro uses.rubidium
2007-12-08(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now ↵glx
done in *allocT functions.
2007-12-03(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and ↵skidd13
rename it fitting to the naming style
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-28(svn r11538) -Codechange: Rewrite GetNthSetBit in a more uncontroversial way ↵skidd13
and add its documentation
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-09-30(svn r11188) -Codechange: rewrite of the town action related code (remove ↵rubidium
some of the magic). -Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
2007-08-02(svn r10755) -Codechange: make the town struct use the pool item class as ↵rubidium
super class.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-06-25(svn r10323) -Codechange: reference company name, number and player ↵peter1138
(president) name by index
2007-06-23(svn r10291) -Fix [FS#920]: double click in town-GUI didn't work as expectedtruelight
2007-06-22(svn r10265) -Feature: allow double-clicking on certain places: ↵truelight
build-vehicle and town-action
2007-06-21(svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵rubidium
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
2007-06-21(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to ↵rubidium
place money in some string.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels
2007-04-04(svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost donebelugas
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-21(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and ↵maedhros
include that instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to players.cpp.
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)