Commit Graph

153 Commits (eb22e265f2883b10f31894a8b4b8580768ce32f9)

Author SHA1 Message Date
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium dc1f1664fd (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 cda853872a (svn r14944) -Cleanup: add spaces around some operators 16 years ago
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
rubidium c71862174a (svn r14905) -Fix (r14899): in some corner cases already freed memory could be read. 16 years ago
rubidium 84dee1e738 (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 1ada1a4ff2 (svn r14884) -Codechange: simplify code responsible for opening vehicle view windows 16 years ago
rubidium 19edb3ccc3 (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 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 21308de6cb (svn r14806) -Fix: MarkAllViewportsDirty() didn't mark dirty whole area when zoomed out, visible by aircraft leaving trails sometimes 16 years ago
rubidium 1357b0a4c2 (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 a999bb3227 (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 f1f5b248c2 (svn r14461) -Document: add some doxygen comments (Albert) 16 years ago
smatz b4a307d0bb (svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border could cause crash 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
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. 16 years ago
frosch a370f32c15 (svn r14409) -Codechange: Simplify a loop and correct a comment. 16 years ago
rubidium c8e8911ef6 (svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites. 16 years ago
smatz cbe397388f (svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels 16 years ago
frosch 5216223f45 (svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile. 16 years ago
belugas 77ee099212 (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 8fba4705f0 (svn r13991) -Codechange: draw text effects after all other signs 16 years ago
frosch 0fc769bb6c (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 16 years ago
smatz 5e2c2db235 (svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible 16 years ago
skidd13 2f65d35ead (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
17 years ago
skidd13 e7f2765f4c (svn r13573) -Codechange: Use smallvec class functions instead of class members 17 years ago
frosch 0fff18b044 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 17 years ago
smatz 421a040e89 (svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker) 17 years ago
rubidium 923e21129c (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
rubidium f2869bb7db (svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp. 17 years ago
rubidium 4625695653 (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.
17 years ago
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 17 years ago
rubidium 87015f5b63 (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. 17 years ago
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 17 years ago
rubidium c81a333cb6 (svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly. 17 years ago
rubidium 5ae795953a (svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows. 17 years ago
glx ad19bf105a (svn r13055) -Codechange: make a class of SmallMapWindow. 17 years ago
glx c708ab3b48 (svn r13047) -Codechange: remove vp_d 17 years ago
rubidium d24442ae8b (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. 17 years ago
rubidium cabd771fc0 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 17 years ago
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 17 years ago
rubidium 402a1e24ba (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 17 years ago
rubidium d03994098b (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
rubidium cb680474c3 (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 17 years ago
rubidium 24b5c91039 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 17 years ago
rubidium c84fe27ca9 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 17 years ago
rubidium 7edc9b65c6 (svn r12771) -Codechange: remove more from variables.h. 17 years ago
rubidium 9d8fa486af (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 17 years ago
rubidium c31287206d (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 17 years ago
rubidium 1367c90161 (svn r12741) -Codechange: do not allocate the viewport drawer each time on the stack, but only once and reuse this. 17 years ago