Commit Graph

64 Commits

Author SHA1 Message Date
rubidium 9706c32ed6 (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 2007-09-04 11:58:27 +00:00
rubidium 3fa5559cfc (svn r11020) -Fix [FS#1174]: One could not give money when (s)he had too much money or rather: when casting the amount of money to an int32 becomes negative. 2007-08-31 17:38:29 +00:00
rubidium 5ce935c6eb (svn r10991) -Codechange: add documentation, enumification and some code simplifications to the terraforming code. Patch by frosch. 2007-08-27 21:18:04 +00:00
rubidium c46e445e69 (svn r10820) -Codechange: make negative currencies red and restore the 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-08-07 15:20:31 +00:00
peter1138 279ed3a9c1 (svn r10724) -Fix (r10723): Toolbar spacing was off-by-one 2007-07-29 16:43:58 +00:00
rubidium 26c62dc5c0 (svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width. 2007-07-29 15:48:43 +00:00
rubidium ab37af1da5 (svn r10722) -Codechange: unhardcode the positions of strings in the status bar. 2007-07-29 14:06:53 +00:00
rubidium 8ccb6c2d17 (svn r10720) -Codechange: unhardcode the positions of the player toolbar menus. 2007-07-29 14:01:22 +00:00
rubidium c03cb2c8db (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 2007-07-27 12:49:04 +00:00
truelight 155b912ebb (svn r10663) -Fix r10662: bad me, didn't comply with coding style, as penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p) 2007-07-23 16:48:19 +00:00
truelight ef0be0e1dc (svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)
-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-23 16:39:27 +00:00
rubidium efc7fdf2fd (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 2007-07-16 09:16:58 +00:00
truelight 84303d0396 (svn r10548) -Fix [FS#1020]: don't segfault when you quit in the end-of-the-game screen 2007-07-13 15:02:22 +00:00
belugas a5da0e6609 (svn r10496) -Feature: Replace all the windows for Industry building by a 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-10 00:59:00 +00:00
maedhros fc3764ef4b (svn r10480) -Fix: Don't allow building lighthouses and transmitters under bridges in the scenario editor, or during world generation. 2007-07-08 18:40:15 +00:00
peter1138 f3aebc411d (svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC) 2007-06-30 17:51:50 +00:00
peter1138 9043900ed6 (svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor 2007-06-30 11:28:26 +00:00
rubidium 52fbdd62a2 (svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of 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-27 14:15:48 +00:00
peter1138 eb6594caa8 (svn r10323) -Codechange: reference company name, number and player (president) name
by index
2007-06-25 13:30:38 +00:00
peter1138 fd73ea2058 (svn r10321) -Codechange: refer to sign text by index 2007-06-25 10:40:56 +00:00
truelight 62cb041238 (svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) (Smoovious) 2007-06-23 14:17:31 +00:00
truelight cc533d77e5 (svn r10271) -Fix r9563: move the Transparency Option menu item to the place it should have been in the first place: Option Menu, not Map Menu (go figure :p) 2007-06-22 18:43:11 +00:00
rubidium 9c0944aa09 (svn r10258) -Codechange: as we are now using int64 all over the place, it's 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 17:25:17 +00:00
rubidium eb1472a82d (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string. 2007-06-21 14:54:51 +00:00
rubidium f806b46cc9 (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. 2007-06-21 14:32:27 +00:00
rubidium 2ee73b50b8 (svn r10208) -Codechange: replace int32 with Money where appropriate. 2007-06-18 21:44:47 +00:00
rubidium 7a72dcb3b5 (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money. 2007-06-18 21:00:14 +00:00
rubidium 197a8fd5f3 (svn r10145) -Fix: make compiling with networking disabled (again) possible. 2007-06-13 17:34:05 +00:00
maedhros 3e326085fa (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
2007-06-11 14:00:16 +00:00
rubidium 5f5ab6cc87 (svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could result in duplicate messages that money has been transfered when it only happened once. 2007-06-10 21:34:45 +00:00
rubidium a0ffa793cc (svn r10085) -Fix [FS#839]: message that you had given money appeared even when an error occured. 2007-06-10 20:49:11 +00:00
peter1138 344e9007fe (svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll' 2007-05-28 16:46:16 +00:00
rubidium 17390241e6 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 2007-05-25 22:07:40 +00:00
rubidium 0819f3a9a0 (svn r9917) -Codechange: prepare some more areas for more road types. 2007-05-25 08:13:01 +00:00
maedhros b67d9e0a49 (svn r9903) -Fix (r9901): Make the demolish and level land tools work in the scenario editor again. 2007-05-23 14:43:47 +00:00
maedhros 35ce34d55a (svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted. 2007-05-23 13:52:10 +00:00
maedhros ca5c578d0f (svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards. 2007-05-23 12:45:56 +00:00
rubidium b7748a686e (svn r9897) -Codechange: prepare the toolbar for more road types. 2007-05-21 21:58:31 +00:00
truelight 49aa3bedfb (svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-19 23:52:04 +00:00
truelight 765c466b8d (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the 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 16:08:46 +00:00
truelight d3f375231f (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
2007-05-15 14:08:39 +00:00
peter1138 0de85b7eb0 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 2007-05-07 11:24:23 +00:00
peter1138 0552b19225 (svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour. 2007-04-19 17:54:45 +00:00
rubidium 2dc5589290 (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 2007-04-18 22:41:53 +00:00
maedhros 16a948a463 (svn r9667) -Feature: Add the concept of cities. A (configurable) proportion 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-18 14:23:30 +00:00
belugas 607a55f4ec (svn r9662) -Documentation: Doxygen corrections and @file omissions 2007-04-17 20:23:13 +00:00
peter1138 91c407bd37 (svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off 2007-04-11 20:14:11 +00:00
peter1138 9e967ed6bf (svn r9595) -Fix (r9563): Transparency hotkeys didn't work 2007-04-11 20:03:05 +00:00
peter1138 a2cec54c9d (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 2007-04-05 07:49:04 +00:00
belugas 06d3669bb5 (svn r9400) -Codechange: Use some more representative enum names for landscape types. 2007-03-22 03:42:43 +00:00