summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
AgeCommit message (Collapse)Author
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)
2007-07-23(svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)truelight
-Add: added 'M' as new shortcut for smallmap (bilbo) -Add: added '+' and '-' as shortcuts to zoom in the mainview (bilbo) -Add: added support for other keycodes to be possible used in the future (bilbo)
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-13(svn r10548) -Fix [FS#1020]: don't segfault when you quit in the ↵truelight
end-of-the-game screen
2007-07-10(svn r10496) -Feature: Replace all the windows for Industry building by a ↵belugas
more flexible one. Thanks to Csaboka (from TTDPatch dev team) for his hints and original design (which i've found while it was halfway done, so i could make it more compliant ;)). Don't expect it to be a carbon-copy though. A few differences can be found here and there. Thanks to Rubidium for his helping hand. Hope you will like it as we do :)
2007-07-08(svn r10480) -Fix: Don't allow building lighthouses and transmitters under ↵maedhros
bridges in the scenario editor, or during world generation.
2007-06-30(svn r10401) -Feature: new sign editor features including switching to ↵peter1138
previous/next sign (XeryusTC)
2007-06-30(svn r10398) -Fix (r10271): transparency menu option wasn't moved properly ↵peter1138
in the scenario editor
2007-06-27(svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of ↵rubidium
infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
2007-06-25(svn r10323) -Codechange: reference company name, number and player ↵peter1138
(president) name by index
2007-06-25(svn r10321) -Codechange: refer to sign text by indexpeter1138
2007-06-23(svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) ↵truelight
(Smoovious)
2007-06-22(svn r10271) -Fix r9563: move the Transparency Option menu item to the place ↵truelight
it should have been in the first place: Option Menu, not Map Menu (go figure :p)
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-06-18(svn r10208) -Codechange: replace int32 with Money where appropriate.rubidium
2007-06-18(svn r10207) -Codechange: remove the redundant player_money in favour of the ↵rubidium
money64, which is now renamed to player_money.
2007-06-13(svn r10145) -Fix: make compiling with networking disabled (again) possible.rubidium
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-10(svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could ↵rubidium
result in duplicate messages that money has been transfered when it only happened once.