Commit Graph

137 Commits

Author SHA1 Message Date
rubidium 125d369c4e (svn r18083) -Codechange: make the small map GUI nested. 2009-11-14 20:56:25 +00:00
rubidium 517162cc45 (svn r18082) -Codechange: make it visually easier to see where the different legenda 'tables' are split + some typos 2009-11-14 20:34:46 +00:00
rubidium 66e1aafe5b (svn r18080) -Codechange: add some const to the smallmap 2009-11-14 17:47:05 +00:00
rubidium cbf4b80b86 (svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging 2009-11-09 16:05:24 +00:00
smatz 18d67f6442 (svn r17881) -Codechange: unify comment style in smallmap_gui.cpp a bit 2009-10-26 20:32:28 +00:00
smatz 5b8863ea57 (svn r17880) -Codechange: pass 'blitter' as parameter instead of determining it again in DrawSmallMapStuff() 2009-10-26 20:26:34 +00:00
rubidium ca0521f89f (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 2009-10-24 14:53:55 +00:00
rubidium 2f41c0411c (svn r17850) -Codechange: remove most usage of delta on OnResize 2009-10-24 09:47:02 +00:00
smatz 79906f7ffe (svn r17835) -Codechange: constify few variables 2009-10-20 22:17:39 +00:00
smatz 396d16e2ec (svn r17832) -Codechange: make Alberth happier 2009-10-20 21:27:44 +00:00
smatz 232d7bc4f4 (svn r17831) -Codechange: move code used for adding map indicators of the smallmap to separate functions 2009-10-20 21:26:56 +00:00
smatz b06da82c62 (svn r17829) -Codechange: move code used for adding vehicles and town names to minimap to separate functions 2009-10-20 20:57:30 +00:00
smatz 30ebe379c7 (svn r17825) -Change: 'animate' the 'center to current position' button in SmallMapWindow when pressed 2009-10-20 19:38:51 +00:00
smatz bfedac1166 (svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp to viewport_gui.cpp 2009-10-20 18:38:38 +00:00
smatz cfbf57a54f (svn r17821) -Codechange: make more mathods of SmallMapWindow private 2009-10-20 18:15:42 +00:00
smatz 49d0db19a4 (svn r17819) -Codechange: replace magic constant by symbolic constant 2009-10-20 17:36:06 +00:00
rubidium 5028e3536b (svn r17665) -Codechange: make the extra viewport window nested 2009-09-29 20:16:03 +00:00
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
rubidium ca91a97826 (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 2009-09-19 15:17:47 +00:00
rubidium 1dc2284e0c (svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out. 2009-09-11 22:21:54 +00:00
smatz ee685c8287 (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 2009-08-30 11:47:41 +00:00
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium 3fb1506d6d (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 2009-07-08 08:50:20 +00:00
rubidium 20f73b2f50 (svn r16579) -Codechange: rework smallmap code a bit; remove goto, remove some unneeded variables, return value directly instead of writing it to a variable to later return that 2009-06-16 10:46:11 +00:00
smatz 34f6b8614e (svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles 2009-05-30 20:44:34 +00:00
smatz 5a463c8347 (svn r16442) -Codechange: use new Vehicle accessors at more places 2009-05-26 22:45:48 +00:00
alberth dfbf698392 (svn r16193) -Codechange: Added nested widgets for smallmap and extra viewport windows. 2009-05-01 08:50:07 +00:00
alberth b1de51b8d6 (svn r16192) -Codechange: Moving smallmap and extra viewport widget enums out of the window structs, completing smallmap enum. 2009-05-01 08:48:07 +00:00
rubidium 7dd677ced2 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 2009-04-26 15:26:19 +00:00
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
rubidium e75e1e62cb (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 2009-03-22 14:55:49 +00:00
smatz af293142fe (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 2009-03-15 15:25:18 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium b1c105e77e (svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport. 2009-03-02 18:01:33 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
Yexo 01cc5234dc (svn r15201) -Fix [FS#2565] (r15190): The smallmap tried to get the owner of invalid tiles. 2009-01-21 23:49:59 +00:00
rubidium 61f19b6e3e (svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following 2009-01-09 23:28:28 +00:00
rubidium cda853872a (svn r14944) -Cleanup: add spaces around some operators 2009-01-09 22:56:28 +00:00
rubidium 13ee151a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 2008-11-07 18:02:46 +00:00
rubidium c7f3935506 (svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali) 2008-11-07 17:59:51 +00:00
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
rubidium 236c613365 (svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport". 2008-09-04 19:09:31 +00:00