summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
AgeCommit message (Collapse)Author
2008-01-06(svn r11768) -Codechange: move some terraform related gui stuff from ↵rubidium
main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin.
2008-01-04(svn r11759) -Feature: Add drag-n-drop support to the raise/lower land ↵peter1138
tools. Land is raised/lowered at the start and the rest of the area levelled to match. Patch by Roujin.
2008-01-01(svn r11739) -Fix [FS#1609]: Set the new scroll position after zooming in ↵peter1138
instead of before, as the zoom will cancel it out.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11711) -Codechange: Name the Save Load Dialog Mode enumbelugas
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
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-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
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-21(svn r11672) -Codechange: refactor some stuff out of gui.h.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
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-18(svn r11663) -Codechange: moving of the road related types and functions.rubidium
2007-12-17(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ↵smatz
ZoomLevel can be used in some iterations
2007-12-16(svn r11643) -Codechange: conform with the coding style for the WP macro uses.rubidium
2007-12-14(svn r11631) -Fix (r11585, r11626): remove MSVC warningsglx
2007-12-12(svn r11626) -Fix [FS#1529]: Pause state wasn't set correctly in multiplayer ↵skidd13
saves
2007-12-11(svn r11617) -Feature(ette): Add the same game-mode keyboard shortcuts in ↵belugas
scenario more.(Bilbo)
2007-12-08(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove ↵belugas
its now useless counterpart function
2007-12-08(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the ↵belugas
now useless RaiseWindowButtons function
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-15(svn r11440) -Codechange: replace magic numbers with enumified ↵rubidium
WindowHighlightMode constants. Patch by SmatZ.
2007-11-11(svn r11407) -Fix: do not allow building of tram-tracks when they are not ↵truelight
available (SmatZ)
2007-11-11(svn r11404) -Codechange: remove 2 magical numbersbelugas
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
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-09-26(svn r11174) -Codechange: add possibility to show the bounding boxes of ↵rubidium
sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch. Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
2007-09-04(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could ↵rubidium
remotely trigger an assertion.
2007-08-31(svn r11020) -Fix [FS#1174]: One could not give money when (s)he had too ↵rubidium
much money or rather: when casting the amount of money to an int32 becomes negative.
2007-08-27(svn r10991) -Codechange: add documentation, enumification and some code ↵rubidium
simplifications to the terraforming code. Patch by frosch.
2007-08-07(svn r10820) -Codechange: make negative currencies red and restore the ↵rubidium
colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies). -Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-07-29(svn r10724) -Fix (r10723): Toolbar spacing was off-by-onepeter1138
2007-07-29(svn r10723) -Codechange: dynamically sized (width) main toolbars and status ↵rubidium
bar for when the window becomes less than 640 pixels in width.
2007-07-29(svn r10722) -Codechange: unhardcode the positions of strings in the status bar.rubidium
2007-07-29(svn r10720) -Codechange: unhardcode the positions of the player toolbar menus.rubidium
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-23(svn r10663) -Fix r10662: bad me, didn't comply with coding style, as ↵truelight
penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p)