alberth
|
08c6b99294
|
(svn r21600) -Codechange: Remove new_drawstyle and new_diagonal variables from the _thd structure.
|
14 years ago |
alberth
|
50faf52cfc
|
(svn r21542) -Codechange (r14789): Handling a click at a tile once is enough.
|
14 years ago |
smatz
|
728220ec88
|
(svn r21531) -Fix: gcc 3.4 warning
|
14 years ago |
rubidium
|
20364bcefa
|
(svn r21501) -Fix (rnotlongago): guess what was complaining this time?
|
14 years ago |
rubidium
|
652e262601
|
(svn r21498) -Codechange: make the measurement tooltip handle diagonal selection properly
|
14 years ago |
rubidium
|
959308a243
|
(svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally
|
14 years ago |
rubidium
|
a029b2b83a
|
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
|
14 years ago |
alberth
|
ab50f74d7f
|
(svn r21273) -Codechange: Return values should start at the same line.
|
14 years ago |
alberth
|
7e48d85104
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
14 years ago |
alberth
|
83094e5e58
|
(svn r21020) -Add: Use center of waypoint in waypoint gui, if available.
|
14 years ago |
alberth
|
8f24ec9471
|
(svn r21018) -Doc: Add Doxygen comments to some function.
|
14 years ago |
alberth
|
af941fc598
|
(svn r21017) -Doc: Small fixes (by Krille).
|
14 years ago |
terkhen
|
92514c6b94
|
(svn r20891) -Fix [FS#4145]: Measurement tooltips for docks and tunnels were closed after a hover event.
|
14 years ago |
smatz
|
bb4538665a
|
(svn r20761) -Codechange: make PlaceObject() static
|
14 years ago |
smatz
|
15c2a2d555
|
(svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle()
|
14 years ago |
smatz
|
a282c3ab57
|
(svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active
|
14 years ago |
smatz
|
fd54943c7a
|
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
3fd1fc35e6
|
(svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled
|
14 years ago |
terkhen
|
80c43f52e8
|
(svn r20289) -Codechange: Unify fall through coding style.
|
14 years ago |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
terkhen
|
88ca183191
|
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
|
14 years ago |
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
14 years ago |
rubidium
|
b8487afe54
|
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
|
14 years ago |
rubidium
|
5a836cdec7
|
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
|
14 years ago |
terkhen
|
51e6cb0a70
|
(svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse.
|
14 years ago |
alberth
|
22b9bc5157
|
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
|
14 years ago |
frosch
|
eb02ce0573
|
(svn r19942) -Fix [FS#3871](r19816): Vertical dragging of rail was broken.
|
15 years ago |
frosch
|
4b7afccd46
|
(svn r19911) -Codechange: Simplify text drawing by eliminating global variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine().
|
15 years ago |
alberth
|
51e67a40e0
|
(svn r19909) -Doc: Typo fixes, small doxygen improvements.
|
15 years ago |
alberth
|
ce0e1cbb3f
|
(svn r19905) -Codechange: Use EventState for mouse handling routines.
|
15 years ago |
smatz
|
93233a9335
|
(svn r19870) -Codechange: silence some of GCC 3.3 warnings
|
15 years ago |
rubidium
|
241dd9a9f5
|
(svn r19817) -Fix: MSVC compile warnings
|
15 years ago |
rubidium
|
548dd91ef0
|
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
|
15 years ago |
alberth
|
8d1d4267af
|
(svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore).
|
15 years ago |
alberth
|
3bb174f424
|
(svn r19765) -Codechange: Apply a bit of code style and a bit of comment shuffling to CalcHeightdiff.
|
15 years ago |
frosch
|
7563432119
|
(svn r19745) -Fix: The GUI is controlled by _local_company, not _current_company.
|
15 years ago |
smatz
|
e3c89df398
|
(svn r19714) -Feature: ctrl+click on a vehicle to start/stop it
|
15 years ago |
frosch
|
2e90f7f8b9
|
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
|
15 years ago |
smatz
|
0ef33548c2
|
(svn r19614) -Codechange: "it's" => "its" where appropriate
|
15 years ago |
rubidium
|
fbb9b4760a
|
(svn r19005) -Codechange: make animated cursors have a bit set instead of using negative numbers that are passed as uints, then cast again to be compared as ints before being inverted to be actually used. Also fixes a couple of 'integer conversion resulted in truncation' warnings ICC spewed.
|
15 years ago |
terkhen
|
8849943da5
|
(svn r18984) -Add: Viewport place methods for dragging a line with limited size.
|
15 years ago |
rubidium
|
f94c83a387
|
(svn r18872) -Codechange: introduce PaletteID and use it
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
frosch
|
a9d4147eb2
|
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
|
15 years ago |
rubidium
|
b2e9b5d612
|
(svn r18683) -Fix: it's not an other
|
15 years ago |
smatz
|
fbaba4e6bd
|
(svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns
|
15 years ago |
rubidium
|
b0603f4c2e
|
(svn r18602) -Codechange: unify the viewport sign and text effect drawing
-Fix [FS#3394]: signs could occasionally glitch
|
15 years ago |
rubidium
|
5a41a646c2
|
(svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level
|
15 years ago |
rubidium
|
ff5b46190d
|
(svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparent
|
15 years ago |
frosch
|
8e85bb82e9
|
(svn r18246) -Codechange: Make signs and station/town names big font aware.
|
15 years ago |
frosch
|
ff5a1f4461
|
(svn r18245) -Codechange: Deduplicate code wrt. clicking on signs and station/town names.
|
15 years ago |
frosch
|
4661abd33b
|
(svn r18243) -Codechange: Deduplicate code wrt. drawing signs and station/town names.
|
15 years ago |
rubidium
|
d79439fb3c
|
(svn r17963) -Codechange: some documentation style
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
rubidium
|
e9624fe0cc
|
(svn r17682) -Codechange: remove erroneous space before some commas
|
15 years ago |
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
rubidium
|
1dc2284e0c
|
(svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out.
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
alberth
|
4eb155ccfb
|
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
|
15 years ago |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
frosch
|
d51c4b6f6e
|
(svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine.
|
15 years ago |
alberth
|
75ccf9de3a
|
(svn r16960) -Doc: Added some viewport and vehicle type doxygen strings.
|
15 years ago |
rubidium
|
8e92d536d3
|
(svn r16950) -Codechange: unduplicate waypoint + station sign drawing
|
15 years ago |
rubidium
|
65d4d8b46c
|
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
|
15 years ago |
rubidium
|
4017439c37
|
(svn r16948) -Codechange: some code reductions and usage of wrapper functions
|
15 years ago |
rubidium
|
803cf87885
|
(svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not
|
15 years ago |
rubidium
|
cb0409fe52
|
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
|
15 years ago |
rubidium
|
68ead6b84f
|
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
15 years ago |
rubidium
|
dea1144bcb
|
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
|
15 years ago |
rubidium
|
2b1c43f81f
|
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
|
15 years ago |
rubidium
|
3fb1506d6d
|
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
|
15 years ago |
rubidium
|
8275a98e1f
|
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
|
15 years ago |
rubidium
|
3086383cdc
|
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
|
15 years ago |
frosch
|
8cbf116c62
|
(svn r16536) -Fix (r16535): W != S
|
16 years ago |
frosch
|
53a711ede0
|
(svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections.
|
16 years ago |
frosch
|
8745a30971
|
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
|
16 years ago |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
smatz
|
fc63e37616
|
(svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead
|
16 years ago |
smatz
|
f09807bfe1
|
(svn r16146) -Codechange: use faster algorithm in SetSelectionTilesDirty(). Up to 1000 times faster when large area is selected
|
16 years ago |
rubidium
|
ecdb5f46a7
|
(svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems to be primarily for OSX users though
|
16 years ago |
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.
|
16 years ago |
rubidium
|
d02cdd91ca
|
(svn r16095) -Change/Feature-ish: make the first 4 rail building tools behave more like autorail
|
16 years ago |
rubidium
|
329cabab4f
|
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
|
16 years ago |
rubidium
|
b66783afab
|
(svn r16086) -Codechange: magic numbers substitutes by enums and some type safety
|
16 years ago |
rubidium
|
e2e95af945
|
(svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != right
|
16 years ago |
rubidium
|
4012549c5e
|
(svn r15824) -Fix: determine the actual length of the strings to draw in the viewport
|
16 years ago |
rubidium
|
4eaf4e6182
|
(svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
-Codechange: use the new string drawing API for the viewport.
|
16 years ago |
smatz
|
af293142fe
|
(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate
|
16 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
9d018723b7
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
16 years ago |
yexo
|
dbec2ec628
|
(svn r15593) -Change: the background of the the waypoint sign is now in the company color.
|
16 years ago |
rubidium
|
c0a8d09ca7
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
16 years ago |
rubidium
|
8dae160d0f
|
(svn r15425) -Codechange: some color->colour changes and type safety.
|
16 years ago |
rubidium
|
856f26e35b
|
(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
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
Yexo
|
0fa6e050e4
|
(svn r15199) -Fix (r15190): The south point of the south-most tile wasn't highlighted during terraforming.
|
16 years ago |
Yexo
|
db3ee34b44
|
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
|
16 years ago |
Yexo
|
8b04787d09
|
(svn r15151) -Fix: tile 0 can now be highlighted as error tile
|
16 years ago |
Yexo
|
49e69399a6
|
(svn r15150) -Fix: Don't highlight tiles outside the visible map.
|
16 years ago |
frosch
|
4780c73224
|
(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
|
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 |