Commit Graph

233 Commits

Author SHA1 Message Date
terkhen 88ca183191 (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium 5a836cdec7 (svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name 2010-07-19 17:00:54 +00:00
terkhen 51e6cb0a70 (svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse. 2010-07-11 10:55:57 +00:00
alberth 22b9bc5157 (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
frosch eb02ce0573 (svn r19942) -Fix [FS#3871](r19816): Vertical dragging of rail was broken. 2010-06-07 19:43:40 +00:00
frosch 4b7afccd46 (svn r19911) -Codechange: Simplify text drawing by eliminating global variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine(). 2010-05-30 15:32:37 +00:00
alberth 51e67a40e0 (svn r19909) -Doc: Typo fixes, small doxygen improvements. 2010-05-30 13:05:36 +00:00
alberth ce0e1cbb3f (svn r19905) -Codechange: Use EventState for mouse handling routines. 2010-05-30 12:15:28 +00:00
smatz 93233a9335 (svn r19870) -Codechange: silence some of GCC 3.3 warnings 2010-05-21 05:42:41 +00:00
rubidium 241dd9a9f5 (svn r19817) -Fix: MSVC compile warnings 2010-05-13 12:42:56 +00:00
rubidium 548dd91ef0 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 2010-05-13 11:19:30 +00:00
alberth 8d1d4267af (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 2010-05-07 20:39:00 +00:00
alberth 3bb174f424 (svn r19765) -Codechange: Apply a bit of code style and a bit of comment shuffling to CalcHeightdiff. 2010-05-07 20:20:03 +00:00
frosch 7563432119 (svn r19745) -Fix: The GUI is controlled by _local_company, not _current_company. 2010-05-01 14:20:56 +00:00
smatz e3c89df398 (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 2010-04-24 20:55:51 +00:00
frosch 2e90f7f8b9 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 2010-04-18 14:56:05 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
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. 2010-02-04 15:42:38 +00:00
terkhen 8849943da5 (svn r18984) -Add: Viewport place methods for dragging a line with limited size. 2010-02-01 23:13:15 +00:00
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
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. 2010-01-03 20:55:00 +00:00
rubidium b2e9b5d612 (svn r18683) -Fix: it's not an other 2010-01-01 18:45:40 +00:00
smatz fbaba4e6bd (svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns 2009-12-23 17:59:34 +00:00
rubidium b0603f4c2e (svn r18602) -Codechange: unify the viewport sign and text effect drawing
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
rubidium 5a41a646c2 (svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level 2009-11-30 11:29:52 +00:00
rubidium ff5b46190d (svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparent 2009-11-29 19:27:53 +00:00
frosch 8e85bb82e9 (svn r18246) -Codechange: Make signs and station/town names big font aware. 2009-11-22 20:56:39 +00:00
frosch ff5a1f4461 (svn r18245) -Codechange: Deduplicate code wrt. clicking on signs and station/town names. 2009-11-22 20:38:06 +00:00
frosch 4661abd33b (svn r18243) -Codechange: Deduplicate code wrt. drawing signs and station/town names. 2009-11-22 19:53:49 +00:00
rubidium d79439fb3c (svn r17963) -Codechange: some documentation style 2009-11-03 17:30:08 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium e9624fe0cc (svn r17682) -Codechange: remove erroneous space before some commas 2009-10-02 15:13:15 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium 1dc2284e0c (svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out. 2009-09-11 22:21:54 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth 4eb155ccfb (svn r17171) -Doc: Additions and corrections of various doxygen strings. 2009-08-14 18:41:03 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
frosch d51c4b6f6e (svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine. 2009-07-29 20:27:24 +00:00
alberth 75ccf9de3a (svn r16960) -Doc: Added some viewport and vehicle type doxygen strings. 2009-07-26 12:49:26 +00:00
rubidium 8e92d536d3 (svn r16950) -Codechange: unduplicate waypoint + station sign drawing 2009-07-25 10:56:36 +00:00
rubidium 65d4d8b46c (svn r16949) -Codechange: unify the way the DisplayOption enums are written 2009-07-25 10:54:42 +00:00
rubidium 4017439c37 (svn r16948) -Codechange: some code reductions and usage of wrapper functions 2009-07-25 10:39:58 +00:00
rubidium 803cf87885 (svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not 2009-07-24 07:38:10 +00:00
rubidium cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
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.
2009-07-22 08:59:57 +00:00
rubidium dea1144bcb (svn r16850) -Codechange: unify some naming of variables between waypoints and stations. 2009-07-16 20:15:28 +00:00
rubidium 2b1c43f81f (svn r16825) -Codechange: unify dirtying when updating the viewport signs. 2009-07-13 23:15:13 +00:00