summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
AgeCommit message (Collapse)Author
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.....)
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-02-01(svn r8512) -Codechange: From the intro window enter the scenario editor. ↵Darkvater
From the scenario editor dialog, remove the 'load heightmap' option and put that with the other options like 'load scenario', 'save scenario', etc. Play a little bit with positioning of elements inside the scenario editor dialog so it looks better.
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-02-01(svn r8507) -Codechange/Feature: Don't remove player-owned property on-load ↵Darkvater
in the scenario editor. Add a button to the landscape window to do this.
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-21(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open ↵bjarni
all types of vehicle lists (depending on arguments) - Also removed some unneeded arguments - this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
2007-01-14(svn r8132) -Fix (r6824): The game could crash when the chat key (<ENTER>) ↵Darkvater
is pressed too vehemently during the join of the game. Your client's id does not exist in the clients list yet, and returns NULL.
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.