rubidium
5f88e81641
(svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location.
18 years ago
rubidium
c7b1fd6fc2
(svn r7641) -Codechange: remove the last direct map accesses from industry_cmd.
18 years ago
rubidium
34bc8008d3
(svn r7640) -Codechange: move a table from industry_cmd.c to table/industry_land
...
-Codechange: add a reference to the industry GFX enum and some comments to the tables
-Codechange: remove some magic numbers
18 years ago
rubidium
6fdf0155bc
(svn r6433) -Codechange: replace some magic numbers (industry gfx indices) by enums.
18 years ago
rubidium
b1e2ae44d6
(svn r6005) -Cleanup: introduce IndustryID and use it
...
-Cleanup: use TownID and StationID for two instances of uint16
18 years ago
tron
2b27073156
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
19 years ago
belugas
7ab8b20faf
(svn r4614) CodeChange : Cleanup of industry_cmd (Step-4).
...
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
19 years ago
belugas
ea706f8ead
(svn r4425) Fix bug introduced in r4411 : while IS_BYTE_INSIDE, max value is 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.
19 years ago
belugas
e84d878213
(svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come
...
Also, a bit of code cleaning, as pointed by Tron
19 years ago
belugas
0a9d5f051f
(svn r4399) CodeChange : Add and make use of [G|S]etIndustryAnimationLoop accessors.
19 years ago
belugas
f1da549c10
(svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and use IndustryGfx type instead of uint
19 years ago
belugas
a972760294
(svn r4346) CodeChange : Add and Use Accessors to Industry's Stage and Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap
19 years ago
tron
7ad0d787e2
(svn r4166) Sprinkle several map accessors with assert()s
19 years ago
tron
0c581f8361
(svn r4108) Add [GS]etIndustryGfx()
19 years ago
tron
0977a8a04e
(svn r4087) Add IsIndustryCompleted() to check if a industry tile is fully built
19 years ago
tron
05bae48ef8
(svn r4086) Add MakeIndustry()
19 years ago
tron
4b0e8947d5
(svn r4077) Add GetIndustry{Index,ByTile}() to get the industry index resp. the industry from a tile
19 years ago