Commit Graph

212 Commits

Author SHA1 Message Date
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
rubidium 3fb1506d6d (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 2009-07-08 08:50:20 +00:00
rubidium 8275a98e1f (svn r16764) -Codechange: unify the way viewport signs are marked dirty 2009-07-08 08:30:35 +00:00
rubidium 3086383cdc (svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign 2009-07-07 16:51:20 +00:00
frosch 8cbf116c62 (svn r16536) -Fix (r16535): W != S 2009-06-08 15:44:11 +00:00
frosch 53a711ede0 (svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections. 2009-06-08 15:42:35 +00:00
frosch 8745a30971 (svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead. 2009-06-07 13:25:21 +00:00
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
smatz fc63e37616 (svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead 2009-04-26 10:21:50 +00:00
smatz f09807bfe1 (svn r16146) -Codechange: use faster algorithm in SetSelectionTilesDirty(). Up to 1000 times faster when large area is selected 2009-04-25 22:04:13 +00:00
rubidium ecdb5f46a7 (svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems to be primarily for OSX users though 2009-04-24 17:23:32 +00:00
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. 2009-04-21 23:40:56 +00:00
rubidium d02cdd91ca (svn r16095) -Change/Feature-ish: make the first 4 rail building tools behave more like autorail 2009-04-19 21:26:06 +00:00
rubidium 329cabab4f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 2009-04-19 10:31:30 +00:00
rubidium b66783afab (svn r16086) -Codechange: magic numbers substitutes by enums and some type safety 2009-04-18 21:10:36 +00:00
rubidium e2e95af945 (svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != right 2009-04-01 02:51:37 +00:00
rubidium 4012549c5e (svn r15824) -Fix: determine the actual length of the strings to draw in the viewport 2009-03-22 23:54:36 +00:00
rubidium 4eaf4e6182 (svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
-Codechange: use the new string drawing API for the viewport.
2009-03-22 09:43:00 +00:00
smatz af293142fe (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 2009-03-15 15:25:18 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
yexo dbec2ec628 (svn r15593) -Change: the background of the the waypoint sign is now in the company color. 2009-02-27 22:26:06 +00:00