summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
AgeCommit message (Collapse)Author
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.
2007-06-10(svn r10085) -Fix [FS#839]: message that you had given money appeared even ↵rubidium
when an error occured.
2007-05-28(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled ↵peter1138
with patch setting 'smooth_scroll'
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-25(svn r9917) -Codechange: prepare some more areas for more road types. rubidium
2007-05-23(svn r9903) -Fix (r9901): Make the demolish and level land tools work in the ↵maedhros
scenario editor again.
2007-05-23(svn r9901) -Codechange: Decide what to do with selected land areas based on ↵maedhros
the specific variable, not how it was highlighted.
2007-05-23(svn r9900) -Codechange: Separate the variables for how to highlight a land ↵maedhros
area and what to do with it afterwards.
2007-05-21(svn r9897) -Codechange: prepare the toolbar for more road types.rubidium
2007-05-19(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgottentruelight
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-15(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the ↵truelight
obvious reasons -Codechange: introduced ZOOM_LVL_DETAIL to show/remove details -Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out) -Fix r9845: missed some int -> ZoomLevel
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels
2007-05-07(svn r9805) -Codechange: Use HASBIT() et al for display options bits.peter1138
2007-04-19(svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle ↵peter1138
all transparency, to keep its old behaviour.
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-04-18(svn r9667) -Feature: Add the concept of cities. A (configurable) proportion ↵maedhros
of towns can start off larger, and will grow twice as quickly as other towns. They can also be placed specifically in the scenario editor. Thanks to TheJosh for the initial patch and the idea.
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-11(svn r9597) -Codechange: Exclude sign transparency when toggling all options ↵peter1138
on/off
2007-04-11(svn r9595) -Fix (r9563): Transparency hotkeys didn't workpeter1138
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)