Commit Graph

208 Commits (be4dfdd709d649567d37120cce81cff5def5c3ff)

Author SHA1 Message Date
alberth b1fb1b253e (svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap. 15 years ago
alberth 0fd6f9732c (svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks. 15 years ago
alberth 0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth 38733e9870 (svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap. 15 years ago
alberth e57e4f788f (svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic. 15 years ago
alberth 17699167a8 (svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well. 15 years ago
alberth d4451d13a0 (svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments. 15 years ago
rubidium f49c1dcd78 (svn r18389) -Fix: some minor documentation alignment issues 15 years ago
rubidium 948512883b (svn r18332) -Fix: the MSVC compile warnings 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium ef4e936acb (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 15 years ago
rubidium 6d3fb6290e (svn r18173) -Codechange: make the smallmap RTL aware 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 7b0106da02 (svn r18087) -Codechange: remove NWID_LAYERED 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 2d24cb363f (svn r18083) -Codechange: make the small map GUI nested. 15 years ago
rubidium a66fe3c96c (svn r18082) -Codechange: make it visually easier to see where the different legenda 'tables' are split + some typos 15 years ago
rubidium ff81b32bad (svn r18080) -Codechange: add some const to the smallmap 15 years ago
rubidium b3394dbeb4 (svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging 15 years ago
smatz 1043abc176 (svn r17881) -Codechange: unify comment style in smallmap_gui.cpp a bit 15 years ago
smatz e895719e96 (svn r17880) -Codechange: pass 'blitter' as parameter instead of determining it again in DrawSmallMapStuff() 15 years ago
rubidium c1365b3cc1 (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. 15 years ago
rubidium 51936e1903 (svn r17850) -Codechange: remove most usage of delta on OnResize 15 years ago
smatz b124e9e874 (svn r17835) -Codechange: constify few variables 15 years ago
smatz 92b61b1a4a (svn r17832) -Codechange: make Alberth happier 15 years ago
smatz 0b213e866e (svn r17831) -Codechange: move code used for adding map indicators of the smallmap to separate functions 15 years ago
smatz 61474f5c1f (svn r17829) -Codechange: move code used for adding vehicles and town names to minimap to separate functions 15 years ago
smatz ecdbc151e9 (svn r17825) -Change: 'animate' the 'center to current position' button in SmallMapWindow when pressed 15 years ago
smatz bcc7da4aa1 (svn r17822) -Codechange: move 'extra viewport' code from smallmap_gui.cpp to viewport_gui.cpp 15 years ago
smatz 270aa78257 (svn r17821) -Codechange: make more mathods of SmallMapWindow private 15 years ago
smatz fef6d1057c (svn r17819) -Codechange: replace magic constant by symbolic constant 15 years ago
rubidium dea1f46636 (svn r17665) -Codechange: make the extra viewport window nested 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
rubidium 2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
rubidium da2008ae23 (svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out. 15 years ago
smatz 09e1ecc8ac (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 770ad0c022 (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium 2df1a2119c (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 16 years ago
smatz e4cbd54748 (svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles 16 years ago
smatz e419fe6d3f (svn r16442) -Codechange: use new Vehicle accessors at more places 16 years ago
alberth 0393a0dea9 (svn r16193) -Codechange: Added nested widgets for smallmap and extra viewport windows. 16 years ago
alberth 6bbfae998a (svn r16192) -Codechange: Moving smallmap and extra viewport widget enums out of the window structs, completing smallmap enum. 16 years ago
rubidium 3bd4eeb178 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 16 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 16 years ago
rubidium 5c5b357043 (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. 16 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 16 years ago
rubidium 6d3745a924 (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 16 years ago
smatz d28895c88b (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 83888098db (svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
Yexo 6126db001e (svn r15201) -Fix [FS#2565] (r15190): The smallmap tried to get the owner of invalid tiles. 16 years ago
rubidium 48c97558f7 (svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following 16 years ago
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 16 years ago
rubidium 27187e5a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 16 years ago
rubidium 0b3706a8d3 (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) 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium dd927661cf (svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport". 16 years ago
peter1138 b1dd8f9334 (svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum 16 years ago
peter1138 8018aeac9f (svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space. 16 years ago
peter1138 f02671e0f4 (svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height. 16 years ago
peter1138 85accd400b (svn r13980) -Codechange: Turn small map legend while loop into a for-loop. 16 years ago
peter1138 99771c63ba (svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area. 16 years ago
peter1138 efcc875036 (svn r13978) -Fix: Incorrect widget size. 16 years ago
peter1138 6e4144f84b (svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window. 16 years ago
peter1138 755b149902 (svn r13921) -Codechange (r11473): Use the correct enum... 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 17 years ago
peter1138 48e20d8012 (svn r13323) -Codechange: scrollbars are not refresh counters 17 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 17 years ago
frosch 8f104a2e97 (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
17 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 17 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 17 years ago
rubidium a7db265bb6 (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 17 years ago
glx 9f11d3089a (svn r13058) -Codechange: make a class of the ExtraViewportWindow. 17 years ago
glx a1a04fcc61 (svn r13055) -Codechange: make a class of SmallMapWindow. 17 years ago
glx dacd2c5de8 (svn r13047) -Codechange: remove vp_d 17 years ago
rubidium f710876037 (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 17 years ago
rubidium 0f7d925121 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 17 years ago
rubidium 11d36d5e46 (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 17 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 17 years ago
rubidium c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 17 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 17 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 17 years ago
peter1138 78c0929b18 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. 17 years ago
rubidium 40b19f3997 (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. 17 years ago