Commit Graph

227 Commits (3d329beb1b9a882fbc6530817a169ab6588e646f)

Author SHA1 Message Date
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