summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
AgeCommit message (Collapse)Author
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.
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-31(svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there ↵smatz
are too many companies
2009-01-27(svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companiesglx
2009-01-27(svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue)smatz
2009-01-26(svn r15279) -Fix: deadlock (with wide fonts) or desync when generating ↵smatz
manager name
2009-01-24(svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymoresmatz