|
rubidium
|
r5318:cd75c4b3f21e
|
18 years ago
|
|
|
|
KUDr
|
r5075:4e92bba31ab5
|
18 years ago
|
|
|
|
KUDr
|
r5074:25e04bb2c881
|
18 years ago
|
|
|
|
belugas
|
r4995:1c959f26648b
|
18 years ago
|
|
(svn r7001) -Codechange: _build_industry_trypes is now only used by industry_gui.c. Move it there. -Codechange: _industry_type_cost is not defined, remove its declaration
|
|
belugas
|
r4965:a4c44ae0ea0f
|
18 years ago
|
|
(svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec. Removed a loop that used the array _build_industry_types for that purpose.
|
|
belugas
|
r4942:0fc66417d98b
|
18 years ago
|
|
(svn r6930) -Codechange: Move industry name into IndustrySpec -Codechange: member color_map is more related to random color, rename it as such
|
|
belugas
|
r4924:047938e059a9
|
18 years ago
|
|
(svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5). Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array
|
|
tron
|
r3877:c0e9cf5b0329
|
18 years ago
|
|
(svn r4920) Remove parameters, which get only used in certain functions, by splitting those functions. At least in the case of checking for oil industry restrictions this makes the check conditions more clear.
|
|
belugas
|
r3689:445f66c2333d
|
18 years ago
|
|
(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
|
|
belugas
|
r3669:6c54dfa7ae46
|
18 years ago
|
|
(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3). 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
|
|
belugas
|
r3663:faa6c3affaf3
|
18 years ago
|
|
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2). 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
|
|
belugas
|
r3662:7232cd353d38
|
18 years ago
|
|
(svn r4577) CodeChange : Cleanup of industry_cmd (Step-1). Add an accessor to _industry_specs array. Work of tfc_team
|
|
belugas
|
r3654:83eca8525ed0
|
18 years ago
|
|
|
|
celestar
|
r3494:2f1d3aa1ce24
|
19 years ago
|
|
|
|
tron
|
r2598:a1395d9b941e
|
19 years ago
|
|
|
|
tron
|
r2186:5ee653b1b5e1
|
19 years ago
|
|
|
|
Darkvater
|
r1786:f4dff9cc496a
|
19 years ago
|
|
(svn r2290) - CodeChange: protect the next batch of commands. This brings us 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.
|
|
tron
|
r909:898755bd4512
|
20 years ago
|
|
|
|
truelight
|
r0:d63b455452f6
|
20 years ago
|
|
|