Commit Graph

162 Commits (da78726e0c1758caa54abca6073089f552be1e81)

Author SHA1 Message Date
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 412f93b877 (svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
Yexo a7ff5d4aae (svn r15199) -Fix (r15190): The south point of the south-most tile wasn't highlighted during terraforming. 16 years ago
Yexo e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
Yexo bc5c4a2ae2 (svn r15151) -Fix: tile 0 can now be highlighted as error tile 16 years ago
Yexo 27507f91be (svn r15150) -Fix: Don't highlight tiles outside the visible map. 16 years ago
frosch 7014833641 (svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus) 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 66876e890f (svn r14947) -Fix [FS#2519]: vehicle following did not update the location from where to smooth scroll, thus any new viewport center would smooth scroll from the location where you were just before you started following the vehicle 16 years ago
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 16 years ago
rubidium 7a5798695d (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
rubidium 7b4fba0f89 (svn r14905) -Fix (r14899): in some corner cases already freed memory could be read. 16 years ago
rubidium 567b262901 (svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
16 years ago
smatz a1d3c90af9 (svn r14884) -Codechange: simplify code responsible for opening vehicle view windows 16 years ago
rubidium aa6c7e8574 (svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**. 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 7a2adef859 (svn r14806) -Fix: MarkAllViewportsDirty() didn't mark dirty whole area when zoomed out, visible by aircraft leaving trails sometimes 16 years ago
rubidium d3144b6f04 (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) 16 years ago
rubidium e7bb5c63a4 (svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation. 16 years ago
rubidium 3ee482ca1b (svn r14461) -Document: add some doxygen comments (Albert) 16 years ago
smatz d26e500ef4 (svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border could cause crash 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
frosch b588578bcc (svn r14409) -Codechange: Simplify a loop and correct a comment. 16 years ago
rubidium c358955127 (svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites. 16 years ago
smatz 2c58a87f4c (svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels 16 years ago
frosch a7bc5f2d0d (svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile. 16 years ago
belugas d096431936 (svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
16 years ago
smatz d097276022 (svn r13991) -Codechange: draw text effects after all other signs 16 years ago
frosch 196268b7ff (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 16 years ago
smatz 60cd53c375 (svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible 16 years ago
skidd13 ad9b19b77a (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
16 years ago
skidd13 1818d5c2e1 (svn r13573) -Codechange: Use smallvec class functions instead of class members 16 years ago
frosch e04e2822b8 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 16 years ago
smatz 4c7adc8009 (svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker) 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. 16 years ago
rubidium 4a3dd37582 (svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp. 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium 8560c8f16f (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium ad6e52080c (svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 2704b12f2b (svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly. 16 years ago
rubidium 6d880ada7f (svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows. 16 years ago
glx a1a04fcc61 (svn r13055) -Codechange: make a class of SmallMapWindow. 16 years ago
glx dacd2c5de8 (svn r13047) -Codechange: remove vp_d 16 years ago
rubidium 2ac412375c (svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme. 16 years ago
rubidium 8b9ffbe158 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago