summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
AgeCommit message (Collapse)Author
2010-08-01(svn r20279) -Doc: Doxygen additions/improvements.alberth
2010-08-01(svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to ↵alberth
autoreplace_cmd.cpp.
2010-07-31(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the ↵alberth
function and two company globals.
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-06-13(svn r19979) -Codechange: Separate static loadable fields from Company into ↵frosch
separate struct.
2010-06-05(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in ↵frosch
sync during GUI operation.
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-04-14(svn r19636) -Fix: desync when taking over companiesrubidium
2010-04-12(svn r19615) -Fix [FS#3763]: Company related graphs weren't updated ↵terkhen
correctly after changing the company colour.
2010-03-14(svn r19414) -Doc: Several doxygen additions and corrections.alberth
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-07(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.alberth
2010-03-06(svn r19358) -Fix [FS#3663]: Close error messages about missing ownership ↵frosch
when the company closes or is taken over. (parts by Alberth).
2010-02-10(svn r19081) -Codechange: make it possible to disable compilation of the ↵rubidium
AI+Squirrel
2010-02-10(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()smatz
2010-01-27(svn r18931) -Fix: Disabling autoreplace rules might count invalid engines.frosch
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18784) -Codechange: make NetworkSend_Command accept a company instead ↵rubidium
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-11(svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the ↵rubidium
CommandCost it tests when you don't have enough money instead of setting a global variable.
2010-01-05(svn r18732) -Codechange: move the company related commands of misc_cmd.cpp ↵rubidium
to company_cmd.cpp
2010-01-04(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when ↵rubidium
trying to make one way roads of town owned roads
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-15(svn r18112) -Fix (rnewpool): crash when a company got removed and you had ↵rubidium
the company league window opened
2009-11-12(svn r18056) -Fix (r17737): compiling without networking failedrubidium
2009-11-02(svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/rubidium
2009-10-07(svn r17737) -Codechange: remove the chat window when you were chatting with ↵rubidium
someone who lost his/her connection or when you were team chatting and moved out of the company.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-22(svn r17611) -Fix: buffers used for verifying company and president name ↵smatz
length were too short, possibly causing false positives
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-14(svn r17542) -Fix: don't access variables in the company struct after it has ↵yexo
been deleted -Cleanup: remove some never-used code
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-09(svn r17487) -Fix: silence some MSVC warningsrubidium
2009-09-08(svn r17473) -Codechange: use the post destructor for destroying companies ↵rubidium
too instead of complicating the graph GUI invalidate code.
2009-09-03(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a ↵rubidium
virtual function
2009-09-02(svn r17379) -Codechange: make the performance rating window nested, ↵rubidium
although it still needs some improvements
2009-09-01(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt ↵rubidium
companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
2009-08-28(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first ↵yexo
available company slot causing other AIs to be started
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-09(svn r17132) -Fix: comments in company_cmd.cppsmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-03(svn r17051) -Codechange: make the graph legend window use nested widgetsrubidium
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-06-10(svn r16559) -Codechange: introduce Company::IsValidAiID() and ↵smatz
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-05-26(svn r16444) -Codechange: Set all company settings to their default value ↵yexo
for a new company instead of zeroing them.
2009-05-26(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it ↵yexo
with calls to CmdChangeCompanySetting
2009-05-26(svn r16429) -Change: Make the company settings behave like all others ↵yexo
settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-19(svn r16360) -Codechange: don't use _network_playas as a 'second' ↵rubidium
_local_company, but only as a storage location for the company you want to join in MP.