Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-20 | (svn r4920) Remove parameters, which get only used in certain functions, by ↵ | tron | |
splitting those functions. At least in the case of checking for oil industry restrictions this makes the check conditions more clear. | |||
2006-05-07 | (svn r4765) Add GetTileMaxZ(), which returns the height of the highest ↵ | tron | |
corner of a tile, and use it to simplify the code in a few places | |||
2006-04-28 | (svn r4614) CodeChange : Cleanup of industry_cmd (Step-4). | belugas | |
Removing the _industry_type_costs in favor of IndustrySpec.cost_multiplier; In order to let industry_gui use the GetIndustrySpec accessor, some structs had to be moved in industry.h | |||
2006-04-26 | (svn r4584) CodeChange : Cleanup of industry_cmd (Step-3). | belugas | |
Renaming GetIndustrySpecification to GetIndustrySpec. Looks better. Removing the _industry_prod_up/down/close_strings in favor of IndustrySpec.closure/production_up/down_text; A few reformatting along the way. Work of tfc_team | |||
2006-04-26 | (svn r4578) CodeChange : Cleanup of industry_cmd (Step-2). | belugas | |
Removing the _industry_min_cargo[] in favor of IndustrySpec.minimal_cargo, IndustrySpec.a,b,c are now conflicting[], add an enum for IndustrySpec.checkproc Work of tfc_team | |||
2006-04-26 | (svn r4577) CodeChange : Cleanup of industry_cmd (Step-1). | belugas | |
Add an accessor to _industry_specs array. Work of tfc_team | |||
2006-04-26 | (svn r4576) Fix : Temperate bank will no longer appear (during game) in ↵ | belugas | |
tropic landscape. This bug is from the original game. | |||
2006-04-25 | (svn r4572) Remove vehicle_leave_tile_proc | tron | |
There's exactly one implemented function (unbarring a level crossing) and one place where it can be triggered (a train leaves a level crossing) It's a bit overkill, so just handle this one case where it can happen | |||
2006-04-24 | (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures ↵ | belugas | |
toguether. | |||
2006-04-23 | (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE} | tron | |
2006-04-23 | (svn r4541) Add a type for slopes and replace many magic numbers by the ↵ | tron | |
appropriate enums | |||
2006-04-18 | (svn r4471) - Pools: Add a facility for calling a custom function during ↵ | peter1138 | |
pool block clean up. | |||
2006-04-18 | (svn r4467) -Fix: New plantations now cause the correct ".. being planted ↵ | celestar | |
.." news item (MeusH) | |||
2006-04-15 | (svn r4425) Fix bug introduced in r4411 : while IS_BYTE_INSIDE, max value is ↵ | belugas | |
STRICKLY LESS THEN. This caused airports animations to stay unanimated. Industries were similarly affected. Thanks to Richk67 for finding it. Also, more Gfx define and use. | |||
2006-04-14 | (svn r4411) CodeChange : Define and use some Gfx for both stations and ↵ | belugas | |
industries. More are still to come Also, a bit of code cleaning, as pointed by Tron | |||
2006-04-12 | (svn r4399) CodeChange : Add and make use of [G|S]etIndustryAnimationLoop ↵ | belugas | |
accessors. | |||
2006-04-10 | (svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and ↵ | belugas | |
use IndustryGfx type instead of uint | |||
2006-04-10 | (svn r4347) CodeChange : Renamed IndustryType to IndustryLifeType. Cleanup ↵ | belugas | |
step toward bringing accessors [G|S]etIndustrype | |||
2006-04-10 | (svn r4346) CodeChange : Add and Use Accessors to Industry's Stage and ↵ | belugas | |
Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap | |||
2006-04-10 | (svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ ↵ | celestar | |
arrays to _industry_sections | |||
2006-04-10 | (svn r4342) Change the first two parameters of commands - virtual pixel ↵ | tron | |
coordinates of the tile to operate on - to a TileIndex Remove DoCommandByTile(), because now it does the same as DoCommand() | |||
2006-04-04 | (svn r4279) s/\<CL_/CLEAR_/ | tron | |
2006-04-04 | (svn r4270) Rename some bogus map5 to gfx | tron | |
2006-04-03 | (svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 ↵ | celestar | |
by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty | |||
2006-04-03 | (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE | celestar | |
2006-04-02 | (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo | tron | |
2006-03-30 | (svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. ↵ | belugas | |
Although it was an accessor, nor his usage nor the values were clear. | |||
2006-03-26 | (svn r4128) - CodeChange: Add proper semantics for CargoID for such ↵ | Darkvater | |
variables instead of using the general byte-type. | |||
2006-03-26 | (svn r4120) Use the new station functions where appropriate | tron | |
2006-03-25 | (svn r4108) Add [GS]etIndustryGfx() | tron | |
2006-03-24 | (svn r4092) CodeChange : Named sprites instead of magic numbers plus ↵ | belugas | |
create/use helper macro/enum for recoloring scheme | |||
2006-03-24 | (svn r4087) Add IsIndustryCompleted() to check if a industry tile is fully built | tron | |
2006-03-24 | (svn r4086) Add MakeIndustry() | tron | |
2006-03-24 | (svn r4077) Add GetIndustry{Index,ByTile}() to get the industry index resp. ↵ | tron | |
the industry from a tile | |||
2006-03-22 | (svn r4027) Remove another call to FindLandscapeHeightByTile() | tron | |
2006-03-22 | (svn r4007) Add a function to make a farm field tile | tron | |
2006-03-21 | (svn r4004) -CodeChange : Renaming sprites and functions | belugas | |
2006-03-21 | (svn r3996) -Fix: Slope and height information returned for some tile types ↵ | tron | |
is wrong This leads to graphical glitches when drawing foundations. This doesn't fix all problems, but at least some of them. | |||
2006-03-16 | (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space ↵ | Darkvater | |
reservation in savegames and update where used - Also add this capability to settings | |||
2006-03-09 | (svn r3805) - [FS#62] Fix doxygen comments to refer to the correct ↵ | peter1138 | |
parameter. (sulai) | |||
2006-03-08 | (svn r3783) Replace further ints and magic numbers by Direction, ↵ | tron | |
DiagDirection and friends | |||
2006-03-05 | (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme | tron | |
2006-02-28 | (svn r3683) Get rid of another FindLandscapeHeight() | tron | |
2006-02-20 | (svn r3627) - Change all hardcoded 255 max-saveload versions with the define ↵ | Darkvater | |
SL_MAX_VERSION | |||
2006-02-05 | (svn r3554) Add accessors for the field type and fences of clear tiles | tron | |
2006-02-01 | (svn r3514) -Codechange: Replace direct fiddling of bits for the ground type ↵ | tron | |
and density of clear tiles with symbolic names and accessors. See clear.h for details | |||
2006-02-01 | (svn r3511) More whitespace ([FS#46] by Rubidium) | tron | |
2006-01-22 | (svn r3416) - Fix: Disallow building an oil rig above sea level. | peter1138 | |
2006-01-05 | (svn r3365) Staticise 36 functions | tron | |
2005-12-10 | (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed() | peter1138 | |