Commit Graph

171 Commits

Author SHA1 Message Date
rubidium 9758a76512 (svn r11411) -Codechange: implement random triggers for houses. 2007-11-11 17:58:05 +00:00
belugas f55fdfb7c4 (svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only.  The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-10 01:17:15 +00:00
rubidium 9d8c8c200e (svn r11225) -Fix: if a sprite shares the bounding box of another sprite, the offset is unsigned instead of signed. 2007-10-07 15:26:20 +00:00
rubidium a2256f6b0f (svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent. 2007-09-30 19:33:40 +00:00
rubidium 127c7c9b0f (svn r11173) -Codechange: rename some callback enums so they are more uniform. 2007-09-26 17:33:32 +00:00
maedhros df03734674 (svn r11149) -Fix [FS#1225]: Draw building stages for new house ground sprites. 2007-09-23 10:54:11 +00:00
rubidium c5cfb281ad (svn r11042) -Fix [FS#1196]: so newgrf callbacks returned slightly wrong heights (height of nothern corner instead of height of lowest corner). Patch by frosch. 2007-09-04 12:06:38 +00:00
belugas a079834cfc (svn r10968) -Codechange: Remove a tileloop performed in the AfterLoadCountBuildings function and use the main loop of CheckhouseIDs instead 2007-08-23 18:05:51 +00:00
rubidium d624f66c79 (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. 2007-07-26 16:51:10 +00:00
rubidium 02ab86631e (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code. 2007-07-26 14:07:11 +00:00
rubidium 9e3ee0e689 (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. 2007-07-25 19:06:29 +00:00
belugas 108ee9bc3e (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
2007-06-15 23:55:52 +00:00
belugas e8c6d57150 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 2007-06-08 17:54:18 +00:00
belugas a95fdc8bb5 (svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it 2007-06-05 01:49:08 +00:00
belugas 4af692558a (svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one. 2007-05-31 19:13:41 +00:00
peter1138 816d31f0aa (svn r9873) -Codechange: Add missing second callback parameter for houses 2007-05-19 09:13:08 +00:00
belugas 3fb4003534 (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00
peter1138 a2cec54c9d (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 2007-04-05 07:49:04 +00:00
belugas 06d3669bb5 (svn r9400) -Codechange: Use some more representative enum names for landscape types. 2007-03-22 03:42:43 +00:00
maedhros 48f2bf9bb1 (svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
2007-03-20 13:47:00 +00:00
maedhros 73ff939ddb (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00