summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
AgeCommit message (Collapse)Author
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.
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-16(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI ↵yexo
companies to the default values, not to 0 or the local settings
2009-05-15(svn r16315) -Codechange: move the autorenew settings to a new ↵yexo
CompanySettings struct
2009-05-13(svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a ↵yexo
new company in multiplayer
2009-05-12(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settingsyexo
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-13(svn r15704) -Cleanup: remove further includes from recently split filessmatz
2009-02-25(svn r15584) -Codechange: Move several variables from variables.h to more ↵yexo
appropriate headers.