summaryrefslogtreecommitdiff
path: root/table/build_industry.h
AgeCommit message (Collapse)Author
2006-10-29(svn r7001) -Codechange: _build_industry_trypes is now only used by ↵belugas
industry_gui.c. Move it there. -Codechange: _industry_type_cost is not defined, remove its declaration
2006-10-27(svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.belugas
Removed a loop that used the array _build_industry_types for that purpose.
2006-10-24(svn r6930) -Codechange: Move industry name into IndustrySpecbelugas
-Codechange: member color_map is more related to random color, rename it as such
2006-10-23(svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).belugas
Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array
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-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-24(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures ↵belugas
toguether.
2006-04-10(svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ ↵celestar
arrays to _industry_sections
2005-11-04(svn r3135) Use symbolic names in the tables, which hold the information ↵tron
about accepted goods of industry tiles, instead of magic numbers
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-05-11(svn r2290) - CodeChange: protect the next batch of commands. This brings us ↵Darkvater
to a total of 61, which is 53% :) - CodeChange: To correctly accept engine-prototypes, the best-player checking has been moved to its own function, I hope it functions the same as before. - CodeChange: Added symbolic types of PlayerID, OrderID and EngineID. For engines also added GetEngine() and IsEngineIndex(), similar to the other such functions. - CodeChange: To correctly build industries, some tables have been moved to build_industry.h. The only way to find out currently if an industry is valid in a climate is by looping all industries and checking if it matches. Also to comply with the patch setting build_rawmaterial_industries, it is assumed that these industries do not accept any cargo of any type. This can and probably should changed in the future to some flag in their struct. Also use _opt_ptr instead of _opt. - CodeChange: implemented the HQ checking code inspired by MarkR2 in "[ 1190944 ] Many commands not checked for security". Unfortunately it is impossible to prevent only deleting a HQ by a modified client atm. - CodeChange: For insert order and modify order their parameters are implicitely truncated to 8 bits, instead of the 16 bits said in the comments.
2005-01-06(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDifftron
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight